diff options
author | Christoph Hellwig <hch@lst.de> | 2018-05-22 11:09:54 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-05-31 18:46:48 +0200 |
commit | 868c2392a700fc1e72fb1bc044b7cceecd4f095c (patch) | |
tree | 20e99c2307e43475a08aed7c47a0e0c336a7788f /include/linux/nvme.h | |
parent | 1367bc82858018fd1a5a81b8fad4628e7163d1bf (diff) |
nvme.h: untangle AEN notice definitions
Stop including the event type in the definitions for the notice type.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Diffstat (limited to 'include/linux/nvme.h')
-rw-r--r-- | include/linux/nvme.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/linux/nvme.h b/include/linux/nvme.h index 4112e2bd747f..c37103a4ad38 100644 --- a/include/linux/nvme.h +++ b/include/linux/nvme.h @@ -436,10 +436,14 @@ enum { enum { NVME_AER_ERROR = 0, NVME_AER_SMART = 1, + NVME_AER_NOTICE = 2, NVME_AER_CSS = 6, NVME_AER_VS = 7, - NVME_AER_NOTICE_NS_CHANGED = 0x0002, - NVME_AER_NOTICE_FW_ACT_STARTING = 0x0102, +}; + +enum { + NVME_AER_NOTICE_NS_CHANGED = 0x00, + NVME_AER_NOTICE_FW_ACT_STARTING = 0x01, }; struct nvme_lba_range_type { |