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, Jan 15, 8:36 AM
Unknown Object (File)
Wed, Jan 15, 4:32 AM
Unknown Object (File)
Sun, Jan 12, 1:00 PM
Unknown Object (File)
Dec 1 2024, 11:13 AM
Unknown Object (File)
Nov 27 2024, 1:55 AM
Unknown Object (File)
Nov 25 2024, 2:07 PM
Unknown Object (File)
Nov 25 2024, 2:07 PM
Unknown Object (File)
Nov 25 2024, 2:07 PM

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