OSDN Git Service

m68k/mac: IOP - Modernize printing of kernel messages
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sat, 8 Apr 2017 23:51:15 +0000 (19:51 -0400)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 20 Apr 2017 07:54:24 +0000 (09:54 +0200)
commit4629a173aa10a5044597a15c6d9690be78969f5b
tree50f3868f1d92db20f8ef3c1701c3f3fb9fef9383
parentc1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201
m68k/mac: IOP - Modernize printing of kernel messages

  - Introduce helpers for printing debug messages, incl. dummies for
    validating format strings when debugging is disabled,
  - Convert from printk() to pr_*(),
  - Add missing continuations,
  - Drop superfluous casts.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
[FT: Renamed pr_iop* macros, adjusted log message severity and eliminated DEBUG_IOP]
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/mac/iop.c