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)
Sun, Oct 12, 5:08 PM
Unknown Object (File)
Sun, Oct 12, 5:08 PM
Unknown Object (File)
Sat, Oct 11, 7:31 PM
Unknown Object (File)
Sat, Oct 11, 7:31 PM
Unknown Object (File)
Sat, Oct 11, 10:36 AM
Unknown Object (File)
Sat, Oct 11, 1:47 AM
Unknown Object (File)
Thu, Oct 9, 9:49 AM
Unknown Object (File)
Sun, Oct 5, 12:40 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