[PATCH] staging: rtl8192u: Replaces symbolic permissions with octal permissions

2020-03-17 Thread Camylla Goncalves Cantanheide
Solves following checkpatch.pl issue: WARNING: Symbolic permissions 'S_IRUGO' are not preferred. Consider using octal permissions '0444'. Signed-off-by: Camylla Goncalves Cantanheide --- drivers/staging/rtl8192u/r8192U_core.c | 8 1 file changed, 4 insertions(+),

[PATCH 2/2] staging: rtl8192u: Corrects 'Avoid CamelCase' for variables

2020-03-17 Thread Camylla Goncalves Cantanheide
The variables of function setKey triggered a 'Avoid CamelCase' warning from checkpatch.pl. This patch renames these variables to correct this warning. Signed-off-by: Camylla Goncalves Cantanheide --- drivers/staging/rtl8192u/r8192U_core.c | 52 +- 1 file c

[PATCH 1/2] staging: rtl8192u: Using function name as string

2020-03-17 Thread Camylla Goncalves Cantanheide
Solves the following checkpatch.pl for a triggered function: WARNING: Prefer using '"%s...", __func__' to using 'setKey', this function's name, in a string Signed-off-by: Camylla Goncalves Cantanheide --- drivers/staging/rtl8192u/r8192U_core.c | 6 +++---

[PATCH v2] staging: rtl8192u: Corrects 'Avoid CamelCase' for variables

2020-03-18 Thread Camylla Goncalves Cantanheide
The variables of function setKey triggered a 'Avoid CamelCase' warning from checkpatch.pl. This patch renames these variables to correct this warning. Signed-off-by: Camylla Goncalves Cantanheide --- drivers/staging/rtl8192u/r8192U_core.c | 52 +- 1 file c

[PATCH 1/2] staging: rtl8192u: Refactoring setKey function

2020-04-12 Thread Camylla Goncalves Cantanheide
Changes of the local variable value and modification in the seletive repetition structure. Signed-off-by: Camylla Goncalves Cantanheide --- drivers/staging/rtl8192u/r8192U_core.c | 52 -- 1 file changed, 24 insertions(+), 28 deletions(-) diff --git a/drivers/staging

[PATCH 2/2] staging: rtl8192u: Renames variables in setKey function

2020-04-12 Thread Camylla Goncalves Cantanheide
Renames the local variables of the setKey function, making them explicit. Signed-off-by: Camylla Goncalves Cantanheide --- drivers/staging/rtl8192u/r8192U_core.c | 48 +- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/drivers/staging/rtl8192u