diff options
| author | Emil Medve <[email protected]> | 2008-05-22 19:49:22 +0000 |
|---|---|---|
| committer | Paul Mackerras <[email protected]> | 2008-06-16 05:00:25 +0000 |
| commit | 476ff8a0e3b17fc23994255aa9fd917d599d2ec7 (patch) | |
| tree | 6586103ad941312dcb3caa31b7fb162427c04a6f /lib/debugobjects.c | |
| parent | [POWERPC] Fix rmb to order cacheable vs. noncacheable (diff) | |
| download | kernel-476ff8a0e3b17fc23994255aa9fd917d599d2ec7.tar.gz kernel-476ff8a0e3b17fc23994255aa9fd917d599d2ec7.zip | |
[POWERPC] Fix return value check logic in debugfs virq_mapping setup
debugfs_create_file() returns a non-NULL (non-zero) value in case of
success, not a NULL value.
This fixes this non-critical boot-time debugging error message:
[ 1.316386] calling irq_debugfs_init+0x0/0x50
[ 1.316399] initcall irq_debugfs_init+0x0/0x50 returned -12 after 0 msecs
[ 1.316411] initcall irq_debugfs_init+0x0/0x50 returned with error code -12
Signed-off-by: Emil Medve <[email protected]>
Acked-by: Michael Ellerman <[email protected]>
Signed-off-by: Paul Mackerras <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
