diff options
| author | Damien Le Moal <[email protected]> | 2025-02-13 06:50:00 +0000 |
|---|---|---|
| committer | Keith Busch <[email protected]> | 2025-02-18 15:39:42 +0000 |
| commit | 2ba8cf918f0d1873cd5430ae2cc3c41711a144d7 (patch) | |
| tree | b6d44f71bacd517519382dd55e53597c84831340 /net/unix | |
| parent | nvme: Cleanup the definition of the controller config register fields (diff) | |
| download | kernel-2ba8cf918f0d1873cd5430ae2cc3c41711a144d7.tar.gz kernel-2ba8cf918f0d1873cd5430ae2cc3c41711a144d7.zip | |
nvmet: Use enum definitions instead of hardcoded values
Change the definition of the inline functions nvmet_cc_en(),
nvmet_cc_css(), nvmet_cc_mps(), nvmet_cc_ams(), nvmet_cc_shn(),
nvmet_cc_iosqes(), and nvmet_cc_iocqes() to use the enum difinitions in
include/linux/nvme.h instead of hardcoded values.
Signed-off-by: Damien Le Moal <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'net/unix')
0 files changed, 0 insertions, 0 deletions
