Skip to content

Commit

Permalink
mmc: quirks: fix truncation warnings
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randy Dunlap authored and Chris Ball committed May 25, 2011
1 parent 32780cd commit 853c6ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/mmc/card.h
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ struct mmc_fixup {
int data;
};

#define CID_MANFID_ANY (-1ul)
#define CID_MANFID_ANY (-1u)
#define CID_OEMID_ANY ((unsigned short) -1)
#define CID_NAME_ANY (NULL)

Expand Down

0 comments on commit 853c6ca

Please sign in to comment.