Received: by 2002:a4a:311b:0:0:0:0:0 with SMTP id k27-v6csp4533888ooa; Tue, 14 Aug 2018 07:15:15 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwY6dEJ/3DpnIiFz/r7oN5pqXU+5S+OTcJd5BaflUup1XiuY5h2LBPaEIxXqRf5b8ovqbLp X-Received: by 2002:a63:1f4d:: with SMTP id q13-v6mr21355203pgm.241.1534256115181; Tue, 14 Aug 2018 07:15:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534256115; cv=none; d=google.com; s=arc-20160816; b=uXMo40nXYEeKenDFm9KdRmMPdjEs8AtCN7I2aBe8nrMvqbVWOI1bRJPfEdUBAvIiW6 6hkMQm41Ge+sJPZ4WvYCXut7CXO+lVp00vfz8J806ANCC326jGwGBWT5uwKRX309ZvEi EeSVPUpsuSWjQX9Sd+7SX5iPB3kXaPpG8EJf+nJHFpldwbn5KgfIPMpRbRf5Hl4amKS6 gDHnI+Va5csClVLlnPtKWekwbSNsqFr1v8D0g7eyLEStpj9qUaY7ZdvMPbuY1AFbobNE FJqFRy37OzHt2kj0/dQIpRrFSMJOAVQFKiZX6R8AJzqJ2btO0VNWZ2XR5jVEMBlZFTv5 fySg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=Gc+LuvOAvADalxy3K1lFxrE61tVjT4w9FMSmMd3Mb4E=; b=WLS3+OTsxnXQ3oVd+N3066p03yhhZWCE8h/cR+llQZkIOjl7Iy5tNgm2g7re7RbSuZ 9OdvzkUIPHZNuZ3M1D0T12w30+wo4XlH4XwJ0NF4+2RRKISeTRoQlFGGOtRKGsOjthLT v/ayxNMKls+elZZOe/d7IlmmiLmiTMnyVFxtuhgKaMveNzKfgxUqCoeS4JXWEZwSOzcn zwd5+jH0W0F/gF/BHnVt5/n5LgnFbsHZiP6JWj3dWeoXqXJIpV5RxK/lGvq+DpjD28tt kbuvrKopb6p7EdoiM7ex+oxWoUGaKmzlZaPYfCJdELi3wjG3yfETjbwAMOe+WP5jiM2X ENXQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bb1-v6si16812266plb.480.2018.08.14.07.15.00; Tue, 14 Aug 2018 07:15:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731957AbeHNQ55 (ORCPT + 99 others); Tue, 14 Aug 2018 12:57:57 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:20461 "EHLO mail3-relais-sop.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728978AbeHNQ55 (ORCPT ); Tue, 14 Aug 2018 12:57:57 -0400 X-IronPort-AV: E=Sophos;i="5.53,238,1531778400"; d="scan'208";a="275831430" Received: from vaio-julia.rsr.lip6.fr ([132.227.76.33]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Aug 2018 16:10:35 +0200 Date: Tue, 14 Aug 2018 16:10:26 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: Mark Brown cc: Julia Lawall , Wu Zhigang , kbuild-all@01.org, sof-ci-monitor@eclists.intel.com, Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Ranjani Sridharan , Rander Wang , Pan Xiuli , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] fix ifnullfree.cocci warnings In-Reply-To: <20180814140344.GB5810@sirena.org.uk> Message-ID: References: <20180814140344.GB5810@sirena.org.uk> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 14 Aug 2018, Mark Brown wrote: > On Tue, Aug 14, 2018 at 12:57:57PM +0200, Julia Lawall wrote: > > From: kbuild test robot > > > > NULL check before some freeing functions is not needed. > > > > Based on checkpatch warning > > "kfree(NULL) is safe this check is probably not required" > > and kfreeaddr.cocci by Julia Lawall. > > > > Generated by: scripts/coccinelle/free/ifnullfree.cocci > > > > Fixes: 0099cc17a399 ("ASoC:topology:avoid error log and oops during topology free.") > > This doesn't apply against current code, please check and resend (the > above commit isn't in my tree: > > $ git show 0099cc17a399 > fatal: ambiguous argument '0099cc17a399': unknown revision or path not in the working tree. Sorry, I didn't keep the tree information. julia