Replace printk having a log level with the appropriate
net_*macro_ratelimited.
It's better to use actual device name as a prefix in error messages.
Signed-off-by: Arushi Singhal <redacted>
---
changes in v2
*In v1 printk was changed to pr_*macro(), which is used
in kernel instead of calling printk() directly. And for drivers,
dev_*macro() or net_*macro_ratelimited() should be used for calling
printk() directly.
changes in v3
*Indentation is not changed, as line is exceeding 80 characters limit.
drivers/staging/ipx/af_ipx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
On Mon, Mar 05, 2018 at 09:47:40AM +0530, Arushi Singhal wrote:
Replace printk having a log level with the appropriate
net_*macro_ratelimited.
It's better to use actual device name as a prefix in error messages.
Signed-off-by: Arushi Singhal <redacted>
---
changes in v2
*In v1 printk was changed to pr_*macro(), which is used
in kernel instead of calling printk() directly. And for drivers,
dev_*macro() or net_*macro_ratelimited() should be used for calling
printk() directly.
changes in v3
*Indentation is not changed, as line is exceeding 80 characters limit.
drivers/staging/ipx/af_ipx.c | 2 +-
Did you read drivers/staging/ipx/TODO?
Please go do so.
sorry,
greg k-h
From: Julia Lawall <hidden> Date: 2018-03-05 07:16:50
On Mon, 5 Mar 2018, Arushi Singhal wrote:
Replace printk having a log level with the appropriate
net_*macro_ratelimited.
It's better to use actual device name as a prefix in error messages.
Signed-off-by: Arushi Singhal <redacted>
---
changes in v2
*In v1 printk was changed to pr_*macro(), which is used
in kernel instead of calling printk() directly. And for drivers,
dev_*macro() or net_*macro_ratelimited() should be used for calling
printk() directly.
changes in v3
*Indentation is not changed, as line is exceeding 80 characters limit.
Put the v3 changes on top of the v2 changes, so that one can see
immediately what has changed most recently.
julia