From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935124AbbDIKBQ (ORCPT ); Thu, 9 Apr 2015 06:01:16 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:58606 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935101AbbDIKBM (ORCPT ); Thu, 9 Apr 2015 06:01:12 -0400 Date: Thu, 9 Apr 2015 11:00:54 +0100 From: Mark Brown To: Dan Carpenter Cc: Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Vinod Koul , "Subhransu S. Prusty" , Jie Yang , Jarkko Nikula , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Message-ID: <20150409100054.GQ6023@sirena.org.uk> References: <20150409090239.GA17605@mwanda> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="KAj9AL6usbKsxRUD" Content-Disposition: inline In-Reply-To: <20150409090239.GA17605@mwanda> X-Cookie: I've been there. User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: 94.175.94.161 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [patch] ASoC: Intel: do cast earlier in sst_cdev_tstamp() X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on mezzanine.sirena.org.uk) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --KAj9AL6usbKsxRUD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Apr 09, 2015 at 12:02:39PM +0300, Dan Carpenter wrote: > My static checker complains about these because it looks like the > multiply can overflow and then we cast to a larger data type. I don't > think this is a problem, but it's also harmless to do the cast earlier > so let's silence the static checker warning. Applied, thanks. --KAj9AL6usbKsxRUD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJVJk3VAAoJECTWi3JdVIfQ0uIH/RXFJFHg+/YLdbQnm2Raf32J Fz1A7mMfiXBY2lkurdXR4by0+K8844zrzWYTqlPgzAqZn2/IIL5wUlaLVLKX+4kt s/DbcDGCMX40/1bKom3Pil2V7Ug3vdS95wZX99A5zwsm1nw0T0jMDnIximYrcaTA boglIHGN0yZ0Uuje3ACJXJTc2lkuPjmzn2OBn+b0cXeCWq+Ddou8Egpi07xYqx0U gxaI5X1N/0YjHNluvEShN4pFA+AbFpSOPaGE3dqTB237/O3mZsq3slYohJ/BcAeJ Bvrt8uSSpSFRumuJrz8oYfLCg6eXDrKCA//sO9bOWqdnkNr7NV/5oblk4l+p1uo= =5scd -----END PGP SIGNATURE----- --KAj9AL6usbKsxRUD--