Skip to content
Commit fa441b71 authored by Weiping Zhang's avatar Weiping Zhang Committed by Christoph Hellwig
Browse files

nvme: don't enable AEN if not supported



Avoid excuting set_feature command if there is no supported bit in
Optional Asynchronous Events Supported (OAES).

Fixes: c0561f82 ("nvme: submit AEN event configuration on startup")
Reviewed-by: default avatarSagi Grimberg <sagi@grimberg.me>
Signed-off-by: default avatarWeiping Zhang <zhangweiping@didichuxing.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent cf39a6bc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment