From: Anna, Suman Date: Fri, 12 Aug 2016 23:42:23 +0000 (-0500) Subject: remoteproc/omap: revise a minor error trace message X-Git-Tag: v4.9-rc1~104^2~14 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=14096c13ef5bc0d21819a502f2b71ae17b60e452;p=karo-tx-linux.git remoteproc/omap: revise a minor error trace message The omap_mbox_msg_send() is the legacy API for sending a mailbox message. It has been replaced with the mbox_send_message() from the mailbox framework. Revise the failure trace to print a generic failure message instead of referencing the actual function name. Signed-off-by: Suman Anna Signed-off-by: Bjorn Andersson --- diff --git a/drivers/remoteproc/omap_remoteproc.c b/drivers/remoteproc/omap_remoteproc.c index ddc1a12d75e0..01e234cb9157 100644 --- a/drivers/remoteproc/omap_remoteproc.c +++ b/drivers/remoteproc/omap_remoteproc.c @@ -96,7 +96,8 @@ static void omap_rproc_kick(struct rproc *rproc, int vqid) /* send the index of the triggered virtqueue in the mailbox payload */ ret = mbox_send_message(oproc->mbox, (void *)vqid); if (ret < 0) - dev_err(dev, "omap_mbox_msg_send failed: %d\n", ret); + dev_err(dev, "failed to send mailbox message, status = %d\n", + ret); } /*