]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Staging: unisys: Fix noderef sparse warnings in vbusdeviceinfo.h
authorKen Cox <jkc@redhat.com>
Thu, 3 Jul 2014 15:02:18 +0000 (10:02 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Jul 2014 22:38:47 +0000 (15:38 -0700)
commite4c293c9a343929bb2c7d1717c8e60a43231dd64
treec0c61136b63daafce1dc0fb4a9f74ac9b0a9d580
parentb7801a2e6bf4013ab9eefa5ed11e94246cdf86bb
Staging: unisys: Fix noderef sparse warnings in vbusdeviceinfo.h

vbuschannel_devinfo_to_string() was declared with the devinfo argument
as a pointer to __iomem space.  No callers of this function need the
__iomem space, so I removed that constraint.

Same thing goes for vbuschannel_sanitize_buffer().  It doesn't need to
operate on I/O space.

Signed-off-by: Ken Cox <jkc@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/common-spar/include/vbusdeviceinfo.h