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:
 <OSAPR01MB27727E4A9C09F399A7A4FA02FFA32@OSAPR01MB2772.jpnprd01.prod.outlook.com>
Date: Sat, 29 Mar 2025 13:04:42 +0000
From: John Madieu <john.madieu.xa@...renesas.com>
To: Markus Elfring <Markus.Elfring@....de>,
	"linux-renesas-soc@...r.kernel.org" <linux-renesas-soc@...r.kernel.org>,
	"linux-pm@...r.kernel.org" <linux-pm@...r.kernel.org>,
	"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>, Conor Dooley
	<conor+dt@...nel.org>, Daniel Lezcano <daniel.lezcano@...aro.org>, Geert
 Uytterhoeven <geert+renesas@...der.be>, Krzysztof Kozlowski
	<krzk+dt@...nel.org>, "Rafael J. Wysocki" <rafael@...nel.org>, Rob Herring
	<robh@...nel.org>
CC: John Madieu <john.madieu@...il.com>, LKML <linux-kernel@...r.kernel.org>,
	Biju Das <biju.das.jz@...renesas.com>, Lukasz Luba <lukasz.luba@....com>,
	Magnus Damm <magnus.damm@...il.com>, Stephen Boyd <sboyd@...nel.org>, Zhang
 Rui <rui.zhang@...el.com>
Subject: RE: [PATCH v4 3/5] thermal: renesas: rzg3e: Add thermal driver for
 the Renesas RZ/G3E SoC

Hi Markus,

Thanks for the feedback.

> -----Original Message-----
> From: Markus Elfring <Markus.Elfring@....de>
> Sent: Saturday, March 29, 2025 2:02 PM
> To: John Madieu <john.madieu.xa@...renesas.com>; linux-renesas-
> soc@...r.kernel.org; linux-pm@...r.kernel.org; devicetree@...r.kernel.org;
> Conor Dooley <conor+dt@...nel.org>; Daniel Lezcano
> <daniel.lezcano@...aro.org>; Geert Uytterhoeven <geert+renesas@...der.be>;
> Krzysztof Kozlowski <krzk+dt@...nel.org>; Rafael J. Wysocki
> <rafael@...nel.org>; Rob Herring <robh@...nel.org>
> Subject: Re: [PATCH v4 3/5] thermal: renesas: rzg3e: Add thermal driver
> for the Renesas RZ/G3E SoC
> 
> …
> > +++ b/drivers/thermal/renesas/rzg3e_thermal.c
> > @@ -0,0 +1,445 @@
> …
> > +static irqreturn_t rzg3e_thermal_adc_irq(int irq, void *dev_id) {
> …
> > +	int new_temp = temp_val * MILLIDEGREE_PER_DEGREE;
> > +
> > +	scoped_guard(spinlock_irqsave, &priv->reg_lock) {
> > +		priv->cached_temp = new_temp;
> > +	}
> > +
> > +	complete(&priv->conv_complete);
> …
> 
> Are curly brackets really relevant for such a “scoped guard”?
> https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tre
> e/Documentation/process/coding-style.rst?h=v6.14#n197
> 

Will fix it in v5.

> Regards,
> Markus

Regards,
John

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ