[PATCH blktests 1/5] tests/srp/rc: update the ib_srpt module name

Bart Van Assche bvanassche at acm.org
Mon Nov 23 22:23:51 EST 2020


On 11/23/20 5:04 PM, Yi Zhang wrote:
> -	insmod "/lib/modules/$(uname -r)/kernel/drivers/infiniband/ulp/srpt/ib_srpt.ko" "${opts[@]}" || return $?
> +	insmod "$(ls /lib/modules/"$(uname -r)"/kernel/drivers/infiniband/ulp/srpt/ib_srpt.*)" "${opts[@]}" || return $?

Is 'ls' needed here or is 'echo' sufficient?

Thanks,

Bart.



More information about the Linux-nvme mailing list