diff options
| author | Théo Lebrun <[email protected]> | 2023-12-07 18:56:10 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-12-15 14:24:12 +0100 |
| commit | 28a7ec8c6679f594b4218090fe2932a647594fe2 (patch) | |
| tree | 89a100f72d3d3f287dc20cb690870ee90b9f9ebe /tools/perf/scripts/python | |
| parent | fd64ff0966d39422f547d7935b8988e962f9f91e (diff) | |
tty: serial: amba-pl011: fix formatting of conditions
Fix the following checkpatch warnings & checks:
$ ./scripts/checkpatch.pl --strict --file \
drivers/tty/serial/amba-pl011.c
CHECK: Unbalanced braces around else statement
CHECK: Unnecessary parentheses around '[...]'
CHECK: braces {} should be used on all arms of this statement
CHECK: Comparison to NULL could be written "[...]"
WARNING: Comparisons should place the constant on the right side of the test
Reviewed-by: Linus Walleij <[email protected]>
Signed-off-by: Théo Lebrun <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions