automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw45669 [v3, 05/22] net/atlantic: firmware operations layer
       [not found] <d7f643d74e8d71ef03fb908b78fb80df43e99137.1538215990.git.igor.russkikh@aquantia.com>
@ 2018-09-29 10:31 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2018-09-29 10:31 UTC (permalink / raw)
  To: test-report; +Cc: Igor Russkikh

Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/45669

_coding style issues_


CHECK:BOOL_MEMBER: Avoid using bool structure members because of possible alignment issues - see: https://lkml.org/lkml/2017/11/21/384
#89: FILE: drivers/net/atlantic/atl_types.h:60:
+	bool is_lro;

CHECK:MACRO_ARG_REUSE: Macro argument reuse '_N_' - possible side-effects?
#918: FILE: drivers/net/atlantic/hw_atl/hw_atl_utils.c:753:
+#define AQ_SDELTA(_N_) (self->curr_stats._N_ += \
+			mbox.stats._N_ - self->last_stats._N_)

CHECK:MACRO_ARG_PRECEDENCE: Macro argument '_N_' may be better as '(_N_)' to avoid precedence issues
#918: FILE: drivers/net/atlantic/hw_atl/hw_atl_utils.c:753:
+#define AQ_SDELTA(_N_) (self->curr_stats._N_ += \
+			mbox.stats._N_ - self->last_stats._N_)

CHECK:CAMELCASE: Avoid CamelCase: <tcQuanta>
#1298: FILE: drivers/net/atlantic/hw_atl/hw_atl_utils.h:185:
+			u16 tcQuanta[8];

CHECK:CAMELCASE: Avoid CamelCase: <tcThreshold>
#1299: FILE: drivers/net/atlantic/hw_atl/hw_atl_utils.h:186:
+			u16 tcThreshold[8];

total: 0 errors, 0 warnings, 5 checks, 2189 lines checked

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-09-29 10:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <d7f643d74e8d71ef03fb908b78fb80df43e99137.1538215990.git.igor.russkikh@aquantia.com>
2018-09-29 10:31 ` [dpdk-test-report] |WARNING| pw45669 [v3, 05/22] net/atlantic: firmware operations layer 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).