diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2013-01-30 17:44:16 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-31 10:30:34 +0100 |
commit | 1aedfa8f25c13a2f5428cb1b0f806e04121cbef5 (patch) | |
tree | 49ecd5e6d1730a8bd4a6e1166b03f42b3564df86 /drivers/staging/fwserial | |
parent | 0d145a501778042d0411c843ed5b468b41f8a171 (diff) | |
download | linux-1aedfa8f25c13a2f5428cb1b0f806e04121cbef5.tar.gz linux-1aedfa8f25c13a2f5428cb1b0f806e04121cbef5.tar.bz2 linux-1aedfa8f25c13a2f5428cb1b0f806e04121cbef5.zip |
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/fwserial')
-rw-r--r-- | drivers/staging/fwserial/fwserial.h | 2 |
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; |