PCIe driver does not fail if HW is disconnected

Hello,
I noticed that if I insmod hailo_pcie.ko when the accelerator is not connected, I don’t see any error.

root@board:~# insmod /lib/modules/6.1.36/kernel/drivers/misc/hailo_pci.ko
[   79.092743] hailo: Init module. driver version 4.20.0
root@board:~# hailortcli scan
Hailo devices not found

I would expect insmod to throw some errors given that the driver is useless without the hardware plugged in.

In the source code of the driver I see some prints that apparently don’t execute:

Note that I ported meta-hailo on scarthgap and I’m using kernel 6.1.36.
I tested with some custom inference applications and everything works.

Is this the indentend behaviour?

Thanks