mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-16 14:56:59 +00:00
drivers: net: fsl-mc: do not prefix decimal values with 0x
The fsl-mc driver printed debug information which used the 0x prefix for decimal values. This only confuses anyone looking through the log. Because of this, just remove the prefix and use the "DPXY.<id>" notation which is the standard one for the DPAA2 objects. Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
This commit is contained in:
parent
3ad24e4d36
commit
8ecf1ca093
1 changed files with 6 additions and 6 deletions
|
@ -1038,7 +1038,7 @@ static int dpio_init(void)
|
|||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
printf("Init: DPIO id=0x%d\n", dflt_dpio->dpio_id);
|
||||
printf("Init: DPIO.%d\n", dflt_dpio->dpio_id);
|
||||
#endif
|
||||
err = dpio_enable(dflt_mc_io, MC_CMD_NO_FLAGS, dflt_dpio->dpio_handle);
|
||||
if (err < 0) {
|
||||
|
@ -1107,7 +1107,7 @@ static int dpio_exit(void)
|
|||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
printf("Exit: DPIO id=0x%d\n", dflt_dpio->dpio_id);
|
||||
printf("Exit: DPIO.%d\n", dflt_dpio->dpio_id);
|
||||
#endif
|
||||
|
||||
if (dflt_dpio)
|
||||
|
@ -1312,7 +1312,7 @@ static int dpbp_init(void)
|
|||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
printf("Init: DPBP id=0x%x\n", dflt_dpbp->dpbp_attr.id);
|
||||
printf("Init: DPBP.%d\n", dflt_dpbp->dpbp_attr.id);
|
||||
#endif
|
||||
|
||||
err = dpbp_close(dflt_mc_io, MC_CMD_NO_FLAGS, dflt_dpbp->dpbp_handle);
|
||||
|
@ -1351,7 +1351,7 @@ static int dpbp_exit(void)
|
|||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
printf("Exit: DPBP id=0x%d\n", dflt_dpbp->dpbp_attr.id);
|
||||
printf("Exit: DPBP.%d\n", dflt_dpbp->dpbp_attr.id);
|
||||
#endif
|
||||
|
||||
if (dflt_dpbp)
|
||||
|
@ -1422,7 +1422,7 @@ static int dpni_init(void)
|
|||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
printf("Init: DPNI id=0x%d\n", dflt_dpni->dpni_id);
|
||||
printf("Init: DPNI.%d\n", dflt_dpni->dpni_id);
|
||||
#endif
|
||||
err = dpni_close(dflt_mc_io, MC_CMD_NO_FLAGS, dflt_dpni->dpni_handle);
|
||||
if (err < 0) {
|
||||
|
@ -1459,7 +1459,7 @@ static int dpni_exit(void)
|
|||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
printf("Exit: DPNI id=0x%d\n", dflt_dpni->dpni_id);
|
||||
printf("Exit: DPNI.%d\n", dflt_dpni->dpni_id);
|
||||
#endif
|
||||
|
||||
if (dflt_dpni)
|
||||
|
|
Loading…
Add table
Reference in a new issue