HomeFreeBSD

nvmecontrol: Fix condition when print number of Firmware Slots and Firmware…

Description

nvmecontrol: Fix condition when print number of Firmware Slots and Firmware Slot1 Readonly.

The Number of Firmware Slots should never be zero. So, a Firmware Slot 1
should always exist. For that reason, always print the Number of
Firmware Slots and the Firmware Slot 1 Read-Only value.

Reviewed by: imp
Approved by: manu (mentor)
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D34700

Details

Provenance
wanpengqian_gmail.comAuthored on Nov 14 2022, 12:59 PM
corvinkCommitted on Nov 15 2022, 6:48 AM
Reviewer
imp
Differential Revision
D34700: nvmecontrol: Fix condition when print number of Firmware Slots and Firmware Slot1 Readonly.
Parents
rG40e0fa10f58d: Check alignment of fp in unwind_frame
Branches
Unknown
Tags
Unknown