Page MenuHomeFreeBSD

LinuxKPI: pci.h: always initialize return value
ClosedPublic

Authored by bz on Apr 20 2023, 4:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 1, 1:52 AM
Unknown Object (File)
Tue, Sep 29, 5:55 AM
Unknown Object (File)
Mon, Sep 28, 7:07 AM
Unknown Object (File)
Tue, Sep 8, 8:37 PM
Unknown Object (File)
Tue, Sep 8, 12:53 PM
Unknown Object (File)
Sun, Sep 6, 2:23 PM
Unknown Object (File)
Sat, Sep 5, 7:54 PM
Unknown Object (File)
Sat, Sep 5, 2:17 PM
Subscribers

Details

Summary

In pcie_capability_read_*() always initialize the return value to
avoid warnings of uninitialized values in callers.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable