From: Pablo Pellecchia <pablo9891@gmail.com>
To: kernelnewbies@kernelnewbies.org
Subject: Staging/netlogic coding style issues with struct
Date: Tue, 3 Sep 2019 01:26:17 -0300 [thread overview]
Message-ID: <CADN=kBmDFT5WtZoS-kGTEi3srD7vpFRRDmWYCJ9aOH_3CUBXdg@mail.gmail.com> (raw)
[-- 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
next reply other threads:[~2019-09-03 4:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-03 4:26 Pablo Pellecchia [this message]
2019-09-03 6:50 ` Staging/netlogic coding style issues with struct Greg KH
2019-09-03 10:21 ` Valdis Klētnieks
2019-09-04 3:27 ` Pablo Pellecchia
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CADN=kBmDFT5WtZoS-kGTEi3srD7vpFRRDmWYCJ9aOH_3CUBXdg@mail.gmail.com' \
--to=pablo9891@gmail.com \
--cc=kernelnewbies@kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).