Re: Checkpatch.pl warning

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

 



On Sat, Aug 08, 2015 at 11:19:43PM +0530, Shraddha Barke wrote:
> I have come across the following checkpatch.pl warning a number of times:
> 
> WARNING: Prefer ether_addr_equal() or ether_addr_equal_unaligned() over memcmp
> ()
> 
> What exactly does it mean?
> What is the fix for this warning?
> Any help or links to appropriate Documentation will be good.

If you don't know what this is, or how network drivers work, I strongly
recommend not worrying about this at all, it's a tricky thing to get
right, and something that I need a _lot_ of proof before I ever accept
patches that do this.

I suggest working on something else.

best of luck,

greg k-h

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux