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.2 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,UNPARSEABLE_RELAY,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no 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 8BE69C3A5A3 for ; Tue, 27 Aug 2019 18:15:17 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 621862186A for ; Tue, 27 Aug 2019 18:15:17 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="FGYCtP3I" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 621862186A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-mips.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=nGeO2O49Wqqt2sq+cOj6iqwiIiKDzfIQ37Hcnpc8QRk=; b=FGYCtP3IVF5Kmq AC8uvS6YslQCcTHYo2gLF4zmKWx916zaqGhe63jkZgdxm0Or5/YeYuGwhkpyBtJTjnhPeOEYZOSWB Hy0oZKzLjEdMzDYedla4qcl9mLQyxv1aoX+HqeSN1GFmkZD2POE72ij9MhlEn6KC3VvgYnW0RaGk/ +YaPUfS/nukNUkGLqNm7+++vKhvEKCDSiakkED7rcsmC5yr+/wbZBD55HJtafnjpYC40RFi1x7UTb e7T/J5EYliSt9To+N0HcYRuBGYFsLBwLQFFYC2DzZXGVc2EIfYr2/acEl38wJ9Lz3SCEjdQf6HlIr t6XNXHjLtBBVI4bMyL3A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i2fzp-00062s-TE; Tue, 27 Aug 2019 18:15:09 +0000 Received: from eddie.linux-mips.org ([148.251.95.138] helo=cvs.linux-mips.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i2fzk-0004sI-OG for linux-arm-kernel@lists.infradead.org; Tue, 27 Aug 2019 18:15:07 +0000 Received: (from localhost user: 'ladis' uid#1021 fake: STDIN (ladis@eddie.linux-mips.org)) by eddie.linux-mips.org id S23992798AbfH0SPAV-MII (ORCPT ); Tue, 27 Aug 2019 20:15:00 +0200 Date: Tue, 27 Aug 2019 20:14:57 +0200 From: Ladislav Michl To: Tony Lindgren Subject: Re: [PATCH] ARM: OMAP2+: Delete an unnecessary kfree() call in omap_hsmmc_pdata_init() Message-ID: <20190827181457.GA16333@lenoch> References: <69025c8c-8d84-6686-138b-cde59467b802@web.de> <20190826162050.GX52127@atomide.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190826162050.GX52127@atomide.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190827_111504_795378_DD6D482D X-CRM114-Status: UNSURE ( 7.83 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paul Walmsley , Balaji T K , kernel-janitors@vger.kernel.org, Kishore Kadiyala , Russell King , LKML , Markus Elfring , Nikolaus Schaller , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Benoit Cousson Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel