]> git.neil.brown.name Git - history.git/commit
[PATCH] tipar char driver: wrong timeout value
authorRomain Liévin <lkml@lievin.net>
Thu, 22 Apr 2004 07:36:55 +0000 (00:36 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 22 Apr 2004 07:36:55 +0000 (00:36 -0700)
commitc0b3a38f48329d6224822a5c05c37919e14505e4
treef85e47afee2e37ff3b3131093dd33d52296e404c
parent78fdb0c470f685df81f2d8cc2dce59bac9be1b12
[PATCH] tipar char driver: wrong timeout value

this patch (2.4 & 2.6) fixes a bug about the timeout value. The formula
used to calculate jiffies from timeout is wrong.
The new formula is ok and takes care of integer computation/rounding.
There is the same bug in the tiglusb.c module which will be fixed by another
patch.
drivers/char/tipar.c