2005-03-16 21:34:59

by M.Baris Demiray

[permalink] [raw]
Subject: [PATCH] Trivial fix for type mismatch warning in riotty.c


Hello,
following warning encountered in 2.6.11-mm4 but it doesn't seem to
show up with this tree. Rather than casting i made it unsigned
since it doesn't have a signed usage. Some cosmetic changes done
also.

...
drivers/char/rio/riotty.c: In function `riotclose':
drivers/char/rio/riotty.c:672: warning: comparison of distinct pointer
types lacks a cast
...

PS: I've also found a fix [1] including this one but it's not in
mainline as i see.

[1] http://lkml.org/lkml/2004/12/8/91

Signed-off-by: M.Baris Demiray <[email protected]>

--
"You have to understand, most of these people are not ready to be
unplugged. And many of them are no inert, so hopelessly dependent
on the system, that they will fight to protect it."
Morpheus



Attachments:
make-end_time-unsigned-in-riotty.c.patch (1.61 kB)
baris.vcf (342.00 B)
Download all attachments