Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754555AbbFQI0z (ORCPT ); Wed, 17 Jun 2015 04:26:55 -0400 Received: from mout.gmx.net ([212.227.15.15]:57409 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754470AbbFQI0q (ORCPT ); Wed, 17 Jun 2015 04:26:46 -0400 From: Marc Dietrich To: Peng Fan , linux-tegra@vger.kernel.org Cc: gregkh@linuxfoundation.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: nvec: remove duplicated const Date: Wed, 17 Jun 2015 10:26:20 +0200 Message-ID: <1596867.Dc7iyCSx9r@fb07-iapwap2> User-Agent: KMail/4.14.9 (Linux/4.1.0-rc8-marc+; KDE/4.14.9; x86_64; ; ) In-Reply-To: <1434467601-3290-1-git-send-email-van.freenix@gmail.com> References: <1434467601-3290-1-git-send-email-van.freenix@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3219380.d6tjNLg1ce"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-Provags-ID: V03:K0:aJcVV1dzieB+OqrKZBqAc2BO9DfwMNDrcv02lDNJ9IJeq7g3pad NqGBcssCNbgFoEKz1KVLoy309VmiAYmicZmnF5kxPETR5b15GEhe5W6+8+UidpdgR0GJ+Hd 1B6Jpm7iXDTaJ0H5nsVldbzz+CWMAXc2XbeEDOKwrsbHNKByj3HAUZC4O19gJFNSQwqvcDH ins3iYjGHwA+1H6fZzNew== X-UI-Out-Filterresults: notjunk:1;V01:K0:dXfcjy+WdsE=:s8/cp1sw0Wa3FyZBUB7jL/ 3U5jhXqY7jBQfZcb7m3V+L4uBa3Ny3AKzahLqQbq7enwb66Aq7k3fcb7Mdl6S6D+uJ+bpei9e BV2FquRDBw7GH97FQO4Ag64RnDvw384IZq9FYO12jBtzWUYEjzNwIbZrQVVnvWXZH/2/+GMRi llohII2Eg57zJ+m/CM5I52s0l8z64SI2QpIMpYb0lW1eZrAopUnn3HnmKJ0ucefYMnkSoGXIK PcS3cLp0giose/YuAE+DbglVzb4/F985MAhwJfRqr7LIgLClpjjvn4BmCGVEoe55TBEhbMkim cUs8e6FaU204gGUwq4L+RWnYiWS1F2XlNge5NkEBPQIaxOqLLal1coQmo90pLx7fYKS0LigyM 360FA7CcAn3AOm7uLt+g4dF5Oe1oXyvijRqEvWoW32LmS7ZJkz3od9TFdrMr61yJqC40uDgGt HRh2xy4SbhTWsi42RXRBctVJ8VMagLniDis5/5jPQRreU6/j4JET/2boMyupZG3RNxhrYaFjq PT1AS6S7tsaK7IbVUHad//kN93ybTZcNgMJbkKO12a2g04zPnUIyDtLVCl0VqJcRsEQ1WoAo/ ITv9hMq4Klke8qrNYwgBmnELj5B2xrjbF113vlTzwGzVTMDqEWx4GqJ1Okrmaxh6+iegPDed9 3FqB8kBx1utpcMANQbKQuVqZVg5Xo9he+xhkDmXMTio9P4w== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2025 Lines: 59 --nextPart3219380.d6tjNLg1ce Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="ISO-8859-1" Am Dienstag, 16. Juni 2015, 23:13:21 schrieb Peng Fan: > Sparse checking warning: > "drivers/staging/nvec/nvec_ps2.c:172:14: warning: duplicate const". > Remove the duplicated const to fix the warning. > > Signed-off-by: Peng Fan Thanks! Acked-by: Marc Dietrich > --- > drivers/staging/nvec/nvec_ps2.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/staging/nvec/nvec_ps2.c > b/drivers/staging/nvec/nvec_ps2.c index 6ebbc82..0922dd3 100644 > --- a/drivers/staging/nvec/nvec_ps2.c > +++ b/drivers/staging/nvec/nvec_ps2.c > @@ -169,8 +169,8 @@ static int nvec_mouse_resume(struct device *dev) > } > #endif > > -static const SIMPLE_DEV_PM_OPS(nvec_mouse_pm_ops, nvec_mouse_suspend, > - nvec_mouse_resume); > +static SIMPLE_DEV_PM_OPS(nvec_mouse_pm_ops, nvec_mouse_suspend, > + nvec_mouse_resume); > > static struct platform_driver nvec_mouse_driver = { > .probe = nvec_mouse_probe, --nextPart3219380.d6tjNLg1ce Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAABCAAGBQJVgS8sAAoJEKyeR39HFBtoYJcIAJ3cw4TjyHCXdo6fLXAJTejU wiKCg/Tq9o+7hQi7zt96AmmnDdU4dEGxqa9IK/MMi303ulblxCINVAHRhI7/7gH6 RCSn0hg8ivADYhLmozkYHBAT8GF2iOd+I+9xuiDp9940tO1SaUSpSpIjjNbyEPCj 5jEVOpmKG4/W8rmTDBi6VWjQPu6/NlOiwGWzrZArubx16v5KFUwSfCYkjE082anH gul6DpzOd5mzzaqMeiwIZ78Bp2CrEFmsbYLI7PUslT9zzhXSLpAGTAEuqs7M+3Gz UAZ/i2h8yzkoAp+ZJj6lP5N+y7vdfncslIsbNM2h0zqIRUdqQTRaeJP3ZnyLksc= =PoYE -----END PGP SIGNATURE----- --nextPart3219380.d6tjNLg1ce-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/