Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1669062

[PATCH] Input: fix semicolon.cocci warnings

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject [PATCH] Input: fix semicolon.cocci warnings
Date 2017-06-19 15:30 +0200
Message-ID <tU4UG-3bd-27@gated-at.bofh.it> (permalink)
References <tU4UG-3bd-13@gated-at.bofh.it> <tU1k6-S2-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


drivers/input/touchscreen/goodix-ts-sunrise/goodix_gtx5_update.c:752:2-3: Unneeded semicolon


 Remove unneeded semicolon.

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

CC: Wang Yafei <wangyafei@goodix.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 goodix_gtx5_update.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/input/touchscreen/goodix-ts-sunrise/goodix_gtx5_update.c
+++ b/drivers/input/touchscreen/goodix-ts-sunrise/goodix_gtx5_update.c
@@ -749,7 +749,7 @@ static int goodix_send_fw_packet(struct
 	if (r < 0) {
 		dev_err(ts_dev->dev, "Error occurred when wait ISP idle\n");
 		return r;
-	};
+	}
 
 	/* check ISP result */
 	r = goodix_isp_flash_done(ts_dev);

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH] Input: fix semicolon.cocci warnings kbuild test robot <lkp@intel.com> - 2017-06-19 15:30 +0200

csiph-web