diff options
| author | Jiri Pirko <jiri@nvidia.com> | 2026-03-12 13:04:03 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-03-14 23:08:49 +0300 |
| commit | 104733e1303efcec97c9a581adabbc03c6679006 (patch) | |
| tree | e1657d7c24cce52a73b33fabf080802896f7a3f9 /include/net | |
| parent | 20b0f383aae7d26990a769d52b4d5c0e570e659c (diff) | |
| download | linux-104733e1303efcec97c9a581adabbc03c6679006.tar.xz | |
devlink: add devl_warn() helper and use it in port warnings
Introduce devl_warn() macro that uses dev_warn() when a backing
device is available and falls back to pr_warn() otherwise. Convert
all dev_warn() calls in port.c to use it, preparing for devlink
instances without a backing device.
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Link: https://patch.msgid.link/20260312100407.551173-10-jiri@resnulli.us
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions
