diff options
author | Weiping Zhang <zhangweiping@didichuxing.com> | 2018-07-02 19:34:38 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-07-17 17:30:27 +0300 |
commit | fa441b71aa27d06fa79d5e7f7c329981dccd94d1 (patch) | |
tree | 3ca9e9a28eae6944ce9fc21977e115aff98d669e /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | cf39a6bc342b980f10f344d88035829638a89a48 (diff) | |
download | linux-fa441b71aa27d06fa79d5e7f7c329981dccd94d1.tar.xz |
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: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Weiping Zhang <zhangweiping@didichuxing.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions