aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <[email protected]>2011-04-01 07:16:17 +0000
committerArtem Bityutskiy <[email protected]>2011-04-05 07:46:01 +0000
commit95169535113073993a3ed97ecc21831657f42a80 (patch)
tree7f118921eb0d46effe0f9bd4e4d766ead16bd663 /drivers/mtd/lpddr/lpddr_cmds.c
parentUBIFS: unify error path dbg_debugfs_init_fs (diff)
downloadkernel-95169535113073993a3ed97ecc21831657f42a80.tar.gz
kernel-95169535113073993a3ed97ecc21831657f42a80.zip
UBIFS: fix error path in dbg_debugfs_init_fs
The debug interface is substandard and on error returns either NULL or an error code packed in the pointer. So using "IS_ERR" for the pointers returned by debugfs function is incorrect. Instead, we should use IS_ERR_OR_NULL. This path is an improved vestion of the original patch from Phil Carmody. Reported-by: Phil Carmody <[email protected]> Signed-off-by: Artem Bityutskiy <[email protected]> Acked-by: Phil Carmody <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions