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

(cherry picked from commit 0fd43b0c6a76d7be4d9673837a7d7099b6a29ace)

Details