Which print functions to use during early device create?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When we get a NETDEV_REGISTER event, we get a pointer to the existing struct netdev. If all goes well, we end up creating an associated struct ib_device.

How should we log an error that happens in-between, preventing us from creating the ib_device?

netdev_err() on the ndev?
dev_err() on the underlying struct device?
pr_err()?

Thanks,
Andrew





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux