From: Erik Arfvidson <erik.arfvid...@unisys.com>

This patch changes unsigned long to u32 in channel.h

Signed-off-by: Erik Arfvidson <erik.arfvid...@unisys.com>
Signed-off-by: Benjamin Romer <benjamin.ro...@unisys.com>
---
 drivers/staging/unisys/common-spar/include/channels/channel.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/unisys/common-spar/include/channels/channel.h 
b/drivers/staging/unisys/common-spar/include/channels/channel.h
index 5247204..0f0e516 100644
--- a/drivers/staging/unisys/common-spar/include/channels/channel.h
+++ b/drivers/staging/unisys/common-spar/include/channels/channel.h
@@ -317,8 +317,8 @@ spar_check_channel_client(void __iomem *ch,
        }
        if (expected_version > 0) {     /* caller wants us to verify
                                         * channel version */
-               unsigned long ver = readl(&((struct channel_header __iomem *)
-                                   (ch))->version_id);
+               u32 ver = readl(&((struct channel_header __iomem *)
+                                 (ch))->version_id);
                if (ver != expected_version) {
                        return 0;
                }
-- 
2.1.0

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to