Commit 0d07fc1b authored by Alison Schofield's avatar Alison Schofield Committed by Greg Kroah-Hartman

staging: r8723au: replace printk() with netdev_err()

Replace printk() with netdev_err() for uniform error reporting.
Issue found by checkpatch.
Signed-off-by: default avatarAlison Schofield <amsfield22@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 68535a16
......@@ -236,7 +236,8 @@ int rtw_enqueue_cmd23a(struct cmd_priv *pcmdpriv, struct cmd_obj *cmd_obj)
res = queue_work(pcmdpriv->wq, &cmd_obj->work);
if (!res) {
printk(KERN_ERR "%s: Call to queue_work() failed\n", __func__);
netdev_err(pcmdpriv->padapter->pnetdev,
"%s: Call to queue_work() failed\n", __func__);
res = _FAIL;
} else
res = _SUCCESS;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment