diff options
author | 2012-08-04 11:05:25 +0000 | |
---|---|---|
committer | 2012-08-10 12:27:46 +0200 | |
commit | d680e2c11eb0ddd21ba438b3a537e2eb093ff86f (patch) | |
tree | 46a94ebf41980f2cc3e25d2a4d8cf26a5a9b2f48 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpio: em: do not discard em_gio_irq_domain_cleanup (diff) | |
download | linux-dev-d680e2c11eb0ddd21ba438b3a537e2eb093ff86f.tar.xz linux-dev-d680e2c11eb0ddd21ba438b3a537e2eb093ff86f.zip |
mtd/omap2: fix dmaengine_slave_config error handling
The newly added dmaengine support in the omap2 nand driver
potentially causes an undefined return value from the
omap_nand_probe function when dmaengine_slave_config
reports an error. Let's handle this by returning the
same error back to the caller.
Without this patch, building omap2plus_defconfig results in:
drivers/mtd/nand/omap2.c: In function 'omap_nand_probe':
drivers/mtd/nand/omap2.c:1154:6: warning: 'err' may be used uninitialized in this function [-Wuninitialized]
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: Grazvydas Ignotas <notasas@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions