From 71c8b9a0268a7e0930d07e14094a60be1b93e9e7 Mon Sep 17 00:00:00 2001 From: Mattia Dongili Date: Mon, 14 Jan 2008 18:05:46 +0900 Subject: [PATCH] --- yaml --- r: 84067 b: refs/heads/master c: fccd5d00ba68455425a35f905fd92538429c310d h: refs/heads/master i: 84065: 2be5363c3a1d03169ef1dbdae8e11793067f4c12 84063: 93ec06834ad46763bbae2313a3b90e3684ca452d v: v3 --- [refs] | 2 +- trunk/drivers/misc/sony-laptop.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 7898f8241bb8..03735e8c002c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3eb8749a37990b505ab94466038c067444bbd7eb +refs/heads/master: fccd5d00ba68455425a35f905fd92538429c310d diff --git a/trunk/drivers/misc/sony-laptop.c b/trunk/drivers/misc/sony-laptop.c index 70d5cc5969aa..899e3f75f288 100644 --- a/trunk/drivers/misc/sony-laptop.c +++ b/trunk/drivers/misc/sony-laptop.c @@ -315,7 +315,7 @@ static void sony_laptop_report_input_event(u8 event) break; default: - if (event > ARRAY_SIZE (sony_laptop_input_keycode_map)) { + if (event > ARRAY_SIZE(sony_laptop_input_index)) { dprintk("sony_laptop_report_input_event, event not known: %d\n", event); break; }