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, Apr 20, 11:00 PM
Unknown Object (File)
Feb 27 2025, 8:43 AM
Unknown Object (File)
Feb 26 2025, 2:51 AM
Unknown Object (File)
Feb 25 2025, 10:07 PM
Unknown Object (File)
Feb 25 2025, 5:57 PM
Unknown Object (File)
Feb 5 2025, 8:11 AM
Unknown Object (File)
Jan 27 2025, 5:16 PM
Unknown Object (File)
Jan 27 2025, 5:00 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

Lint
Lint Skipped
Unit
Tests Skipped