Re: latest checkpatch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Avi Kivity <[email protected]> wrote:

> >> 	if (foo)
> >> 		bar();
> >> 		baz();
> >> 	one();
> >>     
> >
> > detecting that would be awesome - it's often the sign of a real bug 
> > because the intent is often to have bar() and baz() in the conditional 
> > block.
> 
> This is more useful operating on an entire file, so the script can see 
> all the context.

there's "checkpatch --file" for complete files, so it can see the full 
context if the user passes it in.

	Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux