Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936405AbcKKBP7 (ORCPT ); Thu, 10 Nov 2016 20:15:59 -0500 Received: from mail-it0-f68.google.com ([209.85.214.68]:34135 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935107AbcKKBP5 (ORCPT ); Thu, 10 Nov 2016 20:15:57 -0500 From: Walt Feasel To: devel@driverdev.osuosl.org Cc: linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org, Walt Feasel Subject: [PATCH] [STYLE]staging:braille:braille_console.c [2/2] Date: Thu, 10 Nov 2016 20:15:46 -0500 Message-Id: <1478826946-14901-1-git-send-email-waltfeasel@gmail.com> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1166 Lines: 38 Made suggested modifications from checkpatch in reference to WARNING: Missing a blank line after declarations Signed-off-by: Walt Feasel --- drivers/accessibility/braille/braille_console.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/accessibility/braille/braille_console.c b/drivers/accessibility/braille/braille_console.c index 7ac3d5f..340fda0 100644 --- a/drivers/accessibility/braille/braille_console.c +++ b/drivers/accessibility/braille/braille_console.c @@ -238,6 +238,7 @@ static int keyboard_notifier_call(struct notifier_block *blk, case KBD_POST_KEYSYM: { unsigned char type = KTYP(param->value) - 0xf0; + if (type == KT_SPEC) { unsigned char val = KVAL(param->value); int on_off = -1; @@ -277,6 +278,7 @@ static int vt_notifier_call(struct notifier_block *blk, { struct vt_notifier_param *param = _param; struct vc_data *vc = param->vc; + switch (code) { case VT_ALLOCATE: break; @@ -285,6 +287,7 @@ static int vt_notifier_call(struct notifier_block *blk, case VT_WRITE: { unsigned char c = param->c; + if (vc->vc_num != fg_console) break; switch (c) { -- 2.1.4