Sun Keyboard driver
PATCH 1/1 Sun Keyboard driver
Hi,
I noticed a small bug in the sunkbd.c driver: After the keyboard name is set, it is mistakenly overwritten by serio->phys. Path is against 2.6.2.
Regards,
Erlend Aasland
input/keyboard/sunkbd.c renamed from input/keyboard/sunkbd.c~ +1 -1
@@ -275,7 +275,7 @@set_bit (sunkbd->keycode[i], sunkbd->dev.keybit);clear_bit (0 , sunkbd->dev.keybit); -sprintf (sunkbd->name,"%s/input" , serio->phys); +sprintf (sunkbd->phys,"%s/input" , serio->phys); sunkbd->dev.name = sunkbd->name; sunkbd->dev.phys = sunkbd->phys;
Quoted 4 lines · Erlend Aasland
Hi,
I noticed a small bug in the
sunkbd.cdriver: After the keyboard name is set, it is mistakenly overwritten byserio->phys. Path is against 2.6.2.
Thanks for noticing, it's already fixed in my tree.
Quoted 16 lines
Regards,
Erlend Aaslandinput/keyboard/sunkbd.c renamed from input/keyboard/sunkbd.c~ +1
-1@@ -275,7 +275,7 @@set_bit (sunkbd->keycode[i], sunkbd->dev.keybit);clear_bit (0 , sunkbd->dev.keybit); -sprintf (sunkbd->name,"%s/input" , serio->phys); +sprintf (sunkbd->phys,"%s/input" , serio->phys); sunkbd->dev.name = sunkbd->name; sunkbd->dev.phys = sunkbd->phys;
Signature · 2 lines
Vojtech Pavlik SuSE Labs, SuSE CR