From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Moti Haimovsky <motih@mellanox.com>
Subject: [dpdk-test-report] |WARNING| pw43091 net/mlx5: fix compilation issues on old kernels
Date: Sun, 15 Jul 2018 19:34:54 +0200 (CEST) [thread overview]
Message-ID: <20180715173454.ED1AA2C36@dpdk.org> (raw)
In-Reply-To: <1531675899-27007-1-git-send-email-motih@mellanox.com>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/43091
_coding style issues_
CHECK:CAMELCASE: Avoid CamelCase: <_Static_assert>
#101: FILE: drivers/net/mlx5/mlx5_defs.h:133:
+#define static_assert _Static_assert
CHECK:CAMELCASE: Avoid CamelCase: <HAVE_SUPPORTED_40000baseKR4_Full>
#114: FILE: drivers/net/mlx5/mlx5_ethdev.c:46:
+#ifndef HAVE_SUPPORTED_40000baseKR4_Full
CHECK:CAMELCASE: Avoid CamelCase: <SUPPORTED_40000baseKR4_Full>
#115: FILE: drivers/net/mlx5/mlx5_ethdev.c:47:
+#define SUPPORTED_40000baseKR4_Full (1 << 23)
CHECK:CAMELCASE: Avoid CamelCase: <HAVE_SUPPORTED_40000baseCR4_Full>
#117: FILE: drivers/net/mlx5/mlx5_ethdev.c:49:
+#ifndef HAVE_SUPPORTED_40000baseCR4_Full
CHECK:CAMELCASE: Avoid CamelCase: <SUPPORTED_40000baseCR4_Full>
#118: FILE: drivers/net/mlx5/mlx5_ethdev.c:50:
+#define SUPPORTED_40000baseCR4_Full (1 << 24)
CHECK:CAMELCASE: Avoid CamelCase: <HAVE_SUPPORTED_40000baseSR4_Full>
#120: FILE: drivers/net/mlx5/mlx5_ethdev.c:52:
+#ifndef HAVE_SUPPORTED_40000baseSR4_Full
CHECK:CAMELCASE: Avoid CamelCase: <SUPPORTED_40000baseSR4_Full>
#121: FILE: drivers/net/mlx5/mlx5_ethdev.c:53:
+#define SUPPORTED_40000baseSR4_Full (1 << 25)
CHECK:CAMELCASE: Avoid CamelCase: <HAVE_SUPPORTED_40000baseLR4_Full>
#123: FILE: drivers/net/mlx5/mlx5_ethdev.c:55:
+#ifndef HAVE_SUPPORTED_40000baseLR4_Full
CHECK:CAMELCASE: Avoid CamelCase: <SUPPORTED_40000baseLR4_Full>
#124: FILE: drivers/net/mlx5/mlx5_ethdev.c:56:
+#define SUPPORTED_40000baseLR4_Full (1 << 26)
CHECK:CAMELCASE: Avoid CamelCase: <HAVE_SUPPORTED_56000baseKR4_Full>
#126: FILE: drivers/net/mlx5/mlx5_ethdev.c:58:
+#ifndef HAVE_SUPPORTED_56000baseKR4_Full
CHECK:CAMELCASE: Avoid CamelCase: <SUPPORTED_56000baseKR4_Full>
#127: FILE: drivers/net/mlx5/mlx5_ethdev.c:59:
+#define SUPPORTED_56000baseKR4_Full (1 << 27)
CHECK:CAMELCASE: Avoid CamelCase: <HAVE_SUPPORTED_56000baseCR4_Full>
#129: FILE: drivers/net/mlx5/mlx5_ethdev.c:61:
+#ifndef HAVE_SUPPORTED_56000baseCR4_Full
CHECK:CAMELCASE: Avoid CamelCase: <SUPPORTED_56000baseCR4_Full>
#130: FILE: drivers/net/mlx5/mlx5_ethdev.c:62:
+#define SUPPORTED_56000baseCR4_Full (1 << 28)
CHECK:CAMELCASE: Avoid CamelCase: <HAVE_SUPPORTED_56000baseSR4_Full>
#132: FILE: drivers/net/mlx5/mlx5_ethdev.c:64:
+#ifndef HAVE_SUPPORTED_56000baseSR4_Full
CHECK:CAMELCASE: Avoid CamelCase: <SUPPORTED_56000baseSR4_Full>
#133: FILE: drivers/net/mlx5/mlx5_ethdev.c:65:
+#define SUPPORTED_56000baseSR4_Full (1 << 29)
CHECK:CAMELCASE: Avoid CamelCase: <HAVE_SUPPORTED_56000baseLR4_Full>
#135: FILE: drivers/net/mlx5/mlx5_ethdev.c:67:
+#ifndef HAVE_SUPPORTED_56000baseLR4_Full
CHECK:CAMELCASE: Avoid CamelCase: <SUPPORTED_56000baseLR4_Full>
#136: FILE: drivers/net/mlx5/mlx5_ethdev.c:68:
+#define SUPPORTED_56000baseLR4_Full (1 << 30)
total: 0 errors, 0 warnings, 17 checks, 92 lines checked
parent reply other threads:[~2018-07-15 17:34 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <1531675899-27007-1-git-send-email-motih@mellanox.com>]
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=20180715173454.ED1AA2C36@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=motih@mellanox.com \
--cc=test-report@dpdk.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).