Message ID | 20221223074135.150076-1-standby24x7@gmail.com (mailing list archive) |
---|---|
State | Changes Requested |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | atm: iphase: Fix a typo in printk message. | expand |
On Fri, Dec 23, 2022 at 1:11 PM Masanari Iida <standby24x7@gmail.com> wrote: > > This patch fixes a spelling typo in printk message. > > Signed-off-by: Masanari Iida <standby24x7@gmail.com> > --- > 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 >
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);) } // set table index and read in value
This patch fixes a spelling typo in printk message. Signed-off-by: Masanari Iida <standby24x7@gmail.com> --- drivers/atm/iphase.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)