summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorDavid Thompson <davthompson@nvidia.com>2026-05-28 16:50:17 +0000
committerJakub Kicinski <kuba@kernel.org>2026-06-01 19:52:24 -0700
commite3c6508a46f56ece0c1550a4fdf1e005afe3d563 (patch)
treeaf0830b566c247b46cffadee526a36593cf59c86 /include/linux/debugobjects.h
parent9c89f975e66922f346d92d60c9d51d07274a7f3b (diff)
net: lan743x: avoid netdev-based logging before netdev registration
This patch updates the lan743x driver to prevent the use of netdev-based logging APIs (such as netdev_dbg) before the network device has been successfully registered. Using netdev-based logging prior to registration results in log messages referencing "(unnamed net_device) (uninitialized)", which can be confusing and less informative. The driver must use netif_msg_ APIs and device-based logging (e.g. dev_dbg) until netdev registration is complete. This ensures log entries are associated with the correct device context and improves log clarity. After registration, netdev-based logging APIs can be used safely. Signed-off-by: David Thompson <davthompson@nvidia.com> Link: https://patch.msgid.link/20260528165017.421576-1-davthompson@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions