Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

soc: microchip: mpfs: print service status in warning message

Now that resp_status is set for failed services, print the status in the
error path's warning.

Signed-off-by: Conor Dooley <conor.dooley@microchip.com>

+3 -1
+3 -1
drivers/soc/microchip/mpfs-sys-controller.c
··· 66 66 */ 67 67 if (!wait_for_completion_timeout(&sys_controller->c, timeout)) { 68 68 ret = -EBADMSG; 69 - dev_warn(sys_controller->client.dev, "MPFS sys controller service failed\n"); 69 + dev_warn(sys_controller->client.dev, 70 + "MPFS sys controller service failed with status: %d\n", 71 + msg->response->resp_status); 70 72 } else { 71 73 ret = 0; 72 74 }