]> git.baikalelectronics.ru Git - kernel.git/commit
staging: unisys: visorbus: Remove pointer cast that causes sparse warning
authorDavid Binder <david.binder@unisys.com>
Fri, 17 Mar 2017 15:27:11 +0000 (11:27 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Mar 2017 06:58:46 +0000 (07:58 +0100)
commita300f41d9f007d9cfcf9206a6a3d3dab53a4b47d
treea6250c0b914e458ce4d99dc98fe25c6b30272d9a
parent882cb36e8518d80530b452cc3f3b5aa1eeae2759
staging: unisys: visorbus: Remove pointer cast that causes sparse warning

Removes unnecessary cast of to __iomem of a non-io-mapped pointer, thereby
eliminating the following sparse warning:

visorchannel.c:159:17: warning: cast adds address space to expression (<asn:2>)

Signed-off-by: David Binder <david.binder@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Reviewed-by: Tim Sell <timothy.sell@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorbus_private.h
drivers/staging/unisys/visorbus/visorchannel.c