- 16 Oct, 2016 40 commits
-
-
Elise Lennion authored
Remove function comments that only restate the function name. Signed-off-by:
Elise Lennion <elise.lennion@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Elise Lennion authored
Replace CamelCase function names with underscores to comply with the standard kernel coding style. Signed-off-by:
Elise Lennion <elise.lennion@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Elise Lennion authored
Remove return statement that is immediately followed by the function closing bracket. Signed-off-by:
Elise Lennion <elise.lennion@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Mihaela Muraru authored
Simplify function returns by merging assignment and return into one command line. Delete unnecesarry return variable. Found with Coccinelle @@ expression e, ret; @@ -ret = +return e; -return ret Signed-off-by:
Mihaela Muraru <mihaela.muraru21@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Mihaela Muraru authored
Simplify function returns by merging assignment and return into one command line. Found with Coccinelle @@ expression e, ret; @@ -ret = +return e; -return ret; Signed-off-by:
Mihaela Muraru <mihaela.muraru21@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Mihaela Muraru authored
Simplify function returns by merging assignment and return into one command line. Found with Coccinelle @@ expression e, ret; @@ -ret = +return e; -return ret; Signed-off-by:
Mihaela Muraru <mihaela.muraru21@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Varsha Rao authored
This patch removes the macros BBvClearFOE and BBvSetFOE. As they are not used anywhere else. Signed-off-by:
Varsha Rao <rvarsha016@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Varsha Rao authored
This patch fixes the checkpatch issue by adding space around '<<'. Signed-off-by:
Varsha Rao <rvarsha016@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Varsha Rao authored
This patch fixes the checkpatch issue by adding space around the operator '+'. Signed-off-by:
Varsha Rao <rvarsha016@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Mikhail Golubev authored
Block comments should align the * on each line as reported by checkpatch.pl Signed-off-by:
Mikhail Golubev <golubev.mikhail@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Alexander Alemayhu authored
Fixes the following checkpatch output: ./pcbit/capi.c:39: WARNING: Use #include <linux/io.h> instead of <asm/io.h> ./pcbit/capi.c:40: WARNING: Use #include <linux/string.h> instead of <asm/string.h> ./pcbit/callbacks.c:25: WARNING: Use #include <linux/io.h> instead of <asm/io.h> ./pcbit/layer2.c:39: WARNING: Use #include <linux/io.h> instead of <asm/io.h> ./pcbit/drv.c:34: WARNING: Use #include <linux/string.h> instead of <asm/string.h> ./pcbit/drv.c:35: WARNING: Use #include <linux/io.h> instead of <asm/io.h> ./pcbit/edss1.c:26: WARNING: Use #include <linux/io.h> instead of <asm/io.h> Signed-off-by:
Alexander Alemayhu <alexander@alemayhu.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Chase Metzger authored
Removed a checkpatch warning for braces on single argument if and else statement. Signed-off-by:
Chase Metzger <chasemetzger15@gmail.com> Acked-by:
Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Elise Lennion authored
Fix checkpatch warning: WARNING: Block comments use a trailing */ on a separate line Signed-off-by:
Elise Lennion <elise.lennion@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Elise Lennion authored
Fix checkpatch warning: WARNING: Prefer kcalloc over kzalloc with multiply kcalloc is designed to allocate memory for arrays, its use is preferable than kzalloc in these cases. Signed-off-by:
Elise Lennion <elise.lennion@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Elise Lennion authored
Fix checkpatch warning: WARNING: Statements should start on a tabstop Signed-off-by:
Elise Lennion <elise.lennion@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Elise Lennion authored
Fix checkpatch warning: WARNING: Missing a blank line after declarations Signed-off-by:
Elise Lennion <elise.lennion@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Wayne Porter authored
Line goes too long when aligned with parenthesis, so moved to a new line Signed-off-by:
Wayne Porter <wporter82@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Wayne Porter authored
Fix lines that go over 80 characters to stop warnings from checkpatch Signed-off-by:
Wayne Porter <wporter82@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Wayne Porter authored
Move comments above long definitions so they don't go over 80 characters Signed-off-by:
Wayne Porter <wporter82@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Wayne Porter authored
Aligning with parenthesis causes lines to go too long, so the parenthesis are on a new line Signed-off-by:
Wayne Porter <wporter82@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Wayne Porter authored
Change label to not use camel case per checkpatch Signed-off-by:
Wayne Porter <wporter82@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Wayne Porter authored
Add braces to all arms of if statement Signed-off-by:
Wayne Porter <wporter82@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Wayne Porter authored
Fix check found by checkpatch Signed-off-by:
Wayne Porter <wporter82@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Wayne Porter authored
Fix long lines detected by checkpatch Signed-off-by:
Wayne Porter <wporter82@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Wayne Porter authored
Fix checkpatch messages: Alignment should match open parenthesis Signed-off-by:
Wayne Porter <wporter82@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Wayne Porter authored
Fix alignment to match open parenthesis Signed-off-by:
Wayne Porter <wporter82@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Wayne Porter authored
Satisfy checkpatch message: Prefer kzalloc(sizeof(*dev->chip)...) over kzalloc(sizeof(struct rtsx_chip)...) Signed-off-by:
Wayne Porter <wporter82@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Wayne Porter authored
Remove blank line after opening { Signed-off-by:
Wayne Porter <wporter82@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Wayne Porter authored
Make camel case labels all lowercase Signed-off-by:
Wayne Porter <wporter82@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Wayne Porter authored
Add spaces around operator for readability Signed-off-by:
Wayne Porter <wporter82@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Wayne Porter authored
Fix multiple assignments found by checkpatch Signed-off-by:
Wayne Porter <wporter82@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Wayne Porter authored
Fix to match open parenthesis in order to satisfy checkpatch Signed-off-by:
Wayne Porter <wporter82@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Wayne Porter authored
Remove parentheses found by checkpatch Signed-off-by:
Wayne Porter <wporter82@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Wayne Porter authored
Fix to resolve checkpatch message Signed-off-by:
Wayne Porter <wporter82@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Wayne Porter authored
Adding space around operator for better readability and to stop checkpatch check messages Signed-off-by:
Wayne Porter <wporter82@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Wayne Porter authored
Remove parentheses found by checkpatch Signed-off-by:
Wayne Porter <wporter82@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Wayne Porter authored
Fix alignment to stop checkpath check messages Signed-off-by:
Wayne Porter <wporter82@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Wayne Porter authored
Remove parentheses to stop checkpatch check message Signed-off-by:
Wayne Porter <wporter82@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Wayne Porter authored
Matching open parenthesis Signed-off-by:
Wayne Porter <wporter82@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
Wayne Porter authored
Replace all instances of (1 << x) with BIT(x) to satisfy checkpatch check messages Signed-off-by:
Wayne Porter <wporter82@gmail.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-