On Sat, Mar 10, 2018 at 08:12:29PM +0100, Geert Uytterhoeven wrote: > > + gfp_t gfp_flags = GFP_KERNEL | GFP_DMA; > > + size_t max_transfer_size = 32000; > Do you really want to impose this arbitrary limit (which BTW doesn't match > the value in the patch description) to each and every SPI controller driver? Drivers can advertise any limits they have on their transfer sizes using the max_transfer_size() operation, we should be using that as the limit.
Attachment:
signature.asc
Description: PGP signature