lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180313125226.GA26161@lkp-sb05>
Date:   Tue, 13 Mar 2018 20:52:26 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Pierre-Yves MORDRET <pierre-yves.mordret@...com>
Cc:     kbuild-all@...org, Wolfram Sang <wsa@...-dreams.de>,
        Maxime Coquelin <mcoquelin.stm32@...il.com>,
        Alexandre Torgue <alexandre.torgue@...com>,
        linux-i2c@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
        linux-kernel@...r.kernel.org,
        Pierre-Yves MORDRET <pierre-yves.mordret@...com>
Subject: [PATCH] i2c: i2c-stm32f7: fix semicolon.cocci warnings

From: Fengguang Wu <fengguang.wu@...el.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@...com>
Signed-off-by: Fengguang Wu <fengguang.wu@...el.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",

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ