Skip to content

Commit

Permalink
staging/fwserial: Annotate rcu pointers with __rcu
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Peter Hurley authored and Greg Kroah-Hartman committed Jan 31, 2013
1 parent 0d145a5 commit 1aedfa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/fwserial/fwserial.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1aedfa8

Please sign in to comment.