From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=3.0 tests=DKIM_SIGNED, MAILING_LIST_MULTI,SPF_PASS,T_DKIM_INVALID,URIBL_BLOCKED,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 53967C46464 for ; Tue, 14 Aug 2018 14:03:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 097B92172C for ; Tue, 14 Aug 2018 14:03:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=sirena.org.uk header.i=@sirena.org.uk header.b="iwpG6ApN" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 097B92172C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732398AbeHNQvO (ORCPT ); Tue, 14 Aug 2018 12:51:14 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:34320 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728314AbeHNQvO (ORCPT ); Tue, 14 Aug 2018 12:51:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=G+8CeSpeua02zygrfLANjAYN+ckULJEzAKOEWqVyybw=; b=iwpG6ApNgtKaHMCVbTDhMKut2 DkXQhPEVsslOIH9mJsH+l4cDFk6t3oFSD9Ru9JK9MdWaLGOVSwubGs0tMQIYEH2APkWiRK1O2Uaec Jc789FMKy1zH6ObvXFR4NlxVqG1lM44aixUYhXd/QYbA7a/fqDTBRHwwOr0q8KaEc5/nQ=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1fpZvE-0000rO-Ln; Tue, 14 Aug 2018 14:03:44 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id 30C1B1124449; Tue, 14 Aug 2018 15:03:44 +0100 (BST) Date: Tue, 14 Aug 2018 15:03:44 +0100 From: Mark Brown To: Julia Lawall Cc: 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 Message-ID: <20180814140344.GB5810@sirena.org.uk> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="QKdGvSO+nmPlgiQ/" Content-Disposition: inline In-Reply-To: X-Cookie: All true wisdom is found on T-shirts. User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --QKdGvSO+nmPlgiQ/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 14, 2018 at 12:57:57PM +0200, Julia Lawall wrote: > From: kbuild test robot >=20 > NULL check before some freeing functions is not needed. >=20 > Based on checkpatch warning > "kfree(NULL) is safe this check is probably not required" > and kfreeaddr.cocci by Julia Lawall. >=20 > Generated by: scripts/coccinelle/free/ifnullfree.cocci >=20 > Fixes: 0099cc17a399 ("ASoC:topology:avoid error log and oops during topol= ogy 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 t= he working tree. --QKdGvSO+nmPlgiQ/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlty4T8ACgkQJNaLcl1U h9Dwswf/cDzgU0SX6gKs4T7NvRHZi0/VT7Sly/AA3cioGpDgCEkD/ovz/mL8R85v 9ksNIyrGtWig6xZV3X0gcofU1jSTIS1CefTqArEjyu7jBFLJITJFWu2ZDhnp/4Ys shB50aZi6kGTg88ll17eJEGNbk/g6WXrSfyjjyjCsXj9I2aY8oSE5UAgtg7J66Yl YGSWofAT/VV2Ww+6QW1YDLjmYKMgsrsjv+o8/1GTzSILiPOI8pi0pcIpO9di7n/i LMpsUzsi5exuP3IGPLXYTZLCXLRgjXzvPYcRHuBv5gu+zYMY0GPW56JVGnPA2shk t45M1fzOUKC4mMP0k0KbihGrZw/Xrw== =7fXd -----END PGP SIGNATURE----- --QKdGvSO+nmPlgiQ/--