From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id C1EBC1B204; Thu, 22 Nov 2018 04:33:12 +0100 (CET) In-Reply-To: <20181122033055.3431-4-honnappa.nagarahalli@arm.com> References: <20181122033055.3431-4-honnappa.nagarahalli@arm.com> To: test-report@dpdk.org Cc: Honnappa Nagarahalli Message-Id: <20181122033312.C1EBC1B204@dpdk.org> Date: Thu, 22 Nov 2018 04:33:12 +0100 (CET) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw48241 [RFC, 3/3] test/tqs: Add API and functional tests X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Nov 2018 03:33:12 -0000 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/48241 _coding style issues_ WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #114: FILE: test/test/test_tqs.c:16: +#define TQS_RETURN_IF_ERROR(tqs, cond, str, ...) do { \ + if (cond) { \ + printf("ERROR file %s, line %d: " str " ", __FILE__, \ + __LINE__, ##__VA_ARGS__); \ + if (tqs) \ + rte_tqs_free(tqs); \ + return -1; \ + } \ +} while (0) total: 0 errors, 1 warnings, 583 lines checked