From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfram Sang Subject: Re: [PATCH i2c-next v2] i2c: aspeed: Add an explicit type casting for *get_clk_reg_val Date: Sat, 4 Aug 2018 23:13:52 +0200 Message-ID: <20180804211352.h7ctrfw7qzmmxfzu@ninjato> References: <20180724203615.5770-1-jae.hyun.yoo@linux.intel.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="icyj4bvzuxifguk6" Return-path: Content-Disposition: inline In-Reply-To: <20180724203615.5770-1-jae.hyun.yoo@linux.intel.com> Sender: linux-kernel-owner@vger.kernel.org To: Jae Hyun Yoo Cc: Brendan Higgins , Benjamin Herrenschmidt , Joel Stanley , Andrew Jeffery , linux-i2c@vger.kernel.org, openbmc@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, Jarkko Nikula , James Feist , Vernon Mauery List-Id: linux-i2c@vger.kernel.org --icyj4bvzuxifguk6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 24, 2018 at 01:36:15PM -0700, Jae Hyun Yoo wrote: > This commit fixes this sparse warning: > drivers/i2c/busses/i2c-aspeed.c:875:38: warning: incorrect type in assign= ment (different modifiers) > drivers/i2c/busses/i2c-aspeed.c:875:38: expected unsigned int ( *get_c= lk_reg_val )( ... ) > drivers/i2c/busses/i2c-aspeed.c:875:38: got void const *const data >=20 > Signed-off-by: Jae Hyun Yoo Added the 'Reported-tag' and applied to for-next, thanks! --icyj4bvzuxifguk6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAltmFw8ACgkQFA3kzBSg KbaYIA/9FuNWOqzwhC2mmkt+mVEYgsimRNK2jkwCRHGqNoTW8/ys1CHm1+2ibJfG Q5/auzEuTwotmMN0aJXjlObMTwzqnkOVC4Mhi8At/NrL5eX5LaDMyjhzXVykR9jr +0HDzPXqEIR52HxbScbQfnc8Y2d48sYc/riSnlzYDw2FAVaDhUAtf87Y6JHZSw+o 7+xK2hHSfgOXJVNWR6YV7YF6YQdDZj3LqoF4XUufYGZO2LZGZIxmJ90mI+xgqVcM v1O+7UDNaLJ7xd0zgocEMOZ3urKoxp1ltf/tdW/yuGpa18YcVOHj4DCuinhJcngy 9IDvbW9QjV2xiKy9D3h67PiD3gWasfrvZE1Zd/9OhBTKnOQ11+fFaw1wCs6ivHND F2mpnsC+DmJzcw80yqi9SlC2S9TfxGluv+46gOZiBJpj9kRVi817DR9c4PjACs2E aslqNpoLKs9Qy6OjfOhVzm0r8IYTnGTYaNpscrRTaPM+6mztDchw2BRE9jgT7CGf 3/f7ZDDxLUm1//P7swQcXsIgnJl4EwYmJAZTH4rfzjFcgWIyLhsqQ2pKOCc7Myp3 IoREiuD89+aZ/JtWDJ2hM/LidYBRYy2sG+KY4BQwS4KYmfUJASVuwK77X0JPoSmr kSohS7uwR7JIwpZCnk9PCGJF2UgTuZH2/njbiOGcpPXi4DrjOp4= =lG6B -----END PGP SIGNATURE----- --icyj4bvzuxifguk6--