From: Emil Medve Date: Thu, 22 May 2008 19:49:22 +0000 (+1000) Subject: [POWERPC] Fix return value check logic in debugfs virq_mapping setup X-Git-Tag: v2.6.26-rc7~27^2~9 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=476ff8a0e3b17fc23994255aa9fd917d599d2ec7;p=pandora-kernel.git [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 Acked-by: Michael Ellerman Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed