HomeFreeBSD

LinuxKPI: pci.h: always initialize return value

Description

LinuxKPI: pci.h: always initialize return value

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

Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D39721

(cherry picked from commit 0e8953b94b7481a53945cbd1e16517773996e16e)

Details

Provenance
bzAuthored on Apr 20 2023, 3:59 PM
Differential Revision
D39721: LinuxKPI: pci.h: always initialize return value
Parents
rG7140d2464579: LinuxKPI: 802.11: improve assertion and tkip code
Branches
Unknown
Tags
Unknown