linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Which print functions to use during early device create?
@ 2020-02-14 22:23 Andrew Boyer
  2020-02-15  0:11 ` Jason Gunthorpe
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Boyer @ 2020-02-14 22:23 UTC (permalink / raw)
  To: linux-rdma; +Cc: Allen Hubbe, Leon Romanovsky, Doug Ledford, Jason Gunthorpe

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-02-15  0:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-14 22:23 Which print functions to use during early device create? Andrew Boyer
2020-02-15  0:11 ` Jason Gunthorpe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).