]> www.infradead.org Git - users/sagi/libnvme.git/commit
ioctl: Honor rae in nvme_get_nsid_log
authorDaniel Wagner <dwagner@suse.de>
Fri, 22 Jul 2022 12:29:48 +0000 (14:29 +0200)
committerDaniel Wagner <dwagner@suse.de>
Fri, 22 Jul 2022 12:35:00 +0000 (14:35 +0200)
commitee014b82ac54058bfdb107be176525577f11aade
tree8b42a944bec5b45d0be9baf46c0aba8036c61806
parentf6748bb3405767a2b7ab86d790507cb1e95bd203
ioctl: Honor rae in nvme_get_nsid_log

The nvme_get_nsid_log() helper has a rae (Retain Asynchronous Events)
parameter, but we currently ignore this when constructing the Get Log
Page command arguments.

This is a behavior change and not an API change. But the good thing is
only for newly build binaries because all helpers are static inline
fuctions.

Reported-by: Reported-by: Jeremy Kerr <jk@codeconstruct.com.au>
Signed-off-by: Daniel Wagner <dwagner@suse.de>
src/nvme/ioctl.h