> I'm not sure if this would fix any bugs, but it's worth a shot:
[snip]
> + if (!driver) {
> + return 0;
> + }
> +
Off the top of my head, it certainly won't fix any bugs, it'll hide them.
Anything which does pass a null pointer should oops "cleanly" (i.e., outside
of interrupts AFAICS) at the moment, which allows it to be fixed..
-- Hail Eris!- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/