Re: [PATCH] wistron_btns: Fix missing BIOS signature handling

From: Dmitry Torokhov
Date: Sun Jan 08 2006 - 01:57:49 EST


On Sunday 08 January 2006 01:39, Miloslav Trmac wrote:
> offset can never be < 0 because it has type size_t. The driver
> currently oopses on insmod if BIOS does not support the interface,
> instead of refusing to load.
>

I don't really like that casting, should we just change offset to ssize_t?

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