From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7D6BBA050B for ; Thu, 7 Apr 2022 10:09:14 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7889C40DF6; Thu, 7 Apr 2022 10:09:14 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 9B98D4014F for ; Thu, 7 Apr 2022 10:09:13 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 8D642122BA2; Thu, 7 Apr 2022 10:09:13 +0200 (CEST) Subject: |WARNING| pw109411 [PATCH] test/crypto: add key exchange dh tests In-Reply-To: <20220407080722.18697-1-arkadiuszx.kusztal@intel.com> References: <20220407080722.18697-1-arkadiuszx.kusztal@intel.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Arek Kusztal Message-Id: <20220407080913.8D642122BA2@dpdk.org> Date: Thu, 7 Apr 2022 10:09:13 +0200 (CEST) X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: test-report-bounces@dpdk.org Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/109411 _coding style issues_ WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #92: FILE: app/test/test_cryptodev_asym.c:41: +#define TEST_CRYPTO_ASYM_NULL_RETURN(p, str) \ + do { \ + if (p == NULL) { \ + RTE_LOG(ERR, USER1, "line %u FAILED: %s", \ + __LINE__, str); \ + status = (ret == -ENOTSUP) ? \ + TEST_SKIPPED : TEST_FAILED; \ + goto error_exit; \ + } \ + } while (0) WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided #103: FILE: app/test/test_cryptodev_asym.c:52: +#define TEST_CRYPTO_ASYM_NEG_RETURN(p, str) \ + do { \ + if (p) { \ + RTE_LOG(ERR, USER1, \ + "line %u FAILED: %s", \ + __LINE__, str); \ + status = (ret == -ENOTSUP) ? \ + TEST_SKIPPED : TEST_FAILED; \ + goto error_exit; \ + } \ + } while (0) total: 0 errors, 2 warnings, 618 lines checked