[PATCH i2c-next v2] i2c: aspeed: Add an explicit type casting for *get_clk_reg_val

Wolfram Sang wsa at the-dreams.de
Sun Aug 5 07:13:52 AEST 2018


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 assignment (different modifiers)
> drivers/i2c/busses/i2c-aspeed.c:875:38:    expected unsigned int ( *get_clk_reg_val )( ... )
> drivers/i2c/busses/i2c-aspeed.c:875:38:    got void const *const data
> 
> Signed-off-by: Jae Hyun Yoo <jae.hyun.yoo at linux.intel.com>

Added the 'Reported-tag' and applied to for-next, thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20180804/01f720dc/attachment.sig>


More information about the openbmc mailing list