parport: fix if-statement empty body warnings
authorJoe Perches <joe@perches.com>
Fri, 3 Apr 2020 13:43:15 +0000 (14:43 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Apr 2020 15:05:37 +0000 (17:05 +0200)
commitd98ce9fef73d74fa8b1301a9da3fb95ae0a1536f
tree38ef20e600eb297b9a2a98da486236d3298e00c6
parentaf831145158b9c03d1af0a51856d0f996e8423ab
parport: fix if-statement empty body warnings

Eliminate warnings by using pr_debug which is the more typical
kernel debugging style and also enable dynamic_debug on these
outputs.

Miscellaneous:

o A few messages were logged at KERN_INFO when enabled, now KERN_DEBUG
o Convert %d/%d to %zd/%zu to avoid compilation warnings

Original-patch-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Link: https://lore.kernel.org/r/20200403134325.11523-1-sudipm.mukherjee@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/parport/ieee1284.c
drivers/parport/ieee1284_ops.c