On 4/17/23 05:59, Shin'ichiro Kawasaki wrote: > From: Shin'ichiro Kawasaki <shinichiro.kawasaki@xxxxxxx> > > To allow the test case run with build-in scsi_debug, replace > '_have_module scsi_debug' with _have_scsi_debug, and replace > _init_scsi_debug with _configure_scsi_debug. > > Also, to allow the test case run with build-in sd_mod, replace > '_have_module sd_mod' with '_have_kernel_option BLK_DEV_SD'. When sd_mod > driver is built-in, /sys/module/sd_mod directory is not created. Then > _have_driver() can not detect availability of the driver. Instead, refer > the kernel config to check availability of the driver. > > Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@xxxxxxx> > --- > Looks good. Reviewed-by: Chaitanya Kulkarni <kch@xxxxxxxxxx> -ck