lkml.org 
[lkml]   [2006]   [Jan]   [8]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
FromDmitry Torokhov <>
SubjectRe: [PATCH] wistron_btns: Fix missing BIOS signature handling
DateSun, 8 Jan 2006 01:58:03 -0500
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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-01-08 07:01    [from the cache]
©2003-2008