Skip to contentSkip to conversation

drivers/platform/surface/surface_dtx.c:651:2-3: Unneeded semicolon

PATCH kernel test robot 3 participants 4 messages Mar 19, 2021 – Mar 23, 2021

Subsystems (2)
lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git review-hans
head:   0b4f5c95fba2ec004960e2bcf849548a863f7495
commit: 1d609992832e900378b305f9f8dcf0ce8473049e [18/24] platform/surface: Add DTX driver
config: i386-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0

If you fix the issue, kindly add following tag as appropriate

cocci warnings: (new ones prefixed by >>)

>> drivers/platform/surface/surface_dtx.c:651:2-3: Unneeded semicolon

Please review and possibly fold the followup patch.

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

author build bot
#1 lore raw

[PATCH] platform/surface: fix semicolon.cocci warnings

drivers/platform/surface/surface_dtx.c:651:2-3: Unneeded semicolon

From: kernel test robot <[email protected]>

drivers/platform/surface/surface_dtx.c:651:2-3: Unneeded semicolon

Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Fixes 1d609992832e ("platform/surface: Add DTX driver")
CC Maximilian Luz <[email protected]>

---

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git review-hans
head:   0b4f5c95fba2ec004960e2bcf849548a863f7495
commit: 1d609992832e900378b305f9f8dcf0ce8473049e [18/24] platform/surface: Add DTX driver
 surface_dtx.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/platform/surface/surface_dtx.c +1 -1
@@ -648,7 +648,7 @@ static u32 sdtx_notifier(struct ssam_eve
 
 	default:
 		return 0;
-	};
+	}
 
 	if (in->length != len) {
 		dev_err(ddev->dev,
maintainer Reviewed-by
#2 lore raw

Re: [PATCH] platform/surface: fix semicolon.cocci warnings

Quoted 5 lines · kernel test robot

From: kernel test robot <[email protected]>

drivers/platform/surface/surface_dtx.c:651:2-3: Unneeded semicolon

Quoted 8 lines

Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Fixes 1d609992832e ("platform/surface: Add DTX driver")
CC Maximilian Luz <[email protected]>

Looks good to me. Hans, if you want to apply this feel free to add

Quoted 21 lines

---

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git review-hans
head:   0b4f5c95fba2ec004960e2bcf849548a863f7495
commit: 1d609992832e900378b305f9f8dcf0ce8473049e [18/24] platform/surface: Add DTX driver
  surface_dtx.c |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/platform/surface/surface_dtx.c +1 -1
@@ -648,7 +648,7 @@ static u32 sdtx_notifier(struct ssam_eve
 
  	default:
  		return 0;
-	};
+	}
 
  	if (in->length != len) {
  		dev_err(ddev->dev,
#3 lore raw

Re: [PATCH] platform/surface: fix semicolon.cocci warnings

In reply to kernel test robot

Hi,

Quoted 5 lines · kernel test robot

From: kernel test robot <[email protected]>

drivers/platform/surface/surface_dtx.c:651:2-3: Unneeded semicolon

Quoted 8 lines

Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Fixes 1d609992832e ("platform/surface: Add DTX driver")
CC Maximilian Luz <[email protected]>

Thank you for your patch, I've applied this patch to my review-hans branch:
https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans

Note it will show up in my review-hans branch once I've pushed my local branch there, which might take a while.

Once I've run some tests on this branch the patches there will be added to the platform-drivers-x86/for-next branch and eventually will be included in the pdx86 pull-request to Linus for the next merge-window.

Regards,

Hans

Quoted 21 lines

---

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git review-hans
head:   0b4f5c95fba2ec004960e2bcf849548a863f7495
commit: 1d609992832e900378b305f9f8dcf0ce8473049e [18/24] platform/surface: Add DTX driver
 surface_dtx.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/platform/surface/surface_dtx.c +1 -1
@@ -648,7 +648,7 @@ static u32 sdtx_notifier(struct ssam_eve
 
 	default:
 		return 0;
-	};
+	}
 
 	if (in->length != len) {
 		dev_err(ddev->dev,