OSDN Git Service

MTD: nandsim: suppress unnecessary warning
authorAdrian Hunter <ext-adrian.hunter@nokia.com>
Wed, 12 Nov 2008 14:06:40 +0000 (16:06 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 10 Dec 2008 13:35:19 +0000 (13:35 +0000)
commit9359ea461b382de3249469d2165da45f4762b910
treee4f2e691e7b154c5461f5d5cc99f232f48516370
parent4f8f3af20ac5a1e58b419a98dfe76522885b5355
MTD: nandsim: suppress unnecessary warning

nand_base sometimes reads only 2 bytes of a 4 byte id.
It is OK.  Do not print a warning in that case.

Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/nandsim.c