atm: iphase: Fix a typo in printk message.
Subsystems (3)
PATCH 1/1 atm: iphase: Fix a typo in printk message.
This patch fixes a spelling typo in printk message.
Signed-off-by Masanari Iida <[email protected]>
--- drivers/atm/iphase.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/atm/iphase.c +1 -1
@@ -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
Signature · 1 line
2.38.1
Quoted 13 lines · Masanari Iida
This patch fixes a spelling typo in printk message.
Signed-off-by Masanari Iida <[email protected]>--- drivers/atm/iphase.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/atm/iphase.c +0
-0
drivers/atm/iphase.c static int ia_cbr_setup (IADEV *dev, struct atm_vcc *vcc) { · line 553
Quoted 6 lines
drivers/atm/iphase.c +1
-1@@ -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.
Quoted 5 lines
drivers/atm/iphase.c +0
-1}// set table index and read in value --2.38.1