diff options
| author | 2020-02-11 14:32:47 -0800 | |
|---|---|---|
| committer | 2020-02-18 19:17:30 -0800 | |
| commit | b21aef7e71de8fa2124b602f2ccab35947b581cb (patch) | |
| tree | 0f5a5b2d52d83d0ea7f9355988fac71887c96954 /include/linux | |
| parent | net/mlx5e: Support dump callback in RX reporter (diff) | |
mlx5: Use proper logging and tracing line terminations
netdev_err should use newline termination but mlx5_health_report
is used in a trace output function devlink_health_report where
no newline should be used.
Remove the newlines from a couple formats and add a format string
of "%s\n" to the netdev_err call to not directly output the
logging string.
Also use snprintf to avoid any possible output string overrun.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
