summaryrefslogtreecommitdiff
path: root/drivers/staging
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2013-01-31 02:44:16 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-31 13:30:34 +0400
commit1aedfa8f25c13a2f5428cb1b0f806e04121cbef5 (patch)
tree49ecd5e6d1730a8bd4a6e1166b03f42b3564df86 /drivers/staging
parent0d145a501778042d0411c843ed5b468b41f8a171 (diff)
downloadlinux-1aedfa8f25c13a2f5428cb1b0f806e04121cbef5.tar.xz
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>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/fwserial/fwserial.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/fwserial/fwserial.h b/drivers/staging/fwserial/fwserial.h
index 33a3a53a47ff..514f57173259 100644
--- a/drivers/staging/fwserial/fwserial.h
+++ b/drivers/staging/fwserial/fwserial.h
@@ -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;