]> www.infradead.org Git - users/hch/blktests.git/commitdiff
scsi: don't require sg to be built in
authorChristoph Hellwig <hch@lst.de>
Wed, 1 Jun 2022 06:48:36 +0000 (08:48 +0200)
committerShin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Thu, 2 Jun 2022 04:24:13 +0000 (13:24 +0900)
Use _have_driver instead of _have_modules in _have_scsi_generic as
nothing requires the sg driver to be modular.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
tests/scsi/rc

index c8d2f4211ecc51ea88341436c685ecc7b516465a..0751e77c76351169eb7412ebc78586fa94b4a060 100644 (file)
@@ -15,7 +15,7 @@ group_device_requires() {
 }
 
 _have_scsi_generic() {
-       _have_modules sg
+       _have_driver sg
 }
 
 _require_test_dev_is_scsi() {