From: kbuild test robot <lkp@intel.com>
To: Pierre-Yves MORDRET <pierre-yves.mordret@st.com>
Cc: kbuild-all@01.org, Wolfram Sang <wsa@the-dreams.de>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>,
Alexandre Torgue <alexandre.torgue@st.com>,
linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org,
Pierre-Yves MORDRET <pierre-yves.mordret@st.com>
Subject: [PATCH] i2c: i2c-stm32f7: fix semicolon.cocci warnings
Date: Tue, 13 Mar 2018 20:52:26 +0800 [thread overview]
Message-ID: <20180313125226.GA26161@lkp-sb05> (raw)
In-Reply-To: <1520852023-27083-4-git-send-email-pierre-yves.mordret@st.com>
From: Fengguang Wu <fengguang.wu@intel.com>
drivers/i2c/busses/i2c-stm32f7.c:995:2-3: Unneeded semicolon
drivers/i2c/busses/i2c-stm32f7.c:944:2-3: Unneeded semicolon
drivers/i2c/busses/i2c-stm32f7.c:875:2-3: Unneeded semicolon
Remove unneeded semicolon.
Generated by: scripts/coccinelle/misc/semicolon.cocci
Fixes: 226a69fb1a70 ("i2c: i2c-stm32f7: Add initial SMBus protocols support")
CC: Pierre-Yves MORDRET <pierre-yves.mordret@st.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
i2c-stm32f7.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--- a/drivers/i2c/busses/i2c-stm32f7.c
+++ b/drivers/i2c/busses/i2c-stm32f7.c
@@ -872,7 +872,7 @@ static int stm32f7_i2c_smbus_xfer_msg(st
default:
dev_err(dev, "Unsupported smbus protocol %d\n", f7_msg->size);
return -EOPNOTSUPP;
- };
+ }
f7_msg->buf = f7_msg->smbus_buf;
@@ -941,7 +941,7 @@ static void stm32f7_i2c_smbus_rep_start(
f7_msg->count = 1;
cr2 |= STM32F7_I2C_CR2_RELOAD;
break;
- };
+ }
f7_msg->buf = f7_msg->smbus_buf;
f7_msg->stop = true;
@@ -992,7 +992,7 @@ static int stm32f7_i2c_smbus_check_pec(s
default:
dev_err(i2c_dev->dev, "Unsupported smbus protocol for PEC\n");
return -EINVAL;
- };
+ }
if (internal_pec != received_pec) {
dev_err(i2c_dev->dev, "Bad PEC 0x%02x vs. 0x%02x\n",
next prev parent reply other threads:[~2018-03-13 12:52 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-12 10:53 [RESEND PATCH v1 0/6] Add different features for I2C Pierre-Yves MORDRET
2018-03-12 10:53 ` [RESEND PATCH v1 1/6] i2c: i2c-stm32f7: Add 10-bit address support Pierre-Yves MORDRET
2018-03-12 10:53 ` [RESEND PATCH v1 2/6] i2c: i2c-stm32f7: Add slave support Pierre-Yves MORDRET
2018-03-17 20:51 ` Wolfram Sang
2018-03-19 8:41 ` Pierre Yves MORDRET
2018-03-20 9:52 ` Wolfram Sang
2018-03-20 10:17 ` Pierre Yves MORDRET
2018-03-21 10:47 ` Pierre Yves MORDRET
2018-03-12 10:53 ` [RESEND PATCH v1 3/6] i2c: i2c-stm32f7: Add initial SMBus protocols support Pierre-Yves MORDRET
2018-03-13 12:52 ` kbuild test robot [this message]
2018-03-13 12:52 ` kbuild test robot
2018-03-12 10:53 ` [RESEND PATCH v1 4/6] i2c: i2c-stm32: Add generic DMA API Pierre-Yves MORDRET
2018-03-12 10:53 ` [RESEND PATCH v1 5/6] i2c: i2c-stm32f7: Add DMA support Pierre-Yves MORDRET
2018-03-14 9:06 ` kbuild test robot
2018-03-12 10:53 ` [RESEND PATCH v1 6/6] i2c: i2c-stm32f7: Implement I2C recovery mechanism Pierre-Yves MORDRET
2018-03-17 20:47 ` Wolfram Sang
2018-03-19 8:51 ` Pierre Yves MORDRET
2018-03-20 9:31 ` Pierre Yves MORDRET
2018-03-20 9:42 ` Wolfram Sang
2018-03-20 9:45 ` Pierre Yves MORDRET
2018-03-19 9:36 ` Phil Reid
2018-03-19 16:25 ` Pierre Yves MORDRET
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=20180313125226.GA26161@lkp-sb05 \
--to=lkp@intel.com \
--cc=alexandre.torgue@st.com \
--cc=kbuild-all@01.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mcoquelin.stm32@gmail.com \
--cc=pierre-yves.mordret@st.com \
--cc=wsa@the-dreams.de \
/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;
as well as URLs for NNTP newsgroup(s).