From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: cppcheck on dpdk Date: Thu, 31 May 2018 12:22:58 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: Colin Ian King To: dpdk-dev Return-path: Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 992444CC0 for ; Thu, 31 May 2018 13:23:00 +0200 (CEST) In-Reply-To: Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 5/16/2018 1:41 PM, Ferruh Yigit wrote: > Today after listening Colin's Static Analysis talk, I run cppcheck on v18.05-rc4 > code and it revealed some issues, sharing here for anyone to interested in > fixing them. At least I encourage to check maintainers to check their own pieces. > > It is really easy to run cppcheck, in dpdk source folder: > cppcheck --force . > > With above command cppcheck verifies all #ifdef paths, some issues below seems > related to this and that is why these issues not seen in build tests. Some issues are fixed but we still have more, to trace them better submitted a bugzilla issue for it: https://dpdk.org/tracker/show_bug.cgi?id=58