Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp3249852pxb; Thu, 10 Feb 2022 16:24:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJz3MRAACkhKWH4MZZqQ7YLMgXv08kT6nUOrsizweUvsDArsYF+Ih+WPZBaKJcK7QIvBgyCN X-Received: by 2002:a17:902:f2c2:: with SMTP id h2mr10057320plc.2.1644539082838; Thu, 10 Feb 2022 16:24:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644539082; cv=none; d=google.com; s=arc-20160816; b=Wgu7gsnmiASiOLpxVjDChclV6zJ8rIbQTFg2F5ZZpwagyMfpdFDodrVnln48YecjgU foYq/LrcCvWjbq4S21ImygL/QFeGqg/oCqPw8WNQlySh2vuJWcGUISqZid02DKGLNozG yiUlqp4THHjBdBLk263Yg6JzQk0D9bimIlwkoWBa/TK1xnAa9DqIMt4lP93uT9vFJT6G uOdkLUVhPR+DcML0C2BDoH02E6SNd/SdQF0ItiJ79bRtVIHJhTq43Uu5j1wzNC3e/yS4 5b9fChlXWcv6mNG0VzYW95+4Dt9JBT7K9FUrZwBUs4qAie/qonFhghQYF4zAdodGgwdo Kbhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=E7OoL04aP+MZeQy8gEUASlkgu2toqHuHNgEWJOzWKkI=; b=sj/ArKeNh4F4Xq6SX7L8dR8srRrqO04sp9lbcs/7wwm8L4H+2z+bVDwk7z13QDi8oQ VssR8sgD11i50ZI0Xf2ydJ296Yg+g6ZQtDmXTD6TJDR2eIow57Ib1hoDqXQXOirFBVVW MlLDwRK2RjqpZvaTBEuCzT+kR2urtVyAsKfk34aT/ktBkjwEGWzl1RkYqrzetYo+gV8r yK5cGg+OVcud+E8kiFrmoYEFwgY04ZW5Wq01t4wIOOSuWCq80hHdD0qoOt0uF60jtvIs MoNroWvsMKKtg5V0MEgcItOOzdfOuJi0gHzIyeTGBqhVGoFGaInz49mREAyZKYZl0T4M VdXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=STyD92iM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d70si9954918pgc.586.2022.02.10.16.24.29; Thu, 10 Feb 2022 16:24:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=STyD92iM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346221AbiBKAPi (ORCPT + 99 others); Thu, 10 Feb 2022 19:15:38 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:49838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346214AbiBKAPh (ORCPT ); Thu, 10 Feb 2022 19:15:37 -0500 Received: from mail-yb1-xb2f.google.com (mail-yb1-xb2f.google.com [IPv6:2607:f8b0:4864:20::b2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 017F22735 for ; Thu, 10 Feb 2022 16:15:38 -0800 (PST) Received: by mail-yb1-xb2f.google.com with SMTP id 192so20182950ybd.10 for ; Thu, 10 Feb 2022 16:15:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=E7OoL04aP+MZeQy8gEUASlkgu2toqHuHNgEWJOzWKkI=; b=STyD92iMRI0ITMeRrZZIgrsOTqWv1OtmvKboQgkN8aHCeb6qmGBZytZN5kIu8+b5AB FM95HInfiaDAapUiv/80ZCTLvpJgeTC/hvl1gCpJ08wK35dPxUz2ctLpohgB7m3nIj0Y WmO+83UiTjZSSEygrYn1m1c2lMnsa1k7yzX57aoMAgU82rQg1S9T46OlWV3M8urvhhGD 7okaYEU+fobCrAf3l6IwhUznoZR4ZQdjP7Z8hsI0Nar2PJGrmalR7C581w0B/kPRqvQ7 k8tgqGsGgyRu+J7ohCT3R4zi1SdWCWAyUAolivGpxAaxiG376F6K5TYtIjaM4xR+ZN9c SAfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=E7OoL04aP+MZeQy8gEUASlkgu2toqHuHNgEWJOzWKkI=; b=6YQX1J82Ez52nlzYnCkQnI9Z7sjITxXlHjDJ726d2nOACAz/HJQi6+TVTKIC2nYxz6 f3mytEGdhX2jn6HUptdkYOPoPkOW5vzw2ps/KFp509BIeHBa5DKmHYpvb/G5wl30aTy9 WnFjx5ue3mvvrcjaGImYgxzftOiy+KMrfderBS3DIV2hJxxw23Xw0Y1Hd6QMdGB3Gjhv k+n881mpLGRXXTKv0h0dp2M98AbPhurgRNq3qcIVw4neKQaotrS0YjECzxcfA1vIL8UJ WtJ4bObD4jRLM3hd5hg8v1MPWH+0DYxz2u7qtK7WMbYE8qV8RjNzTEeibiBWyQAPoewI 495g== X-Gm-Message-State: AOAM5323Zb12GhfIFETJhJK9l/EhOC90bve9sFiBl8qK9ntA4/k83e3O z1rzentQo01Z62Dlr1VBb7Oa/s48OgMNHTlTVJB52Q== X-Received: by 2002:a25:103:: with SMTP id 3mr9355820ybb.110.1644538537279; Thu, 10 Feb 2022 16:15:37 -0800 (PST) MIME-Version: 1.0 References: <20220209162607.1118325-1-maz@kernel.org> <20220209162607.1118325-11-maz@kernel.org> <87zgmz3xbf.wl-maz@kernel.org> In-Reply-To: <87zgmz3xbf.wl-maz@kernel.org> From: Linus Walleij Date: Fri, 11 Feb 2022 01:15:25 +0100 Message-ID: Subject: Re: [PATCH 10/10] pinctrl: starfive: Switch to dynamic chip name output To: Marc Zyngier Cc: Emil Renner Berthing , Linux Kernel Mailing List , "open list:GPIO SUBSYSTEM" , Bartosz Golaszewski , Matthias Brugger , Grygorii Strashko , Santosh Shilimkar , Kevin Hilman , Tony Lindgren , Thomas Gleixner , Vladimir Zapolskiy , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , kernel-team@android.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 10, 2022 at 10:06 AM Marc Zyngier wrote: > On Wed, 09 Feb 2022 23:30:55 +0000, > Emil Renner Berthing wrote: > > The gpio framework seems to fill in default handlers in the struct > > above, so unfortunately it can't yet be made const. Is this something > > you intend to fix in the future? > > This is next on my list of things to address. The whole 'let's copy a > whole irqchip structure and hijack random pointers' should not have > happened, and it certainly is going to be an interesting ride. Sorry about that... Probably my bad idea. The only upside is that the things that are ugly are centralized to one spot. Yours, Linus Walleij