summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGuixin Liu <kanie@linux.alibaba.com>2024-01-18 20:51:45 +0800
committerKeith Busch <kbusch@kernel.org>2024-01-23 08:29:08 -0800
commit41353fbad4f551e82c2792f7e82ac225c79cc710 (patch)
treebff01b2232703ae786f6e805239f5798882f5e2a /include
parent13f3956eb5681a4045a8dfdef48df5dc4d9f58a6 (diff)
downloadlinux-stable-41353fbad4f551e82c2792f7e82ac225c79cc710.tar.gz
linux-stable-41353fbad4f551e82c2792f7e82ac225c79cc710.tar.bz2
linux-stable-41353fbad4f551e82c2792f7e82ac225c79cc710.zip
nvmet: unify aer type enum
The host and target use two definition of aer type, unify them into a single one. Signed-off-by: Guixin Liu <kanie@linux.alibaba.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/nvme.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/nvme.h b/include/linux/nvme.h
index 462c21e0e417..68eff8c86ce3 100644
--- a/include/linux/nvme.h
+++ b/include/linux/nvme.h
@@ -816,12 +816,6 @@ struct nvme_reservation_status_ext {
struct nvme_registered_ctrl_ext regctl_eds[];
};
-enum nvme_async_event_type {
- NVME_AER_TYPE_ERROR = 0,
- NVME_AER_TYPE_SMART = 1,
- NVME_AER_TYPE_NOTICE = 2,
-};
-
/* I/O commands */
enum nvme_opcode {