diff options
| author | 2023-12-07 18:56:10 +0100 | |
|---|---|---|
| committer | 2023-12-15 14:24:12 +0100 | |
| commit | 28a7ec8c6679f594b4218090fe2932a647594fe2 (patch) | |
| tree | 89a100f72d3d3f287dc20cb690870ee90b9f9ebe /rust/kernel/ssh:/git@git.zx2c4.com/git: | |
| parent | tty: serial: amba-pl011: avoid quoted string split across lines (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 <linus.walleij@linaro.org>
Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
Link: https://lore.kernel.org/r/20231207-mbly-uart-v6-5-e384afa5e78c@bootlin.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/kernel/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
