From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 3A648A0096 for ; Fri, 12 Apr 2019 03:49:29 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2FF854F90; Fri, 12 Apr 2019 03:49:29 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 1017) id E82014F94; Fri, 12 Apr 2019 03:49:26 +0200 (CEST) In-Reply-To: <1555033662-22935-2-git-send-email-rmody@marvell.com> References: <1555033662-22935-2-git-send-email-rmody@marvell.com> To: test-report@dpdk.org Cc: Rasesh Mody Message-Id: <20190412014926.E82014F94@dpdk.org> Date: Fri, 12 Apr 2019 03:49:26 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw52657 [PATCH 2/6] net/bnx2x: fix memory leak 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/52657 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'x' - possible side-effects? #109: FILE: drivers/net/bnx2x/ecore_sp.h:154: +#define ECORE_ILT_FREE(x, y, size) \ + do { \ + if (x) { \ + bnx2x_dma_free((struct bnx2x_dma *)x); \ + rte_free(x); \ + x = NULL; \ + y = 0; \ + } \ + } while (0) total: 0 errors, 0 warnings, 1 checks, 71 lines checked