Quoting Fabio M. De Francesco (2023-03-15 05:52:56)
> Use kunmap_local() to unmap pages locally mapped with kmap_local_page().
>
> kunmap_local() must be called on the kernel virtual address returned by
> kmap_local_page(), differently from how we use kunmap() which instead
> expects the mapped page as its argument.
>
> In module_zstd_decompress() we currently map with kmap_local_page() and
> unmap with kunmap(). This breaks the code and so it should be fixed.
>
> Cc: Piotr Gorski <piotrgor...@cachyos.org>
> Cc: Dmitry Torokhov <dmitry.torok...@gmail.com>
> Cc: Luis Chamberlain <mcg...@kernel.org>
> Cc: Stephen Boyd <swb...@chromium.org>
> Cc: Ira Weiny <ira.we...@intel.com>
> Fixes: 169a58ad824d ("module/decompress: Support zstd in-kernel 
> decompression")
> Signed-off-by: Fabio M. De Francesco <fmdefrance...@gmail.com>
> ---

Reviewed-by: Stephen Boyd <swb...@chromium.org>


_______________________________________________
Kgdb-bugreport mailing list
Kgdb-bugreport@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport

Reply via email to