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 -- "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