Page MenuHomeFreeBSD

linuxkpi: Fix `sg_alloc_table_from_pages()` to have the same API as Linux
ClosedPublic

Authored by dumbbell on Jan 16 2023, 7:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 27, 1:55 AM
Unknown Object (File)
Mon, Nov 25, 2:07 PM
Unknown Object (File)
Mon, Nov 25, 2:07 PM
Unknown Object (File)
Mon, Nov 25, 2:07 PM
Unknown Object (File)
Mon, Nov 25, 2:07 PM
Unknown Object (File)
Wed, Nov 20, 9:08 AM
Unknown Object (File)
Thu, Nov 14, 2:24 PM
Unknown Object (File)
Sep 24 2024, 9:59 AM

Details

Summary

It now returns a struct scatterlist * pointer instead of an error code only.

The implementation is incomplete because it doesn't use the prv argument.

This is part of the update of the DRM drivers to Linux 5.13.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable