Re: ubiblock: null pointer dereference using scatterlist in work_queue

From: hch
Date: Thu Aug 10 2023 - 11:43:15 EST


On Thu, Aug 10, 2023 at 12:43:59AM +0200, Richard Weinberger wrote:
> > deprecated kmap_atomic to kmap_local first you can sleep and don't
> > need bounce buffers.
>
> Yep, for upstream kmap_local will do the trick, but I need also something
> for the stable trees.
> Anyway, time to get some sleep.

Maybe just copy and paste it with the kmap_local change and then do
another patch (series) to unify them again. IIRC we also have a copy
and paste version in an mmc driver somewhere.