[PATCH 2/5] staging/qlge: add blank lines after declarations

2019-11-27 Thread Dorothea Ehrl
This patch fixes "WARNING: Missing a blank line after declarations" by checkpatch.pl. Signed-off-by: Dorothea Ehrl Co-developed-by: Vanessa Hack Signed-off-by: Vanessa Hack --- drivers/staging/qlge/qlge_ethtool.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/st

[PATCH 1/5] staging/qlge: remove initialising of static local variable

2019-11-27 Thread Dorothea Ehrl
This patch fixes "ERROR: do not initialise statics to 0" by checkpatch.pl. Signed-off-by: Dorothea Ehrl Co-developed-by: Vanessa Hack Signed-off-by: Vanessa Hack --- drivers/staging/qlge/qlge_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/st

[PATCH 3/5] staging/qlge: add braces to conditional statement

2019-11-27 Thread Dorothea Ehrl
This patch fixes "CHECK: braces {} should be used on all arms of this statement" by checkpatch.pl. Signed-off-by: Dorothea Ehrl Co-developed-by: Vanessa Hack Signed-off-by: Vanessa Hack --- drivers/staging/qlge/qlge_main.c | 6 -- 1 file changed, 4 insertions(+), 2 deletion

[PATCH 5/5] staging/qlge: fix block comment coding style

2019-11-27 Thread Dorothea Ehrl
This patch fixes: "WARNING: block comment use * on subsequent lines" "WARNING: block comments should align the * on each line" "WARNING: block comments use a trailing */ on a separate line" by checkpatch.pl. Signed-off-by: Dorothea Ehrl Co-developed-by: Vanessa Hac

[PATCH 4/5] staging/qlge: remove braces in conditional statement

2019-11-27 Thread Dorothea Ehrl
This patch fixes "WARNING: braces {} are not necessary for single statement blocks" and "WARNING: braces {} are not necessary for any arm of this statement" by checkpatch.pl. Signed-off-by: Dorothea Ehrl Co-developed-by: Vanessa Hack Signed-off-by: Vanessa Hack ---