From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6EBB2A04B7 for ; Fri, 11 Sep 2020 15:19:32 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BF9991C195; Fri, 11 Sep 2020 15:19:29 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 1017) id DF3031C192; Fri, 11 Sep 2020 15:19:25 +0200 (CEST) In-Reply-To: <20200911131954.15999-14-qi.z.zhang@intel.com> References: <20200911131954.15999-14-qi.z.zhang@intel.com> To: test-report@dpdk.org Cc: Qi Zhang Message-Id: <20200911131925.DF3031C192@dpdk.org> Date: Fri, 11 Sep 2020 15:19:25 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw77400 [PATCH v2 13/40] net/ice/base: introduce and use for each bit iterator 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: , Errors-To: test-report-bounces@dpdk.org Sender: "test-report" Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/77400 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse '_bitpos' - possible side-effects? #134: FILE: drivers/net/ice/base/ice_bitops.h:349: +#define ice_for_each_set_bit(_bitpos, _addr, _maxlen) \ + for ((_bitpos) = ice_find_first_bit((_addr), (_maxlen)); \ + (_bitpos) < (_maxlen); \ + (_bitpos) = ice_find_next_bit((_addr), (_maxlen), (_bitpos) + 1)) CHECK:MACRO_ARG_REUSE: Macro argument reuse '_addr' - possible side-effects? #134: FILE: drivers/net/ice/base/ice_bitops.h:349: +#define ice_for_each_set_bit(_bitpos, _addr, _maxlen) \ + for ((_bitpos) = ice_find_first_bit((_addr), (_maxlen)); \ + (_bitpos) < (_maxlen); \ + (_bitpos) = ice_find_next_bit((_addr), (_maxlen), (_bitpos) + 1)) CHECK:MACRO_ARG_REUSE: Macro argument reuse '_maxlen' - possible side-effects? #134: FILE: drivers/net/ice/base/ice_bitops.h:349: +#define ice_for_each_set_bit(_bitpos, _addr, _maxlen) \ + for ((_bitpos) = ice_find_first_bit((_addr), (_maxlen)); \ + (_bitpos) < (_maxlen); \ + (_bitpos) = ice_find_next_bit((_addr), (_maxlen), (_bitpos) + 1)) total: 0 errors, 0 warnings, 3 checks, 369 lines checked