Andrew Morton wrote:
--snip--
> It would be better to do:
>
> if (dev < 0 || dev >= ARRAY_SIZE(smw_mix_regs))
>
some bounds checking and general housecleaning
http://www.0x80.org/patches/2.5.56/sb_mixer.diff
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed Jan 15 2003 - 22:00:53 EST