2007-06-19 09:11:50

by Fengwei Yin

[permalink] [raw]
Subject: Type error in drivers/input/tsdev.c?

Hi,
In function tsdev_event() of drivers/input/tsdev.c,
conversion from usec to milisec is like:
client->event[client->head].millisecs =
time.tv_usec / 100;
~~~~~~ should be 1000?

Regards
Yin, Fengwei


2007-06-19 09:28:36

by Jiri Slaby

[permalink] [raw]
Subject: Re: Type error in drivers/input/tsdev.c?

Fengwei Yin napsal(a):
> Hi,
> In function tsdev_event() of drivers/input/tsdev.c,
> conversion from usec to milisec is like:
> client->event[client->head].millisecs =
> time.tv_usec / 100;
> ~~~~~~ should be 1000?

Seems so. James CCed.

regards,
--
http://www.fi.muni.cz/~xslaby/ Jiri Slaby
faculty of informatics, masaryk university, brno, cz
e-mail: jirislaby gmail com, gpg pubkey fingerprint:
B674 9967 0407 CE62 ACC8 22A0 32CC 55C3 39D4 7A7E

2007-06-21 19:54:52

by James Simmons

[permalink] [raw]
Subject: Re: Type error in drivers/input/tsdev.c?


> Fengwei Yin napsal(a):
> > Hi,
> > In function tsdev_event() of drivers/input/tsdev.c,
> > conversion from usec to milisec is like:
> > client->event[client->head].millisecs =
> > time.tv_usec / 100;
> > ~~~~~~ should be 1000?
>
> Seems so. James CCed.

Thats my old email address. Tsdev is schedule for deletion.