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=-5.2 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,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 F1000C43613 for ; Thu, 20 Jun 2019 06:04:36 +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 C745D20B1F for ; Thu, 20 Jun 2019 06:04:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="fN5V9/L9"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="a3w70onm" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C745D20B1F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linuxfoundation.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=1zpkhTzY8ewm8GbHPEXtuERAOmeDso07Z1IYVX6vyxI=; b=fN5V9/L9gas/vb hbToW8WIbnINRGGd2HpjNBYMl0ghjMEdMK+BGL0onB5r7B9ktQ4ZGQSxq+rAEigdocCrEX+sOBJ/m r7Gaf/k7XzPi1QHWlZ+ws4nBezfQ/27x/5ap+eA+6J8sM9vv+xY0m2mAVqTXejtc2MzrLExqTI2kF zEOvdfvmdQKOzRtqwMMjS9PzYGgVLH/HL3/m5BgDBmM1JRCIt0QEjDcACEIVdsW057444yM2u0LG0 ++ltWaQeRLd2G7IwxVqS1RNwv/bLWDFJUgLtf6gNaMZyj7WEIjJ/I7wwhw8cs4TwSeNGaip5mmYKo PmNNy8lAkG2ZflzaW7sg==; 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 1hdqBX-0000xZ-Px; Thu, 20 Jun 2019 06:04:35 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hdqBS-0000uU-81 for linux-arm-kernel@lists.infradead.org; Thu, 20 Jun 2019 06:04:32 +0000 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6975D20B1F; Thu, 20 Jun 2019 06:04:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561010669; bh=bjMarei0fGk6sul762FB4Tz8hOqKyjXu9friWs0xqsI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=a3w70onmlnmkrp/kTiOsyNA6OvfVrSopxHo1fm913ttOumAmy3Z6WTBzCp1bqcp8b g/vnrJxQ1g7DXo9M3NPlPoGsE7Uv5I367br58hB99SLJmYAHCGEw7H0ExUGRIMHIrG 3OyEk4qZ+GyOm7uTG3uJTkmW3bna9+/ar3qSOKHE= Date: Thu, 20 Jun 2019 08:04:27 +0200 From: Greg KH To: Mathieu Poirier Subject: Re: [PATCH 24/28] coresight: Potential uninitialized variable in probe() Message-ID: <20190620060427.GE26319@kroah.com> References: <20190619195318.19254-1-mathieu.poirier@linaro.org> <20190619195318.19254-25-mathieu.poirier@linaro.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190619195318.19254-25-mathieu.poirier@linaro.org> User-Agent: Mutt/1.12.1 (2019-06-15) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190619_230430_487892_3FC3EDF0 X-CRM114-Status: GOOD ( 10.91 ) 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: linux-arm-kernel@lists.infradead.org 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 Wed, Jun 19, 2019 at 01:53:14PM -0600, Mathieu Poirier wrote: > From: Dan Carpenter > > The "drvdata->atclk" clock is optional, but if it gets set to an error > pointer then we're accidentally return an uninitialized variable instead > of success. > > Fixes: 78e6427b4e7b ("coresight: funnel: Support static funnel") > Signed-off-by: Dan Carpenter > Signed-off-by: Mathieu Poirier > --- > drivers/hwtracing/coresight/coresight-funnel.c | 1 + > 1 file changed, 1 insertion(+) 5.2-final please. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel