[PATCH] staging/zram: Fix sparse warning 'Using plain integer as NULL pointer'

Nitin Gupta ngupta at vflare.org
Wed Dec 8 22:47:26 UTC 2010


On 12/8/2010 5:30 PM, Greg KH wrote:
> On Tue, Dec 07, 2010 at 06:09:22PM -0500, Nitin Gupta wrote:
>> On 12/7/2010 5:44 PM, Peter Huewe wrote:
>>> This patch fixes the warning generated by sparse: "Using plain integer
>>> as NULL pointer" by replacing the offending 0s with NULL.
>>>
>>> Signed-off-by: Peter Huewe <peterhuewe at gmx.de>
>>
>> Thanks for the fix. I see that it's already fixed in the
>> project internal repo but I somehow missed sending it to
>> mainline.
> 
> Are you ever going to sync your internal repo with the in-kernel one, or
> should I just delete the in-kernel one?
> 


It is almost sync'ed up (apart from "scalability enhancements") but I
somehow missed this part. Currently, I'm completely occupied with
final exams due next week. So, please be patient.

I plan to completely discard scalability part and solve outstanding
crash reports (http://code.google.com/p/compcache/issues/list) once
this school overhead is over.

Thanks,
Nitin




More information about the devel mailing list