Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp4399360ybl; Mon, 26 Aug 2019 09:51:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqzj3qvt8Gcq7tmz8OnFQxuVmtrhKY5iIcw1UMB+yeTp2t0/TpIu0B2TjkGtsT5mCVIUbPH7 X-Received: by 2002:a17:90a:250c:: with SMTP id j12mr20795209pje.96.1566838284371; Mon, 26 Aug 2019 09:51:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566838284; cv=none; d=google.com; s=arc-20160816; b=M8Y4WMh2SkxgQ09HX7euidhJUo56uwulRYckBq0v0ytlX8B1sfNkYCc9PbWK56k0ro X2xyJFZvXyyQ8yJcxrmCaw949f4skAVcowzM5R5hh8ArujclMuiXQwqXOm4EOanebBFm ZVyXB7OgqPyF1Q1boGy3LoyM1LucqtLhVAIGy/GKP+voYlV29MujSjTh1eZ0Z3U0Ovz8 TuJP50ClMCiOf027s/WITWUZ7YfW5GsGD8U8a74kUWJr98w2B0iHGe4x9nw1h/FXsubr BPsOzE19bcOcyiSeJCovyTUDtW7yP3onY/pS1cfOfG8N5bg+jEK6PYtCqGCm9OuKDuz0 HPPw== 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=8FyvmS/f2ZZdN0AqV3iIhfkmv3Nyi2yGGp3VSbir2Dc=; b=a1h9Hq5nX1FYiAsXz9tyH3JRgq83RaKmVfBj9zM1HwO9EWMW34mY2o9WEDY9rU09WG iUoFE9F6SmyK6URFPF/FsPeyaUGfJ2Poh66YuK3Bmi9Tz8DG/l4WGftZyywCkcoBAblx 31uk+lfZwMft+ICXUwiW7YvKqjK+4LyF87ulVrLt1+W+jnW9bzsYIdHrK3asMYX9y948 4bYVXvamxGFeTvvEO1kaZe/jeYdYoHOchd+foBdwbhtGgmNDLpJQysTI744mLZyinW7L CRU11eGokR2q1w1ttgEfi+zEumn64KJ1dzd/WXQSd0YmNY+dIP3lxE23O/kNf2ixmg6r DYUQ== 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 cq14si21826pjb.108.2019.08.26.09.51.09; Mon, 26 Aug 2019 09:51:24 -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 S1732777AbfHZQUy (ORCPT + 99 others); Mon, 26 Aug 2019 12:20:54 -0400 Received: from muru.com ([72.249.23.125]:58696 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730327AbfHZQUx (ORCPT ); Mon, 26 Aug 2019 12:20:53 -0400 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 Cc: 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 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <69025c8c-8d84-6686-138b-cde59467b802@web.de> 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 * 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