---
name: "nvme_mi_admin_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_mi_admin_fw_commit"
---

# nvme\_mi\_admin\_fw\_commit(2)

Commit firmware using the specified action

## NAME

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

## SYNOPSIS

**int nvme\_mi\_admin\_fw\_commit** **(nvme\_mi\_ctrl\_t ctrl** *,* **struct nvme\_fw\_commit\_args \*args** *);*

## ARGUMENTS

- ctrl

  Controller to send firmware data to

- args

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

## DESCRIPTION

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

## RETURN

0 on success, non-zero on failure
