[PATCH] [POWERPC] Fix return value check logic

Medve Emilian Emilian.Medve at freescale.com
Sat May 24 00:39:58 EST 2008


Hello Michael,


> > That won't work if CONFIG_DEBUG_FS is not defined, because in 
> > that case
> > debugfs_create_file() returns -ENODEV.
> 
> Will respin.

At a second glance in arch/powerpc/Kconfig.debug, VIRQ_DEBUG depends on
DEBUG_FS so I think that the patch should work as is.


Cheers,
Emil.


More information about the Linuxppc-embedded mailing list