Re: hp300/dev/nhpib.c - Strange code

2013-07-22 Thread Martin Reindl
On 7/23/13 6:47 AM, Maxime Villard wrote: > Hi, > - - - hp300/dev/nhpib.c l.463 - - - > > int stat1; > > #ifdef lint > if (stat1 = unit) return(1); > #endif > > - - - > > What does that mean ? > It's there since '95, who knows for which purposes it was used bac

softraid_aoe.c

2013-07-22 Thread Maxime Villard
Hi, - - - dev/softraid_aoe.c - - - I don't know if it's a mistake, but at l.393 the function always returns 1. If you put that just to temporarily shut down the function, then you should add a comment to explicitly tell to the stupid guys who might think it's a mistake - like me - something like

hp300/dev/nhpib.c - Strange code

2013-07-22 Thread Maxime Villard
Hi, - - - hp300/dev/nhpib.c l.463 - - - int stat1; #ifdef lint if (stat1 = unit) return(1); #endif - - - What does that mean ?