linux/drivers/mtd/devices
Xi Wang 2ff5e1532d mtd: pmc551: fix signedness bug in init_pmc551()
Since "length" is a u32, the error handling below didn't work when
fixup_pmc551() returns -ENODEV.

	if ((length = fixup_pmc551(PCI_Device)) <= 0)

This patch changes both the type of "length" and the return type of
fixup_pmc551() to int.

Signed-off-by: Xi Wang <xi.wang@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2012-03-27 00:11:07 +01:00
..
block2mtd.c MTD pull for 3.3 2012-01-10 13:45:22 -08:00
doc2000.c mtd: doc: do not initialize mtd_info fields to 0 or NULL 2012-01-09 18:25:53 +00:00
doc2001.c mtd: doc: do not initialize mtd_info fields to 0 or NULL 2012-01-09 18:25:53 +00:00
doc2001plus.c mtd: doc: do not initialize mtd_info fields to 0 or NULL 2012-01-09 18:25:53 +00:00
docecc.c mtd: spelling, capitalization, uniformity 2011-09-11 15:02:13 +03:00
docg3.c mtd: doc: do not initialize mtd_info fields to 0 or NULL 2012-01-09 18:25:53 +00:00
docg3.h mtd: docg3: fixes and cleanups 2012-01-09 18:13:05 +00:00
docprobe.c mtd: docprobe: use kzalloc instead 2012-01-09 18:25:51 +00:00
Kconfig mtd: Fix dependency for MTD_DOC200x 2012-01-09 18:26:27 +00:00
lart.c mtd: lart: cleanup: drop HAVE_PARTITIONS 2011-09-11 15:02:05 +03:00
m25p80.c mtd: Remove redundant spi driver bus initialization 2012-01-09 18:07:31 +00:00
Makefile mtd: Add DiskOnChip G3 support 2011-10-14 12:03:47 +03:00
ms02-nv.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
ms02-nv.h MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
mtd_dataflash.c mtd: Remove redundant spi driver bus initialization 2012-01-09 18:07:31 +00:00
mtdram.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
phram.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
pmc551.c mtd: pmc551: fix signedness bug in init_pmc551() 2012-03-27 00:11:07 +01:00
slram.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
sst25l.c mtd: sst25l: kill unused variable 2012-01-09 18:26:01 +00:00