Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Mihaela Muraru and committed by
Greg Kroah-Hartman
96591eae 2ffd3860

+4 -5
+4 -5
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c
··· 420 420 &dma_addr, 421 421 GFP_KERNEL); 422 422 423 - vchiq_log_trace(vchiq_arm_log_level, "create_pagelist - %pK", 424 - pagelist); 423 + vchiq_log_trace(vchiq_arm_log_level, "%s - %pK", __func__, pagelist); 424 + 425 425 if (!pagelist) 426 426 return NULL; 427 427 ··· 481 481 482 482 if (actual_pages != num_pages) { 483 483 vchiq_log_info(vchiq_arm_log_level, 484 - "create_pagelist - only %d/%d pages locked", 485 - actual_pages, 486 - num_pages); 484 + "%s - only %d/%d pages locked", 485 + __func__, actual_pages, num_pages); 487 486 488 487 /* This is probably due to the process being killed */ 489 488 while (actual_pages > 0)