• R/O
  • HTTP
  • SSH
  • HTTPS

linux-2.4.36: Commit

2.4.36-stable kernel tree


Commit MetaInfo

Revision02ee6cc7b729636117db6790f7778744aeed977f (tree)
Zeit2007-02-25 16:41:25
AutorMariusz Kozlowski <m.kozlowski@tuxl...>
CommiterWilly Tarreau

Log Message

[PATCH] amijoy joystick parenthesis fix

Hello,

This patch adds missing parenthesis in amijoy_interrupt() code.

Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>

drivers/char/joystick/amijoy.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Ändern Zusammenfassung

Diff

--- a/drivers/char/joystick/amijoy.c
+++ b/drivers/char/joystick/amijoy.c
@@ -64,9 +64,9 @@ static void amijoy_interrupt(int irq, void *dummy, struct pt_regs *fp)
6464
6565 input_report_key(amijoy_dev + i, BTN_TRIGGER, button);
6666
67- input_report_abs(amijoy_dev + i, ABS_X, ((data >> 1) & 1) - ((data >> 9) & 1);
67+ input_report_abs(amijoy_dev + i, ABS_X, ((data >> 1) & 1) - ((data >> 9) & 1));
6868 data = ~(data ^ (data << 1));
69- input_report_abs(amijoy_dev + i, ABS_Y, ((data >> 1) & 1) - ((data >> 9) & 1);
69+ input_report_abs(amijoy_dev + i, ABS_Y, ((data >> 1) & 1) - ((data >> 9) & 1));
7070 }
7171 }
7272
Show on old repository browser