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
F111006005: D38077.diff
Wed, Feb 26, 2:51 AM
Unknown Object (File)
Tue, Feb 25, 10:07 PM
Unknown Object (File)
Tue, Feb 25, 5:57 PM
Unknown Object (File)
Wed, Feb 5, 8:11 AM
Unknown Object (File)
Jan 27 2025, 5:16 PM
Unknown Object (File)
Jan 27 2025, 5:00 PM
Unknown Object (File)
Jan 27 2025, 4:15 AM
Unknown Object (File)
Jan 15 2025, 8:36 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