diff options
| author | Théo Lebrun <theo.lebrun@bootlin.com> | 2023-12-07 18:56:10 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-12-15 14:24:12 +0100 |
| commit | 28a7ec8c6679f594b4218090fe2932a647594fe2 (patch) | |
| tree | 89a100f72d3d3f287dc20cb690870ee90b9f9ebe /drivers/fpga/fpga-mgr.c | |
| 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 <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 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
