mbox series

[blktests,0/2] nvme: require kernel config NVME_HOST_AUTH

Message ID 20231115055220.2656965-1-shinichiro.kawasaki@wdc.com (mailing list archive)
Headers show
Series nvme: require kernel config NVME_HOST_AUTH | expand

Message

Shinichiro Kawasaki Nov. 15, 2023, 5:52 a.m. UTC
Yi Zhang reported test cases for nvme authentication feature fail with
linux-block/for-next kernel [1]. I observed the failures with kernel v6.7-rc1.
Chris Leech pointed out that the test cases require kernel config option
NVME_HOST_AUTH. This series modifies the test cases to ensure the requirement.
The first patch introduces a new helper function. The second patch adds checks
for the requirement using the function.

[1] https://lore.kernel.org/linux-block/CAHj4cs8yZ4-BXqTK4W0UsPpmc2ctCD=_mYiwuAuvcmgS3+KJ8g@mail.gmail.com/

Shin'ichiro Kawasaki (2):
  common/rc: introduce _kver_gt_or_eq
  nvme/{041,042,043,044,045}: require kernel config NVME_HOST_AUTH

 common/rc      | 17 ++++++++++++-----
 tests/nvme/041 |  1 +
 tests/nvme/042 |  1 +
 tests/nvme/043 |  1 +
 tests/nvme/044 |  1 +
 tests/nvme/045 |  1 +
 6 files changed, 17 insertions(+), 5 deletions(-)