You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1.2 KiB
31 lines
1.2 KiB
6 years ago
|
From 192196a624b8bb2eb9dea805066ff9698d3c67d3 Mon Sep 17 00:00:00 2001
|
||
|
From: Genki Sky <sky@genki.is>
|
||
|
Date: Tue, 5 Dec 2017 19:09:55 -0500
|
||
|
Subject: [PATCH 391/454] staging: vc04_services: Use __func__
|
||
|
|
||
|
Commit b891f25d80d16e314dc191f019c4e346e41bfb36 upstream.
|
||
|
|
||
|
This was found using checkpatch.pl's EMBEDDED_FUNCTION_NAME warning.
|
||
|
It is easier to be consistent and always use __func__ instead of having
|
||
|
to remember to update any hardcoded references to the original name.
|
||
|
|
||
|
Signed-off-by: Genki Sky <sky@genki.is>
|
||
|
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
||
|
---
|
||
|
drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c | 4 ++--
|
||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||
|
|
||
|
--- a/drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c
|
||
|
+++ b/drivers/staging/vc04_services/bcm2835-camera/mmal-vchiq.c
|
||
|
@@ -503,8 +503,8 @@ static void buffer_to_host_cb(struct vch
|
||
|
struct mmal_msg_context *msg_context;
|
||
|
u32 handle;
|
||
|
|
||
|
- pr_debug("buffer_to_host_cb: instance:%p msg:%p msg_len:%d\n",
|
||
|
- instance, msg, msg_len);
|
||
|
+ pr_debug("%s: instance:%p msg:%p msg_len:%d\n",
|
||
|
+ __func__, instance, msg, msg_len);
|
||
|
|
||
|
if (msg->u.buffer_from_host.drvbuf.magic == MMAL_MAGIC) {
|
||
|
handle = msg->u.buffer_from_host.drvbuf.client_context;
|