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] [thread-next>] [day] [month] [year] [list]
Message-ID: <aAEliMw1YDjnfEjc@smile.fi.intel.com>
Date: Thu, 17 Apr 2025 19:00:08 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: David Lechner <dlechner@...libre.com>
Cc: Mark Brown <broonie@...nel.org>, linux-spi@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 0/2] spi: Introduce and use spi_bpw_to_bytes()

On Thu, Apr 17, 2025 at 10:30:46AM -0500, David Lechner wrote:
> On 4/17/25 10:24 AM, Andy Shevchenko wrote:
> > Recently in the discussion with David the idea of having
> > a common helper popped up. The helper converts the given
> > bits per word to bytes. The result will always be power-of-two
> > (e.g. for 37 bits it returns 8 bytes) or 0 for 0 input.
> > More details are in the respective code comment.
> > 
> > This mini-series introduces it and replaces current users
> > under drivers/spi and we expect more (and possibly some
> > lurking in other subsystems).
> > 
> > Mark, if you okay with the idea, please, make this to be
> > an immutable branch or tag for others to pull.
> > 
> > In v3:
> > - fixed the typos in the examples
> > 
> > In v2:
> > - improved examples in the code comment and commit message (David)
> 
> Reviewed-by: David Lechner <dlechner@...libre.com>

Thank you for the review!

-- 
With Best Regards,
Andy Shevchenko



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ