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)
Thu, Dec 18, 8:07 AM
Unknown Object (File)
Sun, Dec 14, 6:02 AM
Unknown Object (File)
Fri, Dec 12, 6:22 AM
Unknown Object (File)
Fri, Dec 12, 2:21 AM
Unknown Object (File)
Tue, Dec 9, 10:09 PM
Unknown Object (File)
Sat, Nov 29, 4:34 AM
Unknown Object (File)
Sun, Nov 23, 2:04 PM
Unknown Object (File)
Fri, Nov 21, 1:51 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