kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Staging/netlogic coding style issues with struct
@ 2019-09-03  4:26 Pablo Pellecchia
  2019-09-03  6:50 ` Greg KH
  2019-09-03 10:21 ` Valdis Klētnieks
  0 siblings, 2 replies; 4+ messages in thread
From: Pablo Pellecchia @ 2019-09-03  4:26 UTC (permalink / raw)
  To: kernelnewbies


[-- Attachment #1.1: Type: text/plain, Size: 429 bytes --]

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!

[-- Attachment #1.2: Type: text/html, Size: 650 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-09-04  3:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-03  4:26 Staging/netlogic coding style issues with struct Pablo Pellecchia
2019-09-03  6:50 ` Greg KH
2019-09-03 10:21 ` Valdis Klētnieks
2019-09-04  3:27   ` Pablo Pellecchia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).