From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id 9F1841CC9B; Thu, 5 Apr 2018 16:44:36 +0200 (CEST) In-Reply-To: <1522939367-5392-2-git-send-email-alejandro.lucero@netronome.com> References: <1522939367-5392-2-git-send-email-alejandro.lucero@netronome.com> To: test-report@dpdk.org Cc: Alejandro Lucero Message-Id: <20180405144436.9F1841CC9B@dpdk.org> Date: Thu, 5 Apr 2018 16:44:36 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw37310 [PATCH v2 1/4] net/nfp: add NFP CPP support 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, 05 Apr 2018 14:44:36 -0000 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/37310 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'x' - possible side-effects? #846: FILE: drivers/net/nfp/nfpcore/nfp-common/nfp_platform.h:27: +#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) CHECK:MACRO_ARG_REUSE: Macro argument reuse 'model' - possible side-effects? #1748: FILE: drivers/net/nfp/nfpcore/nfp_cpp.h:211: +#define NFP_CPP_MODEL_IS_6000(model) \ + ((NFP_CPP_MODEL_CHIP_of(model) >= 0x4000) && \ + (NFP_CPP_MODEL_CHIP_of(model) < 0x7000)) CHECK:CAMELCASE: Avoid CamelCase: #5675: FILE: drivers/net/nfp/nfpcore/nfp_nsp.c:226: + printf("Host buffer out of reach %08x %" PRIx64 " ", CHECK:CAMELCASE: Avoid CamelCase: #7367: FILE: drivers/net/nfp/nfpcore/nfp_rtsym.c:61: + printf(" name=%s, addr=%" PRIx64 ", size=%" PRIu64 ",target=%d ", CHECK:CAMELCASE: Avoid CamelCase: #7582: FILE: drivers/net/nfp/nfpcore/nfp_rtsym.c:276: + printf("rtsym '%s' unsupported size: %" PRId64 " ", total: 0 errors, 0 warnings, 5 checks, 8044 lines checked