[Linux-parport] [PATCH 12/18] pata_parport: use print_hex_*

Sergey Shtylyov s.shtylyov at omp.ru
Sat Feb 18 09:04:42 PST 2023


On 2/15/23 10:45 PM, Ondrej Zary wrote:

> Use print_hex_* for debug dumps.
> 
> Signed-off-by: Ondrej Zary <linux at zary.sk>

[...]
> diff --git a/drivers/ata/pata_parport/epat.c b/drivers/ata/pata_parport/epat.c
> index 389faa6ae49d..b08ed2f86668 100644
> --- a/drivers/ata/pata_parport/epat.c
> +++ b/drivers/ata/pata_parport/epat.c
> @@ -280,7 +280,7 @@ static int epat_test_proto(struct pi_adapter *pi, char *scratch, int verbose)
>          epat_disconnect(pi);
>  
>  	dev_dbg(&pi->dev, "epat: port 0x%x, mode %d, ccr %x, test=(%d,%d,%d)\n",
> -	       pi->port, pi->mode, cc, e[0], e[1], f);
> +		pi->port, pi->mode, cc, e[0], e[1], f);

   Mhm, this (and below changes) belongs to patch #11... :-/

[...]

MBR, Sergey



More information about the Linux-parport mailing list