staging: vc04_services: Use __func__ instead of function name
authorMihaela Muraru <mihaela.muraru21@gmail.com>
Sat, 14 Oct 2017 21:08:32 +0000 (00:08 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Oct 2017 14:15:34 +0000 (16:15 +0200)
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>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c

index f8ea2978ede569afab5f6b7d7b6180b2ca8b4c19..351fec8c2d44639abcae47c5d01bb31cde8c0e39 100644 (file)
@@ -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)