Re: [PATCH] parport: fix if-statement empty body warnings

From: Randy Dunlap
Date: Thu Feb 27 2020 - 23:19:30 EST


On 2/27/20 7:19 PM, Joe Perches wrote:
> 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@xxxxxxxxxxxxx>
> Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
> Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> ---
> drivers/parport/ieee1284.c | 90 ++++++++++++++++--------------------------
> drivers/parport/ieee1284_ops.c | 67 +++++++++++--------------------
> 2 files changed, 57 insertions(+), 100 deletions(-)

Thanks, Joe.

--
~Randy