staging: tegra-video: Fix function argument alignment
Subsystems (4)
PATCH 1/1 staging: tegra-video: Fix function argument alignment
Separate long function calls into multiple lines to comply with kernel formatting style.
This fixes the following checkpatch warnings:
CHECK: Alignment should match open parenthesis
Signed-off-by Marc Hanna <[email protected]>
--- drivers/staging/media/tegra-video/tegra20.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/staging/media/tegra-video/tegra20.c +4 -2
@@ -552,7 +552,8 @@ static void tegra20_channel_vi_buffer_setup(struct tegra_vi_channel *chan,case V4L2_PIX_FMT_YUYV :case V4L2_PIX_FMT_YVYU :tegra20_vi_write (chan,TEGRA_VI_VB0_BASE_ADDRESS (TEGRA_VI_OUT_1 ), base); -tegra20_vi_write (chan,TEGRA_VI_VB0_START_ADDRESS (TEGRA_VI_OUT_1 ), base + chan->start_offset); +tegra20_vi_write (chan,TEGRA_VI_VB0_START_ADDRESS (TEGRA_VI_OUT_1 ), + base + chan->start_offset);break ;/* RAW8 */ case V4L2_PIX_FMT_SRGGB8 :
@@ -565,7 +566,8 @@ static void tegra20_channel_vi_buffer_setup(struct tegra_vi_channel *chan,case V4L2_PIX_FMT_SGBRG10 :case V4L2_PIX_FMT_SBGGR10 :tegra20_vi_write (chan,TEGRA_VI_VB0_BASE_ADDRESS (TEGRA_VI_OUT_2 ), base); -tegra20_vi_write (chan,TEGRA_VI_VB0_START_ADDRESS (TEGRA_VI_OUT_2 ), base + chan->start_offset); +tegra20_vi_write (chan,TEGRA_VI_VB0_START_ADDRESS (TEGRA_VI_OUT_2 ), + base + chan->start_offset);break ; } }
Signature · 1 line
2.43.0
On Tue, Apr 28, 2026 at 10:40:22AM -0500, Mhanna112-code wrote:
^^^^^^^^^^^^^^
Your from header needs to be fixed.
Quoted 5 lines
Separate long function calls into multiple lines to comply with kernel formatting style.
This fixes the following checkpatch warnings:
CHECK: Alignment should match open parenthesis
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This isn't what the patch does.
Quoted 2 lines
Signed-off-by Marc Hanna <[email protected]>
regards,
dan carpenter