Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp430771rwe; Thu, 25 Aug 2022 03:06:28 -0700 (PDT) X-Google-Smtp-Source: AA6agR5KEWd9Fn55R4uql4ikT7jt+64PzKyQYYk4NzdFNpbnx2sEEFQmeBlAWJOU528uB5Vdz3f0 X-Received: by 2002:a17:90a:4e07:b0:1fb:1253:475b with SMTP id n7-20020a17090a4e0700b001fb1253475bmr13134906pjh.0.1661421988028; Thu, 25 Aug 2022 03:06:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661421988; cv=none; d=google.com; s=arc-20160816; b=Nz9Mw6ZRKmlQrzTgfkBzw45Tu3en97R+Z/9RK755qJe1WZpoDWTxVtmOwXERbdN+ON 9qDomq0hseCfMe7iEfPixB1ozWSuGdZOaU0kmXtl0eIwqIddYKZ3ChT6AdoRn3pqbOVZ qwC044gyrXG6Ru28Clo7p8BvCl6V8/L9hfRlwayjYg4exdoT5Y4IE9hX4lLLtqFmP9MU C0eKZGbwaLzBFUn5tc5iHvRchUgG4FiBtpVD5MzjR4fgTp1LYeVAtpWKi1wp2hOJND1/ Jq2LOGWWUnoLxtRAZ8lunuYX5xX+skL47eMgc0M/ALQ2emqOMqzaWm9CdnKeM5NwNPyF OlDw== 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=Ms4JRfp4bbqLAxumr6FHHMASRC9sUuDO9ip+t7Y80b4=; b=RoRE+yfkczlYsQi+dosmLJUO9MFVXCjNvWmw52c1urlPlstcJL7bCATUAwBqqyHO3S 6484tSJGECWbo8HW8QnJPl92bkbj6YPBF64THBNKhm9sQOenrUZ6SWJtMFzbBngHdcle JC7ckyBwIx0CRUd9/tikB8EIRZUZ10XZeVhGwyHF5W3DvNeb6l+r64QCKBqFDZeHvmJJ iOFLgjmKjJ2goJkTefpPsluz2AaMwPTuUQ3qrTu7/YZpyqduu5UhFtCMpgnJFrw1kQal AnQOlGYzbPQdvCW54XHB5XSsEx1SNJxbFe2HfG4g3VLrZiv3f6FciDmk6k9Chs3APIf3 DpQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=mQWGNEnR; 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 f5-20020a636a05000000b0042b27166ae4si3228073pgc.65.2022.08.25.03.06.14; Thu, 25 Aug 2022 03:06:28 -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=mQWGNEnR; 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 S239693AbiHYJ5h (ORCPT + 99 others); Thu, 25 Aug 2022 05:57:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238311AbiHYJ52 (ORCPT ); Thu, 25 Aug 2022 05:57:28 -0400 Received: from mail-qt1-x82c.google.com (mail-qt1-x82c.google.com [IPv6:2607:f8b0:4864:20::82c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A285C12D33; Thu, 25 Aug 2022 02:57:25 -0700 (PDT) Received: by mail-qt1-x82c.google.com with SMTP id g14so5224400qto.11; Thu, 25 Aug 2022 02:57:25 -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=Ms4JRfp4bbqLAxumr6FHHMASRC9sUuDO9ip+t7Y80b4=; b=mQWGNEnRt44gWKCKTu/e1dqeZ2eg33XAX635iw8mSscZzw1ZOOPAfCuH0WQ29khJ3X 07hEdzqMcrkPN1PFLuTDvUPGplDryxZvRmaeYHXUGORC75sAvi5InL5D5VfC6AFKlgGC Pjp3H6+0OGNI6mdAJHB10IwPJk+GurFUzjHbbFVRCpDA3hRtcHsZg6pBcPEik6zSKTZB Jk4yPJQl+NK2hb1+rLdH2AJ0Ww8p33HeHf+8MJF2I6tVCoMrYle70VPWEFmWBMGw2+0/ BqMwLy9vs+wBXXRbNB07Wp3YkYuK9AC6dKUyfWSvtSgrTI5DYP/tsrcNX08yiKrbCQKP rAdA== 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=Ms4JRfp4bbqLAxumr6FHHMASRC9sUuDO9ip+t7Y80b4=; b=ty1MrL9qs87w3H7LPep4HNkKf9wTNMgita0CHemLHRoRK/kBeJ0M7ZdiBUgaThejUW Xarwiz3StdwnZ7B25o+K7/hLuJBOu+xBNFUzIMta1E/h0duaK5DafPc+F3hkmQsWiwEh oY21tjoVMzzXDHs7LtHbEJkNcrQnPzOD1GJHoeAZtQ13XSSsItNPYXipWoT2peTLEBqB KDPh76IbpUiivYy/MssQFLxhw2HOvHqP/GFOCiEHBpzFaukXgG/2zEANcpr3ac0dF65E 7LY5lJSr2N+icHtexQOcU2tG/Kq6g832I2P3c6PNPlXMjqCzqUti53Z9mD1Ua0Heueh1 mQCw== X-Gm-Message-State: ACgBeo3kfIS2g4hIWcB5AhvFMlsqsPyiXgfXH90azL9Th+e/CXfzKOL8 O6Vfcjcis8vSO+CzXsi1G0MTGHgJ+I3etYLEQswibIO/n6s= X-Received: by 2002:ac8:7dd0:0:b0:344:afc1:b11d with SMTP id c16-20020ac87dd0000000b00344afc1b11dmr2698470qte.195.1661421444713; Thu, 25 Aug 2022 02:57:24 -0700 (PDT) MIME-Version: 1.0 References: <20220824140347.1842-1-henning.schild@siemens.com> <20220824140347.1842-2-henning.schild@siemens.com> <20220825113203.4e14f4d5@md1za8fc.ad001.siemens.net> In-Reply-To: <20220825113203.4e14f4d5@md1za8fc.ad001.siemens.net> From: Andy Shevchenko Date: Thu, 25 Aug 2022 12:56:48 +0300 Message-ID: Subject: Re: [PATCH v5 1/5] gpio-f7188x: Add GPIO support for Nuvoton NCT6116 To: Henning Schild Cc: Linus Walleij , Bartosz Golaszewski , Pavel Machek , Hans de Goede , Mark Gross , Andy Shevchenko , Lee Jones , "open list:GPIO SUBSYSTEM" , Linux Kernel Mailing List , Linux LED Subsystem , Platform Driver , Sheng-Yuan Huang , Tasanakorn Phaipool , simon.guinot@sequanux.org 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, URIBL_BLOCKED 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 Thu, Aug 25, 2022 at 12:32 PM Henning Schild wrote: > Am Wed, 24 Aug 2022 18:59:17 +0300 > schrieb Andy Shevchenko : > > On Wed, Aug 24, 2022 at 5:04 PM Henning Schild > > wrote: ... > > > +#define gpio_dir_invert(type) ((type) == nct6116d) > > > +#define gpio_data_single(type) ((type) == nct6116d) > > > > What you are trying to do here is to put GPIO maintainers / heavy > > contributors on a minefield (basically moving your job to their > > shoulders). Please, provide a proper namespace and not gpio_ one. I'm > > talking in my "GPIO heavy contributor" hat on. > > No i was trying to avoid having to touch those other 4 existing macros, > touching lines that checkpatch.pl and you will pick on again. Adding > the prefixes just to those new ones would be inconsistent and also not > nice. Do you have other prefixes in those files starting with gpio_?! Now I see it. I'm not sure why this pops up only now. > > With that fixed I can survive w/o pr_fmt() being in this patch. If you > > are going to address this, you may add my tag in a new version. > > It is a bit unfortunate that you seem to be surprised where i said i > was going to not address this. Yes, because you are not a newbie and you know that the community doesn't work on a "take it or leave" basis. > And once the new series comes insist on > another round ... which involves testing and what not. Which is your job as a developer. > But hey, i will send a v6 with style refactoring patches and test it > all over again. Thanks! > Thanks everyone for the review, i hope that next version will be > acceptable and not open new discussion with the new patches coming. -- With Best Regards, Andy Shevchenko