aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2018-06-07 11:27:41 +0300
committerJens Axboe <[email protected]>2018-06-08 12:51:11 -0600
commit77016199f11eacd7b23e2faeb4d0f36166e3530b (patch)
treef057546cbab3803e4469af86bebfb6aa0fbf4ca2 /tools/perf/util/scripting-engines/trace-event-python.c
parent69f4eb9ff79556c1a3daf5af5573594c196f30cc (diff)
nvme: cleanup double shift issue
The problem here is that set_bit() and test_bit() take a bit number so we should be passing 0 but instead we're passing (1 << 0) which leads to a double shift. It doesn't cause a runtime bug in the current code because it's done consistently and we only set that one bit. I decided to just re-use NVME_AER_NOTICE_NS_CHANGED instead of introducing a new define for this. Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions