Staging/netlogic coding style issues with struct

Pablo Pellecchia pablo9891 at gmail.com
Tue Sep 3 00:26:17 EDT 2019


Greetings,

I'm fixing some issues on the staging/netlogic directory and I see that
checkpatch.pl is throwing the following warnings on some files:



*WARNING: struct  should normally be const#9: FILE:
platform_net.h:9:+struct xlr_net_data {*

A similar issue is reported when we declare a variable of type struct
<something>, but in this case warning is reported on the struct definition
itself.

How can we fix this?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20190903/97e45d68/attachment.html>


More information about the Kernelnewbies mailing list