---
name: "nvme_fw_commit"
section: "2"
platform: "linux"
package: "libnvme-dev"
version: "1.13-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_fw_commit"
---

# nvme\_fw\_commit(2)

Commit firmware using the specified action

## NAME

nvme\_fw\_commit - Commit firmware using the specified action

## SYNOPSIS

**int nvme\_fw\_commit** **(struct nvme\_fw\_commit\_args \*args** *);*

## ARGUMENTS

- args

  *struct nvme\_fw\_commit\_args* argument structure

## DESCRIPTION

The Firmware Commit command modifies the firmware image or Boot Partitions.

## RETURN

The nvme command status if a response was received (see *enum nvme\_status\_field*) or -1 with errno set otherwise. The command status response may specify additional reset actions required to complete the commit process.
