Re: [PATCH 1/3] epoll: initialize slack for negative timeout values

From: Mike Frysinger
Date: Fri Mar 18 2011 - 03:39:01 EST


On Sat, Jan 15, 2011 at 12:00, Shawn Bohrer wrote:
> When a negative timeout value is passed to epoll the 'slack' variable is
> currently unitialized:
>
> fs/eventpoll.c: In function âep_pollâ:
> fs/eventpoll.c:1119: warning: âslackâ may be used uninitialized in this function

still in 2.6.38 ? :/
-mike
--
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/