diff options
author | Mihaela Muraru <mihaela.muraru21@gmail.com> | 2017-10-15 00:08:32 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-10-18 16:15:34 +0200 |
commit | 96591eaef2c92c85c318192f7f1f7dbc673f0864 (patch) | |
tree | d3ec0faacc71a85de10ab3fc16a32c1d326ee363 /drivers/staging/vc04_services | |
parent | 2ffd3860a85414fa1a517a8f8f3c83eb409a1cf0 (diff) | |
download | linux-stable-96591eaef2c92c85c318192f7f1f7dbc673f0864.tar.gz linux-stable-96591eaef2c92c85c318192f7f1f7dbc673f0864.tar.bz2 linux-stable-96591eaef2c92c85c318192f7f1f7dbc673f0864.zip |
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>
Diffstat (limited to 'drivers/staging/vc04_services')
-rw-r--r-- | drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c index f8ea2978ede5..351fec8c2d44 100644 --- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c +++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c @@ -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) |