[lkml]   [2011]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] video/saa7164: Fix sparse warning: Using plain integer as NULL pointer
    On Tue, Jan 25, 2011 at 11:20:44PM +0100, Julia Lawall wrote:
    > On Tue, 25 Jan 2011, Peter Huewe wrote:
    > > This patch fixes the warning "Using plain integer as NULL pointer",
    > > generated by sparse, by replacing the offending 0s with NULL.
    > I recall (a number of years ago) being told that for things like kmalloc,
    > the proper test was !x, not x == NULL.

    It was Al Viro who said that. Here's the link.

    dan carpenter

     \ /
      Last update: 2011-01-26 05:29    [W:0.042 / U:63.220 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site