mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 23:58:05 +00:00
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: Mihaela Muraru <mihaela.muraru21@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
2ffd3860a8
commit
96591eaef2
1 changed files with 4 additions and 5 deletions
|
@ -420,8 +420,8 @@ create_pagelist(char __user *buf, size_t count, unsigned short type,
|
|||
&dma_addr,
|
||||
GFP_KERNEL);
|
||||
|
||||
vchiq_log_trace(vchiq_arm_log_level, "create_pagelist - %pK",
|
||||
pagelist);
|
||||
vchiq_log_trace(vchiq_arm_log_level, "%s - %pK", __func__, pagelist);
|
||||
|
||||
if (!pagelist)
|
||||
return NULL;
|
||||
|
||||
|
@ -481,9 +481,8 @@ create_pagelist(char __user *buf, size_t count, unsigned short type,
|
|||
|
||||
if (actual_pages != num_pages) {
|
||||
vchiq_log_info(vchiq_arm_log_level,
|
||||
"create_pagelist - only %d/%d pages locked",
|
||||
actual_pages,
|
||||
num_pages);
|
||||
"%s - only %d/%d pages locked",
|
||||
__func__, actual_pages, num_pages);
|
||||
|
||||
/* This is probably due to the process being killed */
|
||||
while (actual_pages > 0)
|
||||
|
|
Loading…
Reference in a new issue