Re: [PATCH] atm: iphase: Fix a typo in printk message.

From: Pavan Chebbi
Date: Sun Dec 25 2022 - 11:43:06 EST


On Fri, Dec 23, 2022 at 1:11 PM Masanari Iida <standby24x7@xxxxxxxxx> wrote:
>
> This patch fixes a spelling typo in printk message.
>
> Signed-off-by: Masanari Iida <standby24x7@xxxxxxxxx>
> ---
> drivers/atm/iphase.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/atm/iphase.c b/drivers/atm/iphase.c
> index 324148686953..aea5fc4c206e 100644
> --- a/drivers/atm/iphase.c
> +++ b/drivers/atm/iphase.c
> @@ -549,7 +549,7 @@ static int ia_cbr_setup (IADEV *dev, struct atm_vcc *vcc) {
> if (testSlot >= (int)dev->CbrTotEntries) { // Wrap if necessary
> testSlot -= dev->CbrTotEntries;
> IF_CBR(printk("TotCbrEntries=%d",dev->CbrTotEntries);)
> - IF_CBR(printk(" Testslot=0x%x ToBeAssgned=%d\n",
> + IF_CBR(printk(" Testslot=0x%x ToBeAssigned=%d\n",
> testSlot, toBeAssigned);)

I think current checkpatch errors are valid even though the original
code may be violating. You may fix them and also add a fixes tag.

> }
> // set table index and read in value
> --
> 2.38.1
>

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature