Frank Li
6fe4c59031
MTD: Fix wrong check register_blkdev return value
...
register_blkdev return 1..255 when major = 0.
if (ret ) {
printk(KERN_WARNING "Unable to register %s block device on major %d: %d\n",
tr->name, tr->major, ret);
mutex_unlock(&mtd_table_mutex);
return ret;
}
Above code will return fail when register_blkdev return allocated major number.
Signed-off-by: Frank Li <Frank.Li@freescale.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2010-10-30 12:30:50 +01:00
..
chips
Revert "mtd: cleanup Kconfig dependencies"
2010-10-26 11:42:51 +01:00
devices
block2mtd: dubious assignment
2010-10-26 10:58:00 +01:00
lpddr
mtd: change struct flchip_shared spinlock locking into mutex
2010-08-06 09:22:16 +01:00
maps
mtd: maps: gpio-addr-flash: fix warnings and make more portable
2010-10-25 01:16:17 +01:00
nand
P4080/mtd: Fix the freescale lbc issue with 36bit mode
2010-10-25 15:41:04 +01:00
onenand
mtd: OneNAND: S5PC110: Fix double call suspend & resume function
2010-10-25 01:36:14 +01:00
tests
ubi
UBI: do not oops when erroneous PEB is scheduled for scrubbing
2010-08-30 13:32:31 +03:00
afs.c
mtd: Update copyright notices
2010-08-08 20:58:20 +01:00
ar7part.c
cmdlinepart.c
mtd: Update copyright notices
2010-08-08 20:58:20 +01:00
ftl.c
mtd: Update copyright notices
2010-08-08 20:58:20 +01:00
inftlcore.c
mtd: Update copyright notices
2010-08-08 20:58:20 +01:00
inftlmount.c
mtd: Remove obsolete <mtd/compatmac.h> include
2010-08-08 21:19:42 +01:00
Kconfig
mtd: update description on sm_ftl
2010-08-06 09:21:40 +01:00
Makefile
mtd_blkdevs.c
MTD: Fix wrong check register_blkdev return value
2010-10-30 12:30:50 +01:00
mtdblock.c
mtd: Update copyright notices
2010-08-08 20:58:20 +01:00
mtdblock_ro.c
mtd: Update copyright notices
2010-08-08 20:58:20 +01:00
mtdchar.c
mtd: add BLKPG API based repartition support
2010-10-25 00:48:49 +01:00
mtdconcat.c
mtd: Update copyright notices
2010-08-08 20:58:20 +01:00
mtdcore.c
mtd: Remove obsolete <mtd/compatmac.h> include
2010-08-08 21:19:42 +01:00
mtdcore.h
mtdoops.c
mtd: Update copyright notices
2010-08-08 20:58:20 +01:00
mtdpart.c
mtd: prepare partition add and del functions for ioctl requests
2010-10-25 00:47:37 +01:00
mtdsuper.c
mtd: Update copyright notices
2010-08-08 20:58:20 +01:00
nftlcore.c
mtd: Update copyright notices
2010-08-08 20:58:20 +01:00
nftlmount.c
mtd: Update copyright notices
2010-08-08 20:58:20 +01:00
ofpart.c
mtd: Fix endianness issues from device tree
2010-10-25 00:55:56 +01:00
redboot.c
mtd: Update copyright notices
2010-08-08 20:58:20 +01:00
rfd_ftl.c
mtd: Update copyright notices
2010-08-08 20:58:20 +01:00
sm_ftl.c
sm_ftl.h
mtd: sm_ftl: cosmetic, use bool when possible
2010-10-25 01:33:08 +01:00
ssfdc.c
mtd: Update copyright notices
2010-08-08 20:58:20 +01:00