mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 03:27:03 +02:00
net: qrtr: Change error logging in callback
Print error logs in the callback by using pr_err_ratelimited so that watchdog bark will not occur due to excessive logging when the callback is triggered before probe is completed. Change-Id: I82bb84b7812cef5cb8a37e99c5cf1a54411cbdb8 Signed-off-by: Sarannya S <sarannya@codeaurora.org> Signed-off-by: Chris Lew <quic_clew@quicinc.com>
This commit is contained in:
parent
0079417ad7
commit
c4a21244f3
|
|
@ -26,7 +26,7 @@ static int qcom_smd_qrtr_callback(struct rpmsg_device *rpdev,
|
|||
int rc;
|
||||
|
||||
if (!qdev) {
|
||||
pr_err("%s: Not ready\n", __func__);
|
||||
pr_err_ratelimited("%s: Not ready\n", __func__);
|
||||
return -EAGAIN;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user