Re: [PATCH] spi: core: Validate lenght of the transfers in message

From: Mark Brown
Date: Fri Feb 14 2014 - 13:26:57 EST


On Fri, Feb 14, 2014 at 10:16:05AM +0200, Ivan T. Ivanov wrote:

> "SPI transfer length should be multiple of SPI word size, where SPI
> word size should be power-of-two multiple"

Yes, that's clearer though you could in theory have a three byte word
(I'm not sure that anyone would actually do that but it's possible). I
do have a comment on the code as well.

Attachment: signature.asc
Description: Digital signature