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.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,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 04CA0C3A59F for ; Mon, 26 Aug 2019 16:21:10 +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 C9C292173E for ; Mon, 26 Aug 2019 16:21:09 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="vAQX5NcG" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C9C292173E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=atomide.com 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=u4JRb2OjViZeBtLR5MXjYNjJCaW3FY1QEBOGceUbh+U=; b=vAQX5NcGmTuueG jlRabtRBFRgs8EDfUe4T9qVS3fptjmvrXeHELklcuWPJYagcueeDIhUuLxR13EeYsKTk7ntJb5h1N Ke8a6fLnYVmYIsZN8L/d8pyMAZ3g9uHZoNUcJkyBC8aYO+naqTOA3T7h4jdFaUwttaMpoUwfnn7L2 UU8cAx8Dh05eo3xEliPmTwZPBdH8A7vsgyHV7Ey100gnZmpxY7TdvdZdqKtgUndFb4wQNtXvTYrr5 7aAdpSFocGkgWV6Epgp4ueAXLOHwPNq88FzJRQfR1K/odSlaGC0PrHUPr9PMUBhORZXIzW/vgdihO XV62VJdxjZfvk9yo0HZg==; 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 1i2Hjq-0004Jc-BY; Mon, 26 Aug 2019 16:21:02 +0000 Received: from muru.com ([72.249.23.125]) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i2Hjh-0004GG-Oe for linux-arm-kernel@lists.infradead.org; Mon, 26 Aug 2019 16:20:56 +0000 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 2F6C080AA; Mon, 26 Aug 2019 16:21:22 +0000 (UTC) Date: Mon, 26 Aug 2019 09:20:50 -0700 From: Tony Lindgren To: Markus Elfring Subject: Re: [PATCH] ARM: OMAP2+: Delete an unnecessary kfree() call in omap_hsmmc_pdata_init() Message-ID: <20190826162050.GX52127@atomide.com> References: <69025c8c-8d84-6686-138b-cde59467b802@web.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <69025c8c-8d84-6686-138b-cde59467b802@web.de> User-Agent: Mutt/1.11.4 (2019-03-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190826_092053_991256_87318EF1 X-CRM114-Status: UNSURE ( 7.54 ) 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 , Kishore Kadiyala , kernel-janitors@vger.kernel.org, Russell King , LKML , 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 * 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. Tony _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel