lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9cbaf60cd6cf1a581e7587088f71ca7cf6b6ff37.camel@crapouillou.net>
Date: Sun, 17 Dec 2023 15:43:24 +0100
From: Paul Cercueil <paul@...pouillou.net>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: Linus Walleij <linus.walleij@...aro.org>, Bartosz Golaszewski
 <bartosz.golaszewski@...aro.org>, Geert Uytterhoeven
 <geert+renesas@...der.be>,  Rasmus Villemoes <linux@...musvillemoes.dk>,
 Biju Das <biju.das.jz@...renesas.com>, Claudiu Beznea
 <claudiu.beznea.uj@...renesas.com>, Jianlong Huang
 <jianlong.huang@...rfivetech.com>, linux-arm-kernel@...ts.infradead.org, 
 linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org, 
 linux-mediatek@...ts.infradead.org, linux-mips@...r.kernel.org, 
 linux-renesas-soc@...r.kernel.org, Ray Jui <rjui@...adcom.com>, Scott
 Branden <sbranden@...adcom.com>, Broadcom internal kernel review list
 <bcm-kernel-feedback-list@...adcom.com>, Dong Aisheng
 <aisheng.dong@....com>,  Fabio Estevam <festevam@...il.com>, Shawn Guo
 <shawnguo@...nel.org>, Jacky Bai <ping.bai@....com>,  Pengutronix Kernel
 Team <kernel@...gutronix.de>, Sascha Hauer <s.hauer@...gutronix.de>, NXP
 Linux Team <linux-imx@....com>, Sean Wang <sean.wang@...nel.org>, Lakshmi
 Sowjanya D <lakshmi.sowjanya.d@...el.com>, Emil Renner Berthing
 <kernel@...il.dk>, Hal Feng <hal.feng@...rfivetech.com>
Subject: Re: [PATCH v5 03/13] pinctrl: ingenic: Use C99 initializers in
 PINCTRL_PIN_GROUP()

Hi Andy,

Le mercredi 13 décembre 2023 à 15:21 +0200, Andy Shevchenko a écrit :
> On Wed, Dec 13, 2023 at 10:55:46AM +0100, Paul Cercueil wrote:
> > Le lundi 11 décembre 2023 à 20:57 +0200, Andy Shevchenko a écrit :
> 
> ...
> 
> > > -#define INGENIC_PIN_GROUP(name, id, func)		\
> > > -	INGENIC_PIN_GROUP_FUNCS(name, id, (void *)(func))
> > > +#define INGENIC_PIN_GROUP(_name_, id,
> > > func)						\
> > > +	{							
> > > 			\
> > > +		.name =
> > > _name_,								\
> > > +		.pins =
> > > id##_pins,							\
> > > +		.num_pins =
> > > ARRAY_SIZE(id##_pins),					\
> > > +		.data = (void
> > > *)func,							\
> > > +	}
> > 
> > This INGENIC_PIN_GROUP() macro doesn't need to be modified, does
> > it?
> 
> We can go either way. I prefer to go this way as it reduces level of
> indirections in the macros. It makes code easier to read and
> understand.
> But if you insist, I can drop that change in next version.
> 

I like the patches to be minimal. But I understand your point of view
as well.

If you have to issue a v6, maybe state the reason why you also modify
INGENIC_PIN_GROUP() then. But I don't care enough to request a v6 just
for that.

So:
Acked-by: Paul Cercueil <paul@...pouillou.net>

Cheers,
-Paul

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ