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 557274688D for ; Thu, 5 Jun 2025 16:48:03 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 508EA40150; Thu, 5 Jun 2025 16:48:03 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id C129D40150 for ; Thu, 5 Jun 2025 16:48:01 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 9B082125280; Thu, 5 Jun 2025 16:47:12 +0200 (CEST) Subject: |WARNING| pw154064 [PATCH v6 1/1] net/intel: define __builtin_add_overflow for MSVC In-Reply-To: <1749134845-30062-2-git-send-email-andremue@linux.microsoft.com> References: <1749134845-30062-2-git-send-email-andremue@linux.microsoft.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Andre Muezerie Message-Id: <20250605144712.9B082125280@dpdk.org> Date: Thu, 5 Jun 2025 16:47:12 +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/154064 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'a' - possible side-effects? #74: FILE: drivers/net/intel/ice/base/ice_osdep.h:132: +#define __builtin_add_overflow(a, b, res) \ + _Generic((a), \ + uint8_t : _addcarry_u8, \ + uint16_t : _addcarry_u16, \ + uint32_t : _addcarry_u32, \ + uint64_t : _addcarry_u64)(0, a, b, res) CHECK:CAMELCASE: Avoid CamelCase: <_Generic> #75: FILE: drivers/net/intel/ice/base/ice_osdep.h:133: + _Generic((a), \ total: 0 errors, 0 warnings, 2 checks, 15 lines checked