Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1461525 > unrolled thread

[PATCH 08/13] remoteproc/omap: revise a minor error trace message

Started bySuman Anna <s-anna@ti.com>
First post2016-08-13 01:50 +0200
Last post2016-08-13 01:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 08/13] remoteproc/omap: revise a minor error trace message Suman Anna <s-anna@ti.com> - 2016-08-13 01:50 +0200

#1461525 — [PATCH 08/13] remoteproc/omap: revise a minor error trace message

FromSuman Anna <s-anna@ti.com>
Date2016-08-13 01:50 +0200
Subject[PATCH 08/13] remoteproc/omap: revise a minor error trace message
Message-ID<s5un8-6A-29@gated-at.bofh.it>
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 <s-anna@ti.com>
---
 drivers/remoteproc/omap_remoteproc.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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);
 }
 
 /*
-- 
2.9.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web