[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200109020125.16019-1-andre.pascoal.bento@gmail.com>
Date: Thu, 9 Jan 2020 02:01:25 +0000
From: andre.pascoal.bento@...il.com
To: gregkh@...uxfoundation.org
Cc: linux-kernel@...r.kernel.org,
andrepbento <andre.pascoal.bento@...il.com>
Subject: [PATCH 101/101] Accessibility: braille: braille_console: fixed three missing black lines coding style
From: andrepbento <andre.pascoal.bento@...il.com>
Fixed three missing blank lines after declaration.
Signed-off-by: andrepbento <andre.pascoal.bento@...il.com>
---
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 1339c586bf64..ac713906009f 100644
--- a/drivers/accessibility/braille/braille_console.c
+++ b/drivers/accessibility/braille/braille_console.c
@@ -225,6 +225,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;
@@ -264,6 +265,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;
@@ -272,6 +274,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.17.1
Powered by blists - more mailing lists