automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw29818 [PATCH V3 3/5] ethdev: add new api for traffic metering and policing
       [not found] <1507301136-131382-4-git-send-email-cristian.dumitrescu@intel.com>
@ 2017-10-06 14:45 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-10-06 14:45 UTC (permalink / raw)
  To: test-report; +Cc: Cristian Dumitrescu

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

_coding style issues_


WARNING:MAINTAINERS_STYLE: MAINTAINERS entries use one tab after TYPE:
#84: FILE: MAINTAINERS:264:
+M: Cristian Dumitrescu <cristian.dumitrescu@intel.com>

WARNING:MAINTAINERS_STYLE: MAINTAINERS entries use one tab after TYPE:
#85: FILE: MAINTAINERS:265:
+F: lib/librte_ether/rte_mtr*

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#214: FILE: lib/librte_ether/rte_mtr.c:61:
+			ENOSYS,

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#217: FILE: lib/librte_ether/rte_mtr.c:64:
+			rte_strerror(ENOSYS));

WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#224: FILE: lib/librte_ether/rte_mtr.c:71:
+#define RTE_MTR_FUNC(port_id, func)			\
+({							\
+	const struct rte_mtr_ops *ops =			\
+		rte_mtr_ops_get(port_id, error);		\
+	if (ops == NULL)					\
+		return -rte_errno;			\
+							\
+	if (ops->func == NULL)				\
+		return -rte_mtr_error_set(error,		\
+			ENOSYS,				\
+			RTE_MTR_ERROR_TYPE_UNSPECIFIED,	\
+			NULL,				\
+			rte_strerror(ENOSYS));		\
+							\
+	ops->func;					\
+})

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#233: FILE: lib/librte_ether/rte_mtr.c:80:
+			ENOSYS,				\

WARNING:ENOSYS: ENOSYS means 'invalid syscall nr' and nothing else
#236: FILE: lib/librte_ether/rte_mtr.c:83:
+			rte_strerror(ENOSYS));		\

total: 0 errors, 7 warnings, 1225 lines checked

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

only message in thread, other threads:[~2017-10-06 14:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1507301136-131382-4-git-send-email-cristian.dumitrescu@intel.com>
2017-10-06 14:45 ` [dpdk-test-report] |WARNING| pw29818 [PATCH V3 3/5] ethdev: add new api for traffic metering and policing 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).