* [dpdk-test-report] |WARNING| pw84503 [PATCH] app/testpmd: fix str2flowtype not used warnings [not found] <1606218596-17896-1-git-send-email-viacheslavo@nvidia.com> @ 2020-11-24 11:51 ` checkpatch 2020-12-11 18:06 ` [dpdk-test-report] |SUCCESS| pw84503 " 0-day Robot 1 sibling, 0 replies; 2+ messages in thread From: checkpatch @ 2020-11-24 11:51 UTC (permalink / raw) To: test-report; +Cc: Viacheslav Ovsiienko Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/84503 _coding style issues_ WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #66: FILE: app/test-pmd/cmdline.c:10100: +#define IPV4_ADDR_TO_UINT(ip_addr, ip) \ +do { \ + if ((ip_addr).family == AF_INET) \ + (ip) = (ip_addr).addr.ipv4.s_addr; \ + else { \ + printf("invalid parameter. "); \ + return; \ + } \ +} while (0) WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #76: FILE: app/test-pmd/cmdline.c:10110: +#define IPV6_ADDR_TO_ARRAY(ip_addr, ip) \ +do { \ + if ((ip_addr).family == AF_INET6) \ + rte_memcpy(&(ip), \ + &((ip_addr).addr.ipv6), \ + sizeof(struct in6_addr)); \ + else { \ + printf("invalid parameter. "); \ + return; \ + } \ +} while (0) total: 0 errors, 2 warnings, 60 lines checked ^ permalink raw reply [flat|nested] 2+ messages in thread
* [dpdk-test-report] |SUCCESS| pw84503 app/testpmd: fix str2flowtype not used warnings [not found] <1606218596-17896-1-git-send-email-viacheslavo@nvidia.com> 2020-11-24 11:51 ` [dpdk-test-report] |WARNING| pw84503 [PATCH] app/testpmd: fix str2flowtype not used warnings checkpatch @ 2020-12-11 18:06 ` 0-day Robot 1 sibling, 0 replies; 2+ messages in thread From: 0-day Robot @ 2020-12-11 18:06 UTC (permalink / raw) To: test-report; +Cc: robot From: robot@bytheb.org Test-Label: travis-robot Test-Status: SUCCESS http://dpdk.org/patch/84503 _Travis build: passed_ Build URL: https://travis-ci.com/ovsrobot/dpdk/builds/208110417 ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-12-11 18:08 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <1606218596-17896-1-git-send-email-viacheslavo@nvidia.com> 2020-11-24 11:51 ` [dpdk-test-report] |WARNING| pw84503 [PATCH] app/testpmd: fix str2flowtype not used warnings checkpatch 2020-12-11 18:06 ` [dpdk-test-report] |SUCCESS| pw84503 " 0-day Robot
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).