Re: [PATCH] net: fix sparse warning (plain int as NULL)

From: Jesper Juhl
Date: Mon Jun 13 2005 - 16:33:40 EST


On 6/13/05, David S. Miller <davem@xxxxxxxxxxxxx> wrote:
> From: Jesper Juhl <juhl-lkml@xxxxxx>
> Date: Mon, 13 Jun 2005 00:05:33 +0200 (CEST)
>
> > Here's a patch to fix a small sparse warning in net/ipv4/tcp_input.c :
> > net/ipv4/tcp_input.c:4179:29: warning: Using plain integer as NULL pointer
> >
> > Signed-off-by: Jesper Juhl <juhl-lkml@xxxxxx>
>
> Please patch against Linus's tree, -mm has a ton of TCP changes
> in it so this patch wouldn't apply to the current GIT tree
> without rejects.
>
Since tcp_ack_saw_tstamp() in 2.6.12-rc6-git6 only takes two arguments
this patch is only relevant for -mm.

--
Jesper Juhl <jesper.juhl@xxxxxxxxx>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/