RE: [PATCH 1/2] virtio-rng: implement entropy leak feature

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

 



> > +#include "asm-generic/errno.h"
> 
> Why are you pulling this in?
> If you really need errno the thing to include
> is linux/errno.h
> 
> checkpatch has a rule to catch such cases:
> 
> # warn if <asm/foo.h> is #included and <linux/foo.h> is available and includes
> # itself <asm/foo.h> (uses RAW line)

It's only looking for asm, not variations like asm-generic.





[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux