Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3195383ybl; Sun, 11 Aug 2019 17:53:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqwTPF7RouhsSS43ZZ6pY748Su1oO9C9TZFdUsbKsBkfsHkoUAjyLd4tzMdgnG7FY+pXdu2p X-Received: by 2002:a63:ff03:: with SMTP id k3mr28548898pgi.40.1565571201466; Sun, 11 Aug 2019 17:53:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565571201; cv=none; d=google.com; s=arc-20160816; b=nQMVRAIhGFuAlphvePaoO3oRjtxVTpBUDIBMXZlrXenKUQLkSUWydevwxiZLShwMgD ESl4yjRU1w8vQK9LL7JG0UScGDDvJIJo079xtg/Vy2MxBfvWPR/YpMgNnapQJwQCtudf dl2VHvpm7Iiy4mOt8C6FBD+MJfoqraYnex7hklRKrLRwDuqQ8a/yzkk02XDi9brJ/6HL NPpzWFqnr4YGhrDAjTyuejEGMTRzQ5AgcuMk9q6Wj8hD+yD6ZD7vp9HqtwQYOAX41sqw xm5jZEHLdC+MTsdPnZJam3MPz+vWu8WTvEeZG7+zZuXg5MgW1iKFeQx6//8IOvIno5aV y4yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:cc:to:from:date:references :in-reply-to:message-id:mime-version:user-agent:dkim-signature :dkim-signature; bh=/vRZS0DH6BibYTI+jPSXeATx8DCWgvzKB2bf68zgCYQ=; b=uYA+JctubCc3Kcsnt/C45FJ4WvBSgNySUf32Hi+HLrJaKopehV4i52IqqlFM73AvCE qFfF1DYlNeXuOBfsub5DmSJTSvgSNF9VBBzrEt5dkg5XEMG4ybi3WRADNlar+6ELCpaX 1OdYOMTM0vbDZpqm4f4MejmdhPUFnozkwqT5aaClY6j8bTxvoDcwbKyc6N9U0kgn2sIu +x7FXrMWp/BMzOHextW2hAn/EbuhHHQ5dNEaX6bqP9uStlZKFUEpGzYNKEmo2DZjFoq7 mSeRQN5b+hPYG3Z2LldOKL+Yx500nuDytvcybMFpRE5tQXW+ee+0eBG2oLo6RPaa6uyM QhTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aj.id.au header.s=fm3 header.b=OQek2Bg6; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=l4EgbgtF; 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 v184si59920263pgd.278.2019.08.11.17.52.52; Sun, 11 Aug 2019 17:53:21 -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; dkim=pass header.i=@aj.id.au header.s=fm3 header.b=OQek2Bg6; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=l4EgbgtF; 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 S1726693AbfHLAv4 (ORCPT + 99 others); Sun, 11 Aug 2019 20:51:56 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:58985 "EHLO wout3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726144AbfHLAv4 (ORCPT ); Sun, 11 Aug 2019 20:51:56 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id A1B5321E; Sun, 11 Aug 2019 20:51:54 -0400 (EDT) Received: from imap2 ([10.202.2.52]) by compute4.internal (MEProxy); Sun, 11 Aug 2019 20:51:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aj.id.au; h= mime-version:message-id:in-reply-to:references:date:from:to:cc :subject:content-type; s=fm3; bh=/vRZS0DH6BibYTI+jPSXeATx8DCWgvz KB2bf68zgCYQ=; b=OQek2Bg6nPx+MsQpoORrSMQGYewK50sRAfUejX06ZLWlOBG gn7XgbylvKurPPS5ys0R5IVfpXhTFMDXdWyX0mKClfr7T75O5bD3f7IJCU8Gh1s9 YLSS1rsgbUsk6QfhyFv/srD+1BbDXgAD/89Y6r5vMCbhP9aHbxgE3KuY82EDN/lr ZvhX5WsHp78jWXRxsr1DhvuTJ+Kwk7Fe9op7n1PpfNiGdGVukF2WR1N6g33Be3Vc bM/HCQrRjmhxp7v/owwpJezKnNwEDyY3ZcYKrLEIXy9CSCRiHnaPJmHKzW+D760P DtNmt1qWG4i9DP9UQQSYbunB5/D26fewO9BxAow== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=/vRZS0 DH6BibYTI+jPSXeATx8DCWgvzKB2bf68zgCYQ=; b=l4EgbgtFwY2Rpc1UyNz2W+ SVRmVfLyLc4sGVwItuaAv9LJ/jyolnlF5S9783mgLebzuLBhoA29b1mfBtjfXlts nt6Qa/vDIhZUFwfSEXXitbVgP54MPr45swxOvFlpy1+X3/48Sn0flYvsdCrocClv MS3KOs2ZS3tyoY8zAwtSmlqSnwXglqStBVKdLy+19+/SJEqTHkK1H2fie7Hp1zmr s/KUU61alWy7z+Exs29OZunIrAoHKqq2YxK/idCRFkgRJ9dDk7/GeUA6L/jk0Y2V rtlWVclnKR7Ik144F39sFM0Y3e3Uk4/gh97MJmSnTUM/2RfPfMPFeW61hPmPH+9A == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddruddvfedggeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesthdtredtreerjeenucfhrhhomhepfdetnhgu rhgvficulfgvfhhfvghrhidfuceorghnughrvgifsegrjhdrihgurdgruheqnecuffhomh grihhnpehgihhthhhusgdrtghomhenucfrrghrrghmpehmrghilhhfrhhomheprghnughr vgifsegrjhdrihgurdgruhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 0A5CCE00A2; Sun, 11 Aug 2019 20:51:52 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.6-809-g8e5c451-fmstable-20190809v1 Mime-Version: 1.0 Message-Id: In-Reply-To: References: <20190807003037.48457-1-natechancellor@gmail.com> Date: Mon, 12 Aug 2019 10:21:55 +0930 From: "Andrew Jeffery" To: "Linus Walleij" , "Nathan Chancellor" Cc: "Joel Stanley" , linux-aspeed , "OpenBMC Maillist" , "open list:GPIO SUBSYSTEM" , "Linux ARM" , "linux-kernel@vger.kernel.org" , clang-built-linux@googlegroups.com Subject: =?UTF-8?Q?Re:_[PATCH]_pinctrl:_aspeed:_g6:_Remove_const_specifier_from_a?= =?UTF-8?Q?speed=5Fg6=5Fsig=5Fexpr=5Fset's_ctx_parameter?= Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 10 Aug 2019, at 17:43, Linus Walleij wrote: > On Wed, Aug 7, 2019 at 2:32 AM Nathan Chancellor > wrote: > > > clang errors: > > > > drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c:2325:9: error: incompatible > > pointer types initializing 'int (*)(struct aspeed_pinmux_data *, const > > struct aspeed_sig_expr *, bool)' with an expression of type 'int (const > > struct aspeed_pinmux_data *, const struct aspeed_sig_expr *, bool)' > > [-Werror,-Wincompatible-pointer-types] > > .set = aspeed_g6_sig_expr_set, > > ^~~~~~~~~~~~~~~~~~~~~~ > > 1 error generated. > > > > Commit 674fa8daa8c9 ("pinctrl: aspeed-g5: Delay acquisition of regmaps") > > changed the set function pointer declaration and the g6 one wasn't > > updated (I assume because it wasn't merged yet). > > > > Fixes: 2eda1cdec49f ("pinctrl: aspeed: Add AST2600 pinmux support") > > Link: https://github.com/ClangBuiltLinux/linux/issues/632 > > Signed-off-by: Nathan Chancellor > > Patch applied with Andrew's ACK. FYI this fixes pinctrl/for-next which is likely where Nathan ran into the issue, however to fix pinctrl/devel we'll need a back-merge of pinctrl/fixes, or to apply 674fa8daa8c9 ("pinctrl: aspeed-g5: Delay acquisition of regmaps") to pinctrl/devel also. Fixing that bug was unfortunate timing wrt the 2600 driver. Andrew