staging: media: imx: fix function call formatting
PATCH 1/1 staging: media: imx: fix function call formatting
From: Palak Raval <[email protected]>
Move the first argument of IMX_BUS_FMTS() to the same line as the opening parenthesis to address the checkpatch warning.
Signed-off-by Palak Raval <[email protected]>
--- drivers/staging/media/imx/imx-media-utils.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/media/imx/imx-media-utils.c +1 -2
@@ -16,8 +16,7 @@ static const struct imx_media_pixfmt pixel_formats[] = {/*** YUV formats start here ***/ { .fourcc = V4L2_PIX_FMT_UYVY, - .codes =IMX_BUS_FMTS ( -MEDIA_BUS_FMT_UYVY8_2X8 , + .codes =IMX_BUS_FMTS (MEDIA_BUS_FMT_UYVY8_2X8 ,MEDIA_BUS_FMT_UYVY8_1X16 ), .cs = IPUV3_COLORSPACE_YUV,
Signature · 1 line
2.43.0
Quoted 15 lines · On Tue, Oct 06, 2026 at 12:22:00PM +0530, [email protected] wrote:
From: Palak Raval <[email protected]>
Move the first argument of
IMX_BUS_FMTS()to the same line as the opening parenthesis to address the checkpatch warning.Signed-off-by Palak Raval <[email protected]>--- drivers/staging/media/imx/imx-media-utils.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)drivers/staging/media/imx/imx-media-utils.c +0
-0
drivers/staging/media/imx/imx-media-utils.c static const struct imx_media_pixfmt pixel_formats[] = { · line 20
Quoted 7 lines
drivers/staging/media/imx/imx-media-utils.c +1
-2@@ -16,8 +16,7 @@ static const struct imx_media_pixfmt pixel_formats[] = {/*** YUV formats start here ***/ { .fourcc = V4L2_PIX_FMT_UYVY, - .codes =IMX_BUS_FMTS ( -MEDIA_BUS_FMT_UYVY8_2X8 , + .codes =IMX_BUS_FMTS (MEDIA_BUS_FMT_UYVY8_2X8 , MEDIA_BUS_FMT_UYVY8_1X16
It does not help much.
prefer format:
IMX_BUS_FMTS(MEDIA_BUS_FMT_UYVY8_2X8,
MEDIA_BUS_FMT_UYVY8_1X16),
I suggest help contribute more meanful change, such as move out stage.
Frank
Quoted 5 lines
drivers/staging/media/imx/imx-media-utils.c +0
-1), .cs = IPUV3_COLORSPACE_YUV, --2.43.0