Skip to content

Commit 1aedfa8

Browse files
peterhurleygregkh
authored andcommitted
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>
1 parent 0d145a5 commit 1aedfa8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/staging/fwserial/fwserial.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ struct fwtty_port {
280280
loopback:1;
281281
unsigned long flags;
282282

283-
struct fwtty_peer *peer;
283+
struct fwtty_peer __rcu *peer;
284284

285285
struct async_icount icount;
286286
struct stats stats;

0 commit comments

Comments
 (0)