[PATCH v2 3/3] staging: wimax: fix quoted string split across lines in op-rfkill.c

2021-03-13 Thread Gabriele Modena
This commit fixes the following checkpatch.pl warning: WARNING: quoted string split across lines + dev_err(dev, "WIMAX_GNL_RFKILL: can't find RFKILL_STATE " + "attribute\n"); Signed-off-by: Gabriele Modena --- drivers/staging/wim

[PATCH v2 2/3] staging: wimax: add a blank line after declaration in op-rfkill.c

2021-03-13 Thread Gabriele Modena
This commit fixes the following checkpatch.pl warning: WARNING: Missing a blank line after declarations + struct device *dev = wimax_dev_to_dev(wimax_dev); + d_fnstart(3, dev, "(wimax_dev %p)\n", wimax_dev); Signed-off-by: Gabriele Modena --- drivers/staging/wimax/op-rf

[PATCH v2 1/3] staging: wimax: fix block comment style check in op-rfkill.c

2021-03-13 Thread Gabriele Modena
This commit fixes the following checkpatch.pl warning: WARNING: Block comments use a trailing */ on a separate line +* considering the radios are all off. */ Signed-off-by: Gabriele Modena --- drivers/staging/wimax/op-rfkill.c | 3 ++- 1 file changed, 2 insertions(+), 1

[PATCH v2 0/3] staging: wimax: fix style check warnings

2021-03-13 Thread Gabriele Modena
patch is both an attempt to address the warnings, as well as a way for me to familiarise with the linux kernel contribution process, by following tasks proposed by a popular online challenge. Gabriele Modena (3): staging: wimax: fix block comment style check in op-rfkill.c staging: wimax

[PATCH] staging: wimax: fix style check warnings

2021-03-05 Thread gabriele . modena
From: Gabriele Modena Fix style warnings reported by checkpatch.pl on op-rfkill.c by moving */ on a separate line in a block comment, adding a missing blank line after declarations, and reformatting a quoted string split across lines. Signed-off-by: Gabriele Modena --- drivers/staging/wimax

[PATCH] wimax: attempt to address style issues.

2021-03-02 Thread gabriele . modena
From: Gabriele Modena When running checkpatch.pl on op-msg.c, op-rfkill.c and stack.c I noticed that they contained a few style issues at warning level of severity. This patch is both an attempt to address the warnings, as well as a way for me to familiarise with the linux kernel contribution