Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp4641075rwe; Tue, 30 Aug 2022 14:07:58 -0700 (PDT) X-Google-Smtp-Source: AA6agR6/KR7NFBmkHz8py5hGZr5i0dhMGMpYKvkfb++bmTDoW/1loyobwoGwgiLlWaeIN62N2bJ2 X-Received: by 2002:a17:902:db05:b0:172:f759:f989 with SMTP id m5-20020a170902db0500b00172f759f989mr22949908plx.58.1661893678421; Tue, 30 Aug 2022 14:07:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661893678; cv=none; d=google.com; s=arc-20160816; b=nZEXDSIz7PkeIbav2U545YGiCazS55YFgiPWcZhtwTz1QMBUqL+3wj018iXy+uakYO WkBJtMlHzziCBvzmfAAvD1BA2yZ3PKlKAkFzjEb5N6cQLr8ASZz/XWSbXCQeeOw+1w6w xoMezlOamsrH5nMmgIdJMqMQ3iePE4UGEkN3rxUXOFulAVAEMV6eOtG9CXfHqJRFnmza EjLxCDdyHOj5RU/70D4il5GNdr4pdSdllkuCIcpYF9+B3KBMLemoQe61/jB9/vm38lx5 N10mE+QYpxzuqPPF4JxGylNXID9bcQ+0nziZ4p1MXcvZgD3tfETbJqetvwM2WiryFlr5 23tg== 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=2oDd4h4DIBnRzhIpmRumeZRBdYqPGMhcxb8F+vf+ris=; b=PQyGInUPOP9/c5LxfDQ/+ocNOaZYtWBlC4/hwJ6zwAY8R3o597UMJ9swpYeSGrB5E7 qQutfIhHRduNrbGoKhj5XyRb/UaJLarpaX/XOmzPmu+24Hwt1WKScu3BDXr+cdMYeMne Qr55Nx/w42gC6DOWm0HGAUKsOcoRikvBMPsXWkqf7ZUXayujEq0aP2qu7Jj5KybzNSrx QXIlHcggF1QpJ/9xAeNBQXsY2P+TbLDrBF2EaQnIf+M2wWsS3KlxP9PRnNbaoZ4YkHsy bUBr6nC15WDTYf7HNZ/J8di+9IEAPIXtMeOzER8L9Ri2wRtfvx9VFf4ED+ye9Ks00p2k vkKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=lwss9vL6; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s9-20020a632c09000000b0042b8f6e3002si2743771pgs.824.2022.08.30.14.07.24; Tue, 30 Aug 2022 14:07:58 -0700 (PDT) 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=@gmail.com header.s=20210112 header.b=lwss9vL6; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231189AbiH3UPh (ORCPT + 99 others); Tue, 30 Aug 2022 16:15:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38178 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231520AbiH3UPV (ORCPT ); Tue, 30 Aug 2022 16:15:21 -0400 Received: from mail-qk1-x730.google.com (mail-qk1-x730.google.com [IPv6:2607:f8b0:4864:20::730]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 265534BD35; Tue, 30 Aug 2022 13:15:15 -0700 (PDT) Received: by mail-qk1-x730.google.com with SMTP id w18so9340810qki.8; Tue, 30 Aug 2022 13:15:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=2oDd4h4DIBnRzhIpmRumeZRBdYqPGMhcxb8F+vf+ris=; b=lwss9vL6GllnCxaHvs4pYtqqhUN7BrEe4V3MmAXKcl6i1DaXRxWL0skx/d+4D9ksnP I6CIOi6VO6bkNyoyiFxtQKxKLPwIniJKzbipVdi/hGmIRRGoJ6Nxq1k5l1TJK23ibTjf 9eOlgFNsH681eBlNFuV7PwWGdFzuMYdWdQvSKnlVJ5cklWC7zcGOeA3WvpFP8laaI+KJ kVFwrigBSb3fLyUzg1/6OqYe23YchC9AlQpnsf1H+hzXGp/mLf7Ol1g01GS3e4Ddvb5F dkg5i2LasV9wX6/TrwNX2np8JbyBLRPqlzfs2FGUZGckcPX8lfvMA6N2p2bk67azscKu XiVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=2oDd4h4DIBnRzhIpmRumeZRBdYqPGMhcxb8F+vf+ris=; b=2JCwt3uibh9vqLXdRDOp3Q0zcFt1OI6h+HqNf2PWNPz5WbPXIIm5Pv7FryE92xIGDV 4nvwAJbdFzqn+sknq7dQvqQxfOlhDiPtcbKurqxMuf2kpNqxQ0XeZjO5pTIlHT6Nvc/J YYE4A1xUi04lexLQDNkheq9ffiTbwNfzLrwsJH9IkLisq8l2M2l20gc7XT1l89OAb09S 8ZvemqF0ttMgMkYlxIpY24DEju6Cx+BOc+nyb00Wl5iQgQn6HG41dXTXXs7X1qCO0iT1 hU3YyHfsYLuJH/VamxuhXbtiLUjXS0BvHxCnlteJGas4oEUjvYEuWU8wG6ci8kklAH3D lcEQ== X-Gm-Message-State: ACgBeo1oZI3NDE+h3Wm1A7rPTqjhn/3HFmpdES3QBjoqFmtocyyhWQ/5 6rqQujtOQnjz3RcvgO64HmO4gz2a1q732r0EIUo= X-Received: by 2002:a05:620a:2987:b0:6ba:dc04:11ae with SMTP id r7-20020a05620a298700b006badc0411aemr13208392qkp.748.1661890515093; Tue, 30 Aug 2022 13:15:15 -0700 (PDT) MIME-Version: 1.0 References: <92aaf098d7039fd4040015b07ba1f99daf674f50.1661789204.git.christophe.leroy@csgroup.eu> In-Reply-To: <92aaf098d7039fd4040015b07ba1f99daf674f50.1661789204.git.christophe.leroy@csgroup.eu> From: Andy Shevchenko Date: Tue, 30 Aug 2022 23:14:39 +0300 Message-ID: Subject: Re: [PATCH v1 3/8] gpiolib: Warn on drivers still using static gpiobase allocation To: Christophe Leroy Cc: Linus Walleij , Bartosz Golaszewski , Geert Uytterhoeven , Keerthy , Russell King , Arnd Bergmann , Jonathan Corbet , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , Catalin Marinas , Will Deacon , Linux Kernel Mailing List , "open list:GPIO SUBSYSTEM" , linux-arm Mailing List , Linux-Arch , Linux Documentation List , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" 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,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Mon, Aug 29, 2022 at 7:18 PM Christophe Leroy wrote: > > In the preparation of getting completely rid of static gpiobase > allocation in the future, emit a warning in drivers still doing so. ... > + dev_warn(&gdev->dev, "Static allocation of GPIO base is " > + "deprecated, use dynamic allocation."); First of all, do not split string literals. Second, you forgot '\n'. -- With Best Regards, Andy Shevchenko