mtd: suppress warnings in inline_map_read()
authorKevin Cernekee <cernekee@gmail.com>
Sat, 10 Apr 2010 18:18:58 +0000 (11:18 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 14 May 2010 00:52:55 +0000 (01:52 +0100)
commit9ea5973883bbe26372f45d99eb3a500f08d966f9
tree658c5a7401651de627f3dc4843dd56935dc59937
parent709c4efb68cccd2de9a7d63b1f90276b1617e613
mtd: suppress warnings in inline_map_read()

With gcc 4.4.3 -O2 on MIPS32:

drivers/mtd/chips/cfi_util.c: In function 'cfi_qry_present':
include/linux/mtd/map.h:390: warning: 'r' may be used uninitialized in this function
include/linux/mtd/map.h:375: note: 'r' was declared here
include/linux/mtd/map.h:390: warning: 'r' may be used uninitialized in this function
include/linux/mtd/map.h:375: note: 'r' was declared here

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
include/linux/mtd/map.h