]> www.infradead.org Git - users/sagi/libnvme.git/commit
types: fix typo on nvme_mi_ccs definitions in public API
authorJeremy Kerr <jk@codeconstruct.com.au>
Sat, 2 Jul 2022 06:22:16 +0000 (14:22 +0800)
committerJeremy Kerr <jk@codeconstruct.com.au>
Sat, 2 Jul 2022 07:03:00 +0000 (15:03 +0800)
commit934d95a1a764e1b4bae043ca440c026c5cc9940f
tree9ea7ae635f95ca23edd4c96747363e9058d42a74
parentf2fc5ae3768113b8909bacff479819df6df8c333
types: fix typo on nvme_mi_ccs definitions in public API

The NVMe-MI spec defines the Composite Controller Status definitions
using the abbreviation CCS. However, the libnvme code (since initial
commit) has used CSS, not CCS (except for CCS_RDY...).

This change fixes the definitions to use the _CCS_ names, and adds a set
of #defines to allow the old names to be used, including for the enum
itself.

Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
src/nvme/types.h