The below checkpatch warnings was fixed.

-WARNING: Prefer pr_debug(... to printk(KERN_DEBUG, ...
Signed-off-by: Toshiaki Yamane <yamaneto...@gmail.com>
---
 drivers/staging/vme/devices/vme_user.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/vme/devices/vme_user.c 
b/drivers/staging/vme/devices/vme_user.c
index f12945c..ef4b821 100644
--- a/drivers/staging/vme/devices/vme_user.c
+++ b/drivers/staging/vme/devices/vme_user.c
@@ -601,8 +601,8 @@ static void buf_unalloc(int num)
 {
        if (image[num].kern_buf) {
 #ifdef VME_DEBUG
-               printk(KERN_DEBUG "UniverseII:Releasing buffer at %p\n",
-                       image[num].pci_buf);
+               pr_debug("UniverseII:Releasing buffer at %p\n",
+                        image[num].pci_buf);
 #endif
 
                vme_free_consistent(image[num].resource, image[num].size_buf,
@@ -614,7 +614,7 @@ static void buf_unalloc(int num)
 
 #ifdef VME_DEBUG
        } else {
-               printk(KERN_DEBUG "UniverseII: Buffer not allocated\n");
+               pr_debug("UniverseII: Buffer not allocated\n");
 #endif
        }
 }
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to