Commit dd16129
media: platform: dwc: fix misleading indentation
This patch fixes the misleading indentation warning on GCC 11+:
drivers/media/platform/dwc/dw-csi-plat.c: In function ‘dw_csi_probe’:
drivers/media/platform/dwc/dw-csi-plat.c:541:9: error: this ‘else’ clause
does not guard... [-Werror=misleading-indentation]
541 | else
| ^~~~
drivers/media/platform/dwc/dw-csi-plat.c:544:17: note: ...this statement,
but the latter is misleadingly indented as if it were guarded by the ‘else’
544 | goto end;
| ^~~~
Fixes: 11bcf7b ("media: platform: dwc: Add MIPI CSI-2 controller driver")
Signed-off-by: Cristian Birsan <cristian.birsan@microchip.com>1 parent 706a565 commit dd16129
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
538 | 538 | | |
539 | 539 | | |
540 | 540 | | |
541 | | - | |
542 | | - | |
| 541 | + | |
| 542 | + | |
543 | 543 | | |
544 | 544 | | |
545 | 545 | | |
| |||
0 commit comments