Re: [PATCH] staging: comedi: Fix incorrect type assignment
From: Greg KH
Date: Thu Feb 09 2017 - 06:21:36 EST
On Thu, Feb 09, 2017 at 01:53:56AM +0530, Karthik Nayak wrote:
> This patch fixes the following sparse error:
> drivers/staging/comedi/drivers//ni_pcimio.c:1229:32: warning: incorrect type in assignment (different base types)
> drivers/staging/comedi/drivers//ni_pcimio.c:1229:32: expected restricted __be32 [usertype] serial_number
> drivers/staging/comedi/drivers//ni_pcimio.c:1229:32: got unsigned int
>
> This is done by removing the whole code block, since the variable
> 'serial_number' is only assigned but never used.
>
> Helped-by: Ian Abbott <abbotti@xxxxxxxxx>
There's no such tag, sorry :(
And does this obsolete all of your other ones? Please make it obvious
what I am supposed to do here.
I've now dropped all of these patches from my queue. please resend the
proper one.
thanks,
greg k-h