summaryrefslogtreecommitdiffstats
path: root/include/linux/mtd/nand.h
diff options
context:
space:
mode:
authorMartin Krause <Martin.Krause@tqs.de>2010-06-22 15:00:19 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-08-02 09:04:20 +0100
commite1d0fe3cddf2306e3ac32569aa152f1909c9b46e (patch)
tree229bcc4a8cbacb723b6656f588ad5dc887a13b29 /include/linux/mtd/nand.h
parent24cc7b8a2a48a5707637e918a51ea547efe24892 (diff)
downloadop-kernel-dev-e1d0fe3cddf2306e3ac32569aa152f1909c9b46e.zip
op-kernel-dev-e1d0fe3cddf2306e3ac32569aa152f1909c9b46e.tar.gz
mtd: mtdconcat: fix bug with uninitialized lock and unlock functions
Test if a lock or unlock function is present (pointer not NULL) before calling it, to prevent a kernel dump. Artem: removed extra blank lines Signed-off-by: Martin Krause <martin.krause@tqs.de> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'include/linux/mtd/nand.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud