On Thu, Oct 24, 2019 at 03:22:50PM +0200, Ard Biesheuvel wrote: > > If you are fixing a COMPILE_TEST failure, just add NEED_SG_DMA_LENGTH > as a dependency, or drop the COMPILE_TEST altogether (why was that > added in the first place?) Because we want to maximise compiler coverage so that build failures can be caught at the earliest opportunity. But a better fix would be to use sg_dma_len(sg) instead of sg->dma_length Cheers, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt