aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/include/asm/floppy.h
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2016-12-06 20:05:26 +0100
committerGeert Uytterhoeven <geert@linux-m68k.org>2017-02-12 10:36:54 +0100
commitf0b914aeea8ed2abe8e53779ec620eac2129d03f (patch)
treeab769b89d7bb122410f61e13c3ebc667a42d15cc /arch/m68k/include/asm/floppy.h
parentm68k/mm: Modernize printing of kernel messages (diff)
downloadlinux-dev-f0b914aeea8ed2abe8e53779ec620eac2129d03f.tar.xz
linux-dev-f0b914aeea8ed2abe8e53779ec620eac2129d03f.zip
m68k/include: Modernize printing of kernel messages
- Convert from printk() to pr_*(), - Add dummies for validating format strings when debugging is disabled. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/include/asm/floppy.h')
-rw-r--r--arch/m68k/include/asm/floppy.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/m68k/include/asm/floppy.h b/arch/m68k/include/asm/floppy.h
index 47365b1ccbec..c3b9ad6732fc 100644
--- a/arch/m68k/include/asm/floppy.h
+++ b/arch/m68k/include/asm/floppy.h
@@ -234,9 +234,9 @@ asmlinkage irqreturn_t floppy_hardint(int irq, void *dev_id)
virtual_dma_residue += virtual_dma_count;
virtual_dma_count=0;
#ifdef TRACE_FLPY_INT
- printk("count=%x, residue=%x calls=%d bytes=%d dma_wait=%d\n",
- virtual_dma_count, virtual_dma_residue, calls, bytes,
- dma_wait);
+ pr_info("count=%x, residue=%x calls=%d bytes=%d dma_wait=%d\n",
+ virtual_dma_count, virtual_dma_residue, calls, bytes,
+ dma_wait);
calls = 0;
dma_wait=0;
#endif