Message ID | 20161027172650.GA24867@cairo.lkp.intel.com (mailing list archive) |
---|---|
State | Accepted, archived |
Delegated to: | Andy Shevchenko |
Headers | show |
> -----Original Message----- > From: kbuild test robot [mailto:lkp@intel.com] > Sent: Thursday, October 27, 2016 8:27 PM > To: Vadim Pasternak <vadimp@mellanox.com> > Cc: kbuild-all@01.org; dvhart@infradead.org; fengguang.wu@intel.com; > davem@davemloft.net; geert@linux-m68k.org; akpm@linux-foundation.org; > kvalo@codeaurora.org; gregkh@linuxfoundation.org; mchehab@kernel.org; > linux@roeck-us.net; linux-kernel@vger.kernel.org; platform-driver- > x86@vger.kernel.org; jiri@resnulli.us; andriy.shevchenko@linux.intel.com; > Vadim Pasternak <vadimp@mellanox.com> > Subject: [PATCH] drivers/platform/x86: fix semicolon.cocci warnings > > drivers/platform/x86/mlx-platform.c:219:2-3: Unneeded semicolon > > > Remove unneeded semicolon. > > Generated by: scripts/coccinelle/misc/semicolon.cocci > > CC: Vadim Pasternak <vadimp@mellanox.com> > Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> > --- > > mlx-platform.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > --- a/drivers/platform/x86/mlx-platform.c > +++ b/drivers/platform/x86/mlx-platform.c > @@ -216,7 +216,7 @@ static int __init mlxplat_init(void) > if (IS_ERR(priv->pdev_i2c)) { > err = PTR_ERR(priv->pdev_i2c); > goto fail_alloc; > - }; > + } Acked-by: Vadim Pasternak <vadimp@mellanox.com> > > for (i = 0; i < ARRAY_SIZE(mlxplat_mux_data); i++) { > priv->pdev_mux[i] = platform_device_register_resndata( -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
--- a/drivers/platform/x86/mlx-platform.c +++ b/drivers/platform/x86/mlx-platform.c @@ -216,7 +216,7 @@ static int __init mlxplat_init(void) if (IS_ERR(priv->pdev_i2c)) { err = PTR_ERR(priv->pdev_i2c); goto fail_alloc; - }; + } for (i = 0; i < ARRAY_SIZE(mlxplat_mux_data); i++) { priv->pdev_mux[i] = platform_device_register_resndata(
drivers/platform/x86/mlx-platform.c:219:2-3: Unneeded semicolon Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci CC: Vadim Pasternak <vadimp@mellanox.com> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> --- mlx-platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html