diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2011-04-12 12:59:09 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-05-24 21:00:59 -0400 |
commit | 853c6cac0dc0d9d330deb5b48c19eebafaed1841 (patch) | |
tree | 88bbcb5a7b32f23dba7d42d7e61d55ff2d1fc442 | |
parent | 32780cd1350e651e68bdf33b7f5b009d21d5b794 (diff) |
mmc: quirks: fix truncation warnings
Fix data truncation warnings: .manfid is not unsigned long:
drivers/mmc/core/quirks.c:36: warning: large integer implicitly truncated to unsigned type
drivers/mmc/core/quirks.c:40: warning: large integer implicitly truncated to unsigned type
drivers/mmc/core/quirks.c:43: warning: large integer implicitly truncated to unsigned type
drivers/mmc/core/quirks.c:46: warning: large integer implicitly truncated to unsigned type
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
-rw-r--r-- | include/linux/mmc/card.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mmc/card.h b/include/linux/mmc/card.h index c6513175f7f1..937f852cf01e 100644 --- a/include/linux/mmc/card.h +++ b/include/linux/mmc/card.h | |||
@@ -180,7 +180,7 @@ struct mmc_fixup { | |||
180 | int data; | 180 | int data; |
181 | }; | 181 | }; |
182 | 182 | ||
183 | #define CID_MANFID_ANY (-1ul) | 183 | #define CID_MANFID_ANY (-1u) |
184 | #define CID_OEMID_ANY ((unsigned short) -1) | 184 | #define CID_OEMID_ANY ((unsigned short) -1) |
185 | #define CID_NAME_ANY (NULL) | 185 | #define CID_NAME_ANY (NULL) |
186 | 186 | ||