* [dpdk-test-report] |WARNING| pw38967 [PATCH v3 1/8] net/sfc/base: cope with clang warning on negative shift
[not found] <1524678704-29354-2-git-send-email-arybchenko@solarflare.com>
@ 2018-04-25 17:52 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2018-04-25 17:52 UTC (permalink / raw)
To: test-report; +Cc: Andrew Rybchenko
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/38967
_coding style issues_
CHECK:MACRO_ARG_REUSE: Macro argument reuse '_val' - possible side-effects?
#43: FILE: drivers/net/sfc/base/efx_types.h:338:
+#define EFX_SSUB(_val, _sub) \
+ ((_val) > (_sub) ? ((_val) - (_sub)) : 0)
CHECK:MACRO_ARG_REUSE: Macro argument reuse '_sub' - possible side-effects?
#43: FILE: drivers/net/sfc/base/efx_types.h:338:
+#define EFX_SSUB(_val, _sub) \
+ ((_val) > (_sub) ? ((_val) - (_sub)) : 0)
ERROR:SPACING: space required after that ',' (ctx:VxV)
#109: FILE: drivers/net/sfc/base/efx_types.h:1306:
+ ((uint32_t)1 << EFX_SSUB((_bit),(_base))) : \
^
total: 1 errors, 0 warnings, 2 checks, 89 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-04-25 17:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1524678704-29354-2-git-send-email-arybchenko@solarflare.com>
2018-04-25 17:52 ` [dpdk-test-report] |WARNING| pw38967 [PATCH v3 1/8] net/sfc/base: cope with clang warning on negative shift checkpatch
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).