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, Sep 18, 11:38 AM
Unknown Object (File)
Wed, Sep 18, 6:06 AM
Unknown Object (File)
Wed, Sep 18, 1:42 AM
Unknown Object (File)
Mon, Sep 16, 6:12 PM
Unknown Object (File)
Sat, Sep 14, 4:07 PM
Unknown Object (File)
Sun, Sep 8, 5:22 PM
Unknown Object (File)
Fri, Sep 6, 1:47 AM
Unknown Object (File)
Thu, Aug 29, 1:09 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