[PATCH] staging: rtl8192e: fix wrong assignment

Gujulan Elango, Hari Prasath (H.) hgujulan at visteon.com
Thu Apr 30 16:59:45 UTC 2015


From: Dan Carpenter <dan.carpenter at oracle.com>
Sent: Thursday, April 30, 2015 6:33 PM
To: Gujulan Elango, Hari Prasath (H.)
Cc: devel at driverdev.osuosl.org; Julia.Lawall at lip6.fr; gregkh at linuxfoundation.org; wlanfae at realtek.com; mateusz.kulikowski at gmail.com; Babu, Viswanathan (V.); Larry.Finger at lwfinger.net
Subject: Re: [PATCH] staging: rtl8192e: fix wrong assignment

On Thu, Apr 30, 2015 at 12:06:28PM +0000, Gujulan Elango, Hari Prasath (H.) wrote:
> This patch addresses a spatch warning on assigning a negative
> value to a unsigned integer.Similar patch has been submitted by
> Larry Finger earlier to silence the same spatch warning in another
> file.

What's the git hash and title for Larry's patch?

> The logic is the negative number to an unsigned quantity is
> fixed by adding 256 to -98 to get the equivalent negative number as
> per Larry Finger.

>> It was a spatch warning.I am not sure if that change by Larry went in,but here's the link where I found a submission by Larry.
http://permalink.gmane.org/gmane.linux.kernel.wireless.general/113125


regards,
dan carpenter



More information about the devel mailing list