Commit 96591eae authored by Mihaela Muraru's avatar Mihaela Muraru Committed by Greg Kroah-Hartman

staging: vc04_services: Use __func__ instead of function name

Use identifier __func__ instead of the name of the function.

Issue found by checkpatch.pl.
Signed-off-by: default avatarMihaela Muraru <mihaela.muraru21@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2ffd3860
...@@ -420,8 +420,8 @@ create_pagelist(char __user *buf, size_t count, unsigned short type, ...@@ -420,8 +420,8 @@ create_pagelist(char __user *buf, size_t count, unsigned short type,
&dma_addr, &dma_addr,
GFP_KERNEL); GFP_KERNEL);
vchiq_log_trace(vchiq_arm_log_level, "create_pagelist - %pK", vchiq_log_trace(vchiq_arm_log_level, "%s - %pK", __func__, pagelist);
pagelist);
if (!pagelist) if (!pagelist)
return NULL; return NULL;
...@@ -481,9 +481,8 @@ create_pagelist(char __user *buf, size_t count, unsigned short type, ...@@ -481,9 +481,8 @@ create_pagelist(char __user *buf, size_t count, unsigned short type,
if (actual_pages != num_pages) { if (actual_pages != num_pages) {
vchiq_log_info(vchiq_arm_log_level, vchiq_log_info(vchiq_arm_log_level,
"create_pagelist - only %d/%d pages locked", "%s - only %d/%d pages locked",
actual_pages, __func__, actual_pages, num_pages);
num_pages);
/* This is probably due to the process being killed */ /* This is probably due to the process being killed */
while (actual_pages > 0) while (actual_pages > 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment