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 {
#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!
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies