Linux Input/HID development
 help / color / mirror / Atom feed
From: Julia Lawall <julia.lawall@lip6.fr>
To: Beomho Seo <beomho.seo@samsung.com>
Cc: dri-devel@lists.freedesktop.org,
	Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	linux-kernel@vger.kernel.org, Andi Shyti <andi.shyti@samsung.com>,
	Chanwoo Choi <cw00.choi@samsung.com>,
	kbuild-all@01.org, linux-input@vger.kernel.org
Subject: [PATCH] LOCAL / input: touchscreen: fix semicolon.cocci warnings
Date: Mon, 6 Mar 2017 14:38:29 +0100 (CET)	[thread overview]
Message-ID: <alpine.DEB.2.20.1703061436160.3078@hadrien> (raw)

 Remove unneeded semicolon.

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

CC: Beomho Seo <beomho.seo@samsung.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

I also received the following warning from kbuild, without any other
information:

drivers/input/touchscreen/fts_ts.c:750:1-6: WARNING: invalid free of devm_
allocated data

tree:
https://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos.git
exynos-drm-next-tm2
head:   41f00580dc0f947b7788a1b5f57f793dea49ee9a
commit: 15a1244b5349543dfc629b1eda799f0008dbd8bd [7/38] LOCAL / input:
touchscreen: Add FTS_TS touchsreen driver


 fts_ts.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/drivers/input/touchscreen/fts_ts.c
+++ b/drivers/input/touchscreen/fts_ts.c
@@ -558,12 +558,12 @@ static struct fts_i2c_platform_data *fts
 	if (of_property_read_u32(np, "x-size", &pdata->max_x)) {
 		dev_err(dev, "failed to get x-size property\n");
 		return NULL;
-	};
+	}

 	if (of_property_read_u32(np, "y-size", &pdata->max_y)) {
 		dev_err(dev, "failed to get y-size property\n");
 		return NULL;
-	};
+	}

 	pdata->keys_en = of_property_read_bool(np, "touch-key-connected");

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

                 reply	other threads:[~2017-03-06 13:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.20.1703061436160.3078@hadrien \
    --to=julia.lawall@lip6.fr \
    --cc=andi.shyti@samsung.com \
    --cc=beomho.seo@samsung.com \
    --cc=cw00.choi@samsung.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=kbuild-all@01.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox