From: H Hartley Sweeten Date: Fri, 15 Jan 2010 18:09:32 +0000 (-0700) Subject: mtd: quiet sparse noise in cfi.h X-Git-Tag: v2.6.35-rc1~465^2~130 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1449c5d0e8f25af6c903797a636696901122e4e8;p=pandora-kernel.git mtd: quiet sparse noise in cfi.h In the inline function cfi_build_cmd_addr, the cast of cmd_ofs to an uint8_t produces a sparse warning of the type: warning: cast truncates bits from constant value (2aa becomes aa) Quiet the warning by masking cmd_ofs with 0xff and remove the cast. Signed-off-by: H Hartley Sweeten Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed