Re: [PATCH 1/2] drivers/telephony/ixj.c::add_caps(): don't rely onundefined behaviour

From: Joe Perches
Date: Mon Mar 19 2012 - 18:44:37 EST


On Mon, 2012-03-19 at 23:37 +0100, Jesper Juhl wrote:
> In drivers/telephony/ixj.c::add_caps() we have several statements like this:
>
> j->caplist[j->caps].handle = j->caps++;
>
> That's undefined behaviour right there.

telephony has been moved to staging.

--
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/