[PATCH]: Remove bogons from the iSeries console

Linus Torvalds torvalds at linux-foundation.org
Thu Aug 7 10:44:19 EST 2008



On Thu, 7 Aug 2008, Paul Mackerras wrote:
> 
> I think you want "return -ENOIOCTLCMD" rather than "return ret" since
> ret is uninitialized with your patch applied.

Actually, nobody has apparently ever even tried compiling that function 
even before. 

Yes, 'ret' became uninitialized, but since it was never declared, it 
doesn't matter - it wouldn't compile anyway.

> I agree the call to n_tty_ioctl is bogus but I think we just want to 
> return -ENOIOCTLCMD.

I made that change, and in the spirit of that file I also didn't even try 
to compile it. So if the end result sexually assaults your pets, don't 
blame me. 

			Linus



More information about the Linuxppc-dev mailing list