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=-0.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS 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 3B66AC433DF for ; Mon, 1 Jun 2020 16:19:02 +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 0B93A2073B for ; Mon, 1 Jun 2020 16:19:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="tDK0oDU9" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0B93A2073B 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=EFKlDzi/mGmCySoqhpTRcYG9eXY89EfDT7CqPCuqEY8=; b=tDK0oDU9m7uMsQ c9S7X9bxsFV4alSfGktV5buZ8h4Ep81UExr7XK1zQwy4rzOwcBkXtFtFIBEZh6tSlI90YRnWp7Rx9 O0QSmuG5doA3i0S/VYmciKS534ICTjeueJPNNE1Wa0azVgdAb18mVSwAwxpNonEfMm7+xNZxDFOUt 0RDE8ke62sWPTkGtgzSjAt1gh0TEasBn7wjPOX+yEs3ZmwhFpvha+Y+MjVEtRhJaxx03R4otKdH5C ATqITW7AmCmcXdfeQu6wMXRXAoMWDZQ3cfQCP2eh/csIf7/UUxRdQxGfMpPD/lHFZ+1sx/HNEoNW2 KGl2q8XMG3Gh3rgIKA3g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jfn9R-0008N2-H7; Mon, 01 Jun 2020 16:19:01 +0000 Received: from muru.com ([72.249.23.125]) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jfn9O-0008MO-Uw for linux-arm-kernel@lists.infradead.org; Mon, 01 Jun 2020 16:19:00 +0000 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 36C6F804F; Mon, 1 Jun 2020 16:19:45 +0000 (UTC) Date: Mon, 1 Jun 2020 09:18:51 -0700 From: Tony Lindgren To: Drew Fustini Subject: Re: [PATCH] pinctrl-single: fix pcs_parse_pinconf() return val Message-ID: <20200601161851.GC37466@atomide.com> References: <20200531204147.GA664833@x1> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200531204147.GA664833@x1> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200601_091859_035197_CE2EDDD1 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: Linus Walleij , linux-kernel@vger.kernel.org, Robert Nelson , linux-gpio@vger.kernel.org, Jason Kridner , Haojian Zhuang , linux-omap@vger.kernel.org, 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 * Drew Fustini [200531 20:42]: > This patch causes pcs_parse_pinconf() to return an error when no > pinctrl_map is added. The current behavior is to return 0 when > !PCS_HAS_PINCONF or !nconfs. Thus pcs_parse_one_pinctrl_entry() > incorrectly assumes that a map was added and sets num_maps = 2. Looks OK to me, would be good to wait for Haojian to test this one. Regards, Tony _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel