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)
Tue, Jan 6, 1:45 AM
Unknown Object (File)
Tue, Dec 30, 5:22 PM
Unknown Object (File)
Sun, Dec 28, 2:38 PM
Unknown Object (File)
Fri, Dec 26, 10:45 AM
Unknown Object (File)
Dec 18 2025, 8:07 AM
Unknown Object (File)
Dec 14 2025, 6:02 AM
Unknown Object (File)
Dec 12 2025, 6:22 AM
Unknown Object (File)
Dec 12 2025, 2:21 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