summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_get_log_fw_slot.2
blob: 5ab774428465ff8cd46a0a29b1d22bb3ca1ca27c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
.TH "nvme_get_log_fw_slot" 9 "nvme_get_log_fw_slot" "April 2022" "libnvme API manual" LINUX
.SH NAME
nvme_get_log_fw_slot \- Retrieves the controller firmware log
.SH SYNOPSIS
.B "int" nvme_get_log_fw_slot
.BI "(int fd "  ","
.BI "bool rae "  ","
.BI "struct nvme_firmware_slot *fw_log "  ");"
.SH ARGUMENTS
.IP "fd" 12
File descriptor of nvme device
.IP "rae" 12
Retain asynchronous events
.IP "fw_log" 12
User address to store the log page
.SH "DESCRIPTION"
This log page describes the firmware revision stored in each firmware slot
supported. The firmware revision is indicated as an ASCII string. The log
page also indicates the active slot number.
.SH "RETURN"
The nvme command status if a response was received (see
\fIenum nvme_status_field\fP) or -1 with errno set otherwise.