Re: [Patch] net/sched/sch_generic.c: fix an error pointer

From: David Miller
Date: Thu Jun 19 2008 - 19:11:21 EST


From: WANG Cong <wcong@xxxxxxxxxxxxxxxxxx>
Date: Thu, 19 Jun 2008 15:37:14 +0100

> ERR_PTR() ususally encodes an negative errno, not positive.
>
> Note, in the following patch, 'err' is initialized as:
>
> int err = -ENOBUFS;
>
> Signed-off-by: WANG Cong <wcong@xxxxxxxxxxxxxxxxxx>

Patch is whitespace corruped and line wrapped by your
email client.

Please fix this and resubmit, thank you.
--
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/