]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: nand: silence some shift wrap warnings
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 9 Aug 2013 09:49:05 +0000 (12:49 +0300)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Fri, 16 Aug 2013 14:49:16 +0000 (17:49 +0300)
commit0b719345110e37c7192aa6637ba90868e218cf74
tree6c49b381e9feed3437ff3ae4be56074ec90268e4
parent03f944c3509ee249fbf33a6478d99a60197f448a
mtd: nand: silence some shift wrap warnings

There are static checkers which complain when we declare variables as
64 bit bitfields but only use the lower 32 bits because of shift
wrapping.  In this case "len" is declared as u64 as opposed to unsigned
long or something which might be 32 bits.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/nand/nand_base.c