[PATCH] [POWERPC] Fix return value check logic

Michael Ellerman michael at ellerman.id.au
Sat May 24 00:52:05 EST 2008


On Fri, 2008-05-23 at 07:39 -0700, Medve Emilian wrote:
> 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.

You're right, thanks for checking. In that case:

Acked-by: Michael Ellerman <michael at ellerman.id.au>

cheers

-- 
Michael Ellerman
OzLabs, IBM Australia Development Lab

wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20080524/b068c6f1/attachment.pgp>


More information about the Linuxppc-dev mailing list