diff mbox series

atm: iphase: Fix a typo in printk message.

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

Checks

Context Check Description
netdev/tree_selection success Guessed tree name to be net-next
netdev/fixes_present success Fixes tag not required for -next series
netdev/subject_prefix warning Target tree name not specified in the subject
netdev/cover_letter success Single patches do not need cover letters
netdev/patch_count success Link
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 63 this patch: 63
netdev/cc_maintainers success CCed 3 of 3 maintainers
netdev/build_clang success Errors and warnings before: 0 this patch: 0
netdev/module_param success Was 0 now: 0
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn success Errors and warnings before: 63 this patch: 63
netdev/checkpatch fail CHECK: Alignment should match open parenthesis ERROR: code indent should use tabs where possible ERROR: trailing whitespace WARNING: please, no spaces at the start of a line WARNING: printk() should include KERN_<LEVEL> facility level
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0

Commit Message

Masanari Iida Dec. 23, 2022, 7:41 a.m. UTC
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(-)

Comments

Pavan Chebbi Dec. 25, 2022, 4:42 p.m. UTC | #1
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 mbox series

Patch

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