All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] accessibility: braille: braille_console: fix whitespace style issues
@ 2021-06-13 20:30 Clayton Casciato
  2021-06-14  6:01 ` Jiri Slaby
  0 siblings, 1 reply; 2+ messages in thread
From: Clayton Casciato @ 2021-06-13 20:30 UTC (permalink / raw)
  To: jirislaby; +Cc: gregkh, gustavoars, linux-kernel, Clayton Casciato

Fixed a coding style issue.

Signed-off-by: Clayton Casciato <majortomtosourcecontrol@gmail.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 9861302cc7db..a0656c6b595f 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.31.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] accessibility: braille: braille_console: fix whitespace style issues
  2021-06-13 20:30 [PATCH] accessibility: braille: braille_console: fix whitespace style issues Clayton Casciato
@ 2021-06-14  6:01 ` Jiri Slaby
  0 siblings, 0 replies; 2+ messages in thread
From: Jiri Slaby @ 2021-06-14  6:01 UTC (permalink / raw)
  To: Clayton Casciato; +Cc: gregkh, gustavoars, linux-kernel

On 13. 06. 21, 22:30, Clayton Casciato wrote:
> Fixed a coding style issue.
> 
> Signed-off-by: Clayton Casciato <majortomtosourcecontrol@gmail.com>

FWIW:
Reviewed-by: Jiri Slaby <jirislaby@kernel.org>

> ---
>   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 9861302cc7db..a0656c6b595f 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) {
> 


-- 
js
suse labs

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-14  6:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-13 20:30 [PATCH] accessibility: braille: braille_console: fix whitespace style issues Clayton Casciato
2021-06-14  6:01 ` Jiri Slaby

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.