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: <20250912122349.2247-1-cp0613@linux.alibaba.com>
Date: Fri, 12 Sep 2025 20:23:49 +0800
From: cp0613@...ux.alibaba.com
To: rafael@...nel.org
Cc: cp0613@...ux.alibaba.com,
	guoren@...nel.org,
	jeeheng.sia@...rfivetech.com,
	lenb@...nel.org,
	linux-acpi@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ACPI: SPCR: Support Precise Baud Rate filed

On Fri, 12 Sep 2025 11:29:44 +0200, rafael@...nel.org wrote:

> > +       if (table->precise_baudrate)
> > +               baud_rate =3D table->precise_baudrate;
> > +       else {> 

> The outer braces here are redundant and if you combined the "else"
> above with the "switch ()" statement below in one line, the patch
> would be smaller.> 

> > +               switch (table->baud_rate) {
> > +               case 0:

Thanks for your suggestion. I will modify it.


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ