Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1232650ybl; Wed, 28 Aug 2019 11:31:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqx1VkbWqSpCw0VPsZcAYgiR41qYUSoTGs2nzQtaJ4Qh3Pxb6/rLlL1qEhHp3z2p+QPChWlx X-Received: by 2002:aa7:8a83:: with SMTP id a3mr6297631pfc.115.1567017094320; Wed, 28 Aug 2019 11:31:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567017094; cv=none; d=google.com; s=arc-20160816; b=T9A7wdfQ+QkcLGikFQJkaGXYHUhBqN+826sFH5HW7peWB1CTf/BbVnkQp2Fc9JRydt QWyeTn41UGGryyXNxPK7sTDrl2PI2Pa0sHUIuDh1qhA/5Msdt9uOhDB88b4MGMdDh7q2 VpiJblALPOYHXmo03uV0pOhHnUATkRn8fUxOEp2mIfU46jN8gaX8wnwP1isc0W3gRPWw Vlu27lgxL45M+afqPsDh+qb29OeGCZHB/3z76UqVDLpB6Put83SSv1vw6cVrUAJhL8wy RZj9aB6wemlCjMf0vZYJ/KKgTviqi43/8yAsQJlOmVxYFMxpviRtsUTb73lRiTIFRCjS ULUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=2KnWEqGYu3bPuKy4solZBeSM13D3wCx9EItS4Z5i10k=; b=EMZgKZwIcLi4uN/AauLm/TVrqJVuegGSF1pFKGWZy7neZQoIh0jKCPF+xc+MuD5MLL jP5EcmWdxruxHoynwbU2OVuBbf182z2bQyMXQzExNUsBI3fgskpxIx5/o8e3knl+YE8E VeB7PEZxXwjM47pJvOJMhGr/E3bt71M+Hv181qGWSAOmCED6RWX4Xp22eYe2U6XxWEDp ni48dLskjXoLAriO/S173AzhJr7/IreTaKD0N4uZHbp356UHdjJiaAmIqataMajKGVVx 7LBDNclxWWs6ASfOAUtxMoDR8PSJNICIHK7SjD5fBKwdgCiNG42Otgk0MBCIyPU/3yLC XoGg== 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 z15si2764145pgf.85.2019.08.28.11.31.17; Wed, 28 Aug 2019 11:31:34 -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 S1726911AbfH1SaM (ORCPT + 99 others); Wed, 28 Aug 2019 14:30:12 -0400 Received: from muru.com ([72.249.23.125]:58970 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726554AbfH1SaM (ORCPT ); Wed, 28 Aug 2019 14:30:12 -0400 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 3292F80C5; Wed, 28 Aug 2019 18:30:40 +0000 (UTC) Date: Wed, 28 Aug 2019 11:30:07 -0700 From: Tony Lindgren To: Ladislav Michl Cc: Markus Elfring , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Kishore Kadiyala , Russell King , LKML , kernel-janitors@vger.kernel.org, Balaji T K , Benoit Cousson , Paul Walmsley , Nikolaus Schaller Subject: Re: [PATCH] ARM: OMAP2+: Delete an unnecessary kfree() call in omap_hsmmc_pdata_init() Message-ID: <20190828183007.GD52127@atomide.com> References: <69025c8c-8d84-6686-138b-cde59467b802@web.de> <20190826162050.GX52127@atomide.com> <20190827181457.GA16333@lenoch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190827181457.GA16333@lenoch> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Ladislav Michl [190827 18:15]: > On Mon, Aug 26, 2019 at 09:20:50AM -0700, Tony Lindgren wrote: > > * Markus Elfring [190826 06:31]: > > > From: Markus Elfring > > > Date: Mon, 26 Aug 2019 15:05:31 +0200 > > > > > > A null pointer would be passed to a call of the function "kfree" directly > > > after a call of the function "kzalloc" failed at one place. > > > Remove this superfluous function call. > > > > > > This issue was detected by using the Coccinelle software. > > > > Applying into omap-for-v5.4/soc thanks. > > Is it really wise touching almost dead code? Last user is pandora board, so > +Cc: Nikolaus Schaller Yeah would be good to finally get rid of that old code. Anyways, I'll keep the $subject patch to cut down on coccinelle produced issue. Regards, Tony