mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 02:19:51 +00:00
staging/fwserial: Annotate rcu pointers with __rcu
Fixes these sparse warnings: drivers/staging/fwserial/fwserial.c:430:16: sparse: incompatible types in comparison expression (different address spaces) drivers/staging/fwserial/fwserial.c:699:30: sparse: incompatible types in comparison expression (different address spaces) drivers/staging/fwserial/fwserial.c:802:16: sparse: incompatible types in comparison expression (different address spaces) drivers/staging/fwserial/fwserial.c:898:16: sparse: incompatible types in comparison expression (different address spaces) drivers/staging/fwserial/fwserial.c:1842:14: sparse: incompatible types in comparison expression (different address spaces) Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
0d145a5017
commit
1aedfa8f25
1 changed files with 1 additions and 1 deletions
|
@ -280,7 +280,7 @@ struct fwtty_port {
|
|||
loopback:1;
|
||||
unsigned long flags;
|
||||
|
||||
struct fwtty_peer *peer;
|
||||
struct fwtty_peer __rcu *peer;
|
||||
|
||||
struct async_icount icount;
|
||||
struct stats stats;
|
||||
|
|
Loading…
Reference in a new issue