Subject: Re: [net-next 06/16] i40e: Properly cast type for arithmetic

From: Joe Perches <[email-masked]>
Date: Tue, 24 Nov 2015 16:43:32 -0800

On Tue, 2015-11-24 at 16:04 -0800, Jeff Kirsher wrote:
> From: Helin Zhang <[email-masked]>
> 
> Pointer of type void * shouldn't be used in arithmetic, which may
> result in compilation error. Casting of (u8 *) can be added to fix
> that.
> 

void * arithmetic is used quite frequently in the kernel.

What compiler emits an error?