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.
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
Dmitry Torokhov wrote:
> 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?
Sure.
Mirek
On Sunday 08 January 2006 02:52, Miloslav Trmac wrote:
> Dmitry Torokhov wrote:
> > 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?
> Sure.
> Mirek
>
Thank you, I will add this to input tree.
--
Dmitry