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 55FB9A00C2 for ; Fri, 1 Jul 2022 11:03:50 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C2F6B427F2; Fri, 1 Jul 2022 11:03:48 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 985844069D for ; Fri, 1 Jul 2022 11:03:47 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 92B4A120787; Fri, 1 Jul 2022 11:03:47 +0200 (CEST) Subject: |WARNING| pw113604 [PATCH 01/17] net/mana: add basic driver, build environment and doc In-Reply-To: <1656666167-26035-2-git-send-email-longli@linuxonhyperv.com> References: <1656666167-26035-2-git-send-email-longli@linuxonhyperv.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: longli@linuxonhyperv.com Message-Id: <20220701090347.92B4A120787@dpdk.org> Date: Fri, 1 Jul 2022 11:03:47 +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/113604 _coding style issues_ WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line) #55: MANA is a PCI device. It uses IB verbs to access hardware through the kernel WARNING:TYPO_SPELLING: 'Adatper' may be misspelled - perhaps 'Adapter'? #138: FILE: doc/guides/nics/mana.rst:8: +for Microsoft Azure Network Adatper VF in SR-IOV context. WARNING:TYPO_SPELLING: 'Adatper' may be misspelled - perhaps 'Adapter'? #164: FILE: doc/guides/nics/mana.rst:34: + Low-level user space driver library for Microsoft Azure Network Adatper CHECK:MACRO_ARG_REUSE: Macro argument reuse 'name' - possible side-effects? #240: FILE: drivers/net/mana/mana.c:50: +#define MKSTR(name, ...) \ + int mkstr_size_##name = snprintf(NULL, 0, "" __VA_ARGS__); \ + char name[mkstr_size_##name + 1]; \ + \ + memset(name, 0, mkstr_size_##name + 1); \ + snprintf(name, sizeof(name), "" __VA_ARGS__) WARNING:STATIC_CONST_CHAR_ARRAY: static const char * array should probably be static const char * const #274: FILE: drivers/net/mana/mana.c:84: +static const char *mana_init_args[] = { CHECK:CAMELCASE: Avoid CamelCase: #428: FILE: drivers/net/mana/mana.c:238: + "%" SCNx32 ":%" SCNx8 ":%" SCNx8 ".%" SCNx8 " ", CHECK:CAMELCASE: Avoid CamelCase: #428: FILE: drivers/net/mana/mana.c:238: + "%" SCNx32 ":%" SCNx8 ":%" SCNx8 ".%" SCNx8 " ", total: 0 errors, 4 warnings, 3 checks, 1327 lines checked