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: <ZIy6KMbGTS9AU3JY@duo.ucw.cz>
Date:   Fri, 16 Jun 2023 21:38:16 +0200
From:   Pavel Machek <pavel@...x.de>
To:     Sasha Levin <sashal@...nel.org>
Cc:     linux-kernel@...r.kernel.org, stable@...r.kernel.org,
        Jim Wylder <jwylder@...gle.com>, broonie@...nel.org,
        gregkh@...uxfoundation.org
Subject: Re: [PATCH AUTOSEL 4.19 1/8] regmap: Account for register length
 when chunking

Hi!

> Currently, when regmap_raw_write() splits the data, it uses the
> max_raw_write value defined for the bus.  For any bus that includes
> the target register address in the max_raw_write value, the chunked
> transmission will always exceed the maximum transmission length.
> To avoid this problem, subtract the length of the register and the
> padding from the maximum transmission.
> 
> Signed-off-by: Jim Wylder <jwylder@...gle.com
> Link: https://lore.kernel.org/r/20230517152444.3690870-2-jwylder@google.com
> Signed-off-by: Mark Brown <broonie@...nel.org
> Signed-off-by: Sasha Levin <sashal@...nel.org>

Some ">"s are missing in the email addresses.

Best regards,
							Pavel
							
-- 
DENX Software Engineering GmbH,        Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

Download attachment "signature.asc" of type "application/pgp-signature" (196 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ