[PATCH 2/3] staging: unisys: change unsigned long long to u64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Erik Arfvidson <erik.arfvidson@xxxxxxxxxx>

This patch changes unsigned long long to u64 in channel.h.

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

diff --git a/drivers/staging/unisys/common-spar/include/channels/channel.h b/drivers/staging/unisys/common-spar/include/channels/channel.h
index 653bcca..5247204 100644
--- a/drivers/staging/unisys/common-spar/include/channels/channel.h
+++ b/drivers/staging/unisys/common-spar/include/channels/channel.h
@@ -309,9 +309,8 @@ spar_check_channel_client(void __iomem *ch,
 	}
 	if (expected_min_bytes > 0) {	/* caller wants us to verify
 					 * channel size */
-		unsigned long long bytes =
-				readq(&((struct channel_header __iomem *)
-					(ch))->size);
+		u64 bytes = readq(&((struct channel_header __iomem *)
+				   (ch))->size);
 		if (bytes < expected_min_bytes) {
 			return 0;
 		}
@@ -326,9 +325,8 @@ spar_check_channel_client(void __iomem *ch,
 	}
 	if (expected_signature > 0) {	/* caller wants us to verify
 					 * channel signature */
-		unsigned long long sig =
-				readq(&((struct channel_header __iomem *)
-					(ch))->signature);
+		u64 sig = readq(&((struct channel_header __iomem *)
+				  (ch))->signature);
 		if (sig != expected_signature) {
 			return 0;
 		}
-- 
2.1.0

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




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux