[PATCH] staging: media: imx: fix function call formatting

Frank Li Frank.li at oss.nxp.com
Mon Oct 12 13:49:49 PDT 2026


On Tue, Oct 06, 2026 at 12:22:00PM +0530, pdsj2807 at gmail.com wrote:
> From: Palak Raval <pdsj2807 at gmail.com>
>
> 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 <pdsj2807 at gmail.com>
> ---
>  drivers/staging/media/imx/imx-media-utils.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/staging/media/imx/imx-media-utils.c b/drivers/staging/media/imx/imx-media-utils.c
> index f119477cac6b..978770cf3907 100644
> --- a/drivers/staging/media/imx/imx-media-utils.c
> +++ b/drivers/staging/media/imx/imx-media-utils.c
> @@ -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

>  		),
>  		.cs     = IPUV3_COLORSPACE_YUV,
> --
> 2.43.0
>



More information about the linux-arm-kernel mailing list