Re: [GIT PULL] SPI fixes for v5.17-rc7

From: Mark Brown
Date: Thu Mar 10 2022 - 07:47:37 EST


On Thu, Mar 10, 2022 at 04:25:34AM -0800, Linus Torvalds wrote:
> On Thu, Mar 10, 2022 at 4:13 AM Mark Brown <broonie@xxxxxxxxxx> wrote:

> > One fix for type conversion issues when working out maximum
> > scatter/gather segment sizes which caused problems for some systems
> > which where the limits overflow due to the type conversion.

> Side note: 'ctrl->max_dma_len' is a 'size_t', so even 'unsigned int'
> isn't necessarily a sufficient type.

Hrm, yes - thanks for spotting that.

Attachment: signature.asc
Description: PGP signature