mirror of
https://github.com/torvalds/linux.git
synced 2026-05-29 01:23:56 +02:00
staging: vc04_services: vchiq_arm: Use appropriate dev_* log helpers
Re-evaluate logs on error code paths and fix a few error logs with appropriate dev_* logging helpers. No functional changes intended in this patch. Signed-off-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Link: https://lore.kernel.org/r/20240321130737.898154-3-umang.jain@ideasonboard.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d81060d69e
commit
57c0b41bbe
|
|
@ -1317,7 +1317,7 @@ vchiq_keepalive_thread_func(void *v)
|
|||
long rc = 0, uc = 0;
|
||||
|
||||
if (wait_for_completion_interruptible(&arm_state->ka_evt)) {
|
||||
dev_err(state->dev, "suspend: %s: interrupted\n", __func__);
|
||||
dev_dbg(state->dev, "suspend: %s: interrupted\n", __func__);
|
||||
flush_signals(current);
|
||||
continue;
|
||||
}
|
||||
|
|
@ -1753,7 +1753,7 @@ static int vchiq_probe(struct platform_device *pdev)
|
|||
*/
|
||||
err = vchiq_register_chrdev(&pdev->dev);
|
||||
if (err) {
|
||||
dev_warn(&pdev->dev, "arm: Failed to initialize vchiq cdev\n");
|
||||
dev_err(&pdev->dev, "arm: Failed to initialize vchiq cdev\n");
|
||||
goto error_exit;
|
||||
}
|
||||
|
||||
|
|
@ -1763,7 +1763,7 @@ static int vchiq_probe(struct platform_device *pdev)
|
|||
return 0;
|
||||
|
||||
failed_platform_init:
|
||||
dev_warn(&pdev->dev, "arm: Could not initialize vchiq platform\n");
|
||||
dev_err(&pdev->dev, "arm: Could not initialize vchiq platform\n");
|
||||
error_exit:
|
||||
return err;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user