Re: [PATCH v9 00/13] media: staging/imx7: add i.MX7 media driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Rui,

On Fri, Dec 7, 2018 at 10:44 AM Hans Verkuil <hverkuil@xxxxxxxxx> wrote:

> I got a few checkpatch warnings about coding style:
>
> CHECK: Alignment should match open parenthesis
> #953: FILE: drivers/staging/media/imx/imx7-media-csi.c:911:
> +static struct v4l2_mbus_framefmt *imx7_csi_get_format(struct imx7_csi *csi,
> +                                       struct v4l2_subdev_pad_config *cfg,
>
> CHECK: Alignment should match open parenthesis
> #1341: FILE: drivers/staging/media/imx/imx7-media-csi.c:1299:
> +       ret = v4l2_async_register_fwnode_subdev(&csi->sd,
> +                                       sizeof(struct v4l2_async_subdev),
>
> CHECK: Lines should not end with a '('
> #684: FILE: drivers/staging/media/imx/imx7-mipi-csis.c:669:
> +static struct csis_pix_format const *mipi_csis_try_format(
>
> CHECK: Alignment should match open parenthesis
> #708: FILE: drivers/staging/media/imx/imx7-mipi-csis.c:693:
> +static struct v4l2_mbus_framefmt *mipi_csis_get_format(struct csi_state *state,
> +                                       struct v4l2_subdev_pad_config *cfg,
>
> CHECK: Alignment should match open parenthesis
> #936: FILE: drivers/staging/media/imx/imx7-mipi-csis.c:921:
> +       ret = v4l2_async_register_fwnode_subdev(mipi_sd,
> +                               sizeof(struct v4l2_async_subdev), &sink_port, 1,
>
> Apparently the latest coding style is that alignment is more important than
> line length, although I personally do not agree. But since you need to
> respin in any case due to the wrong SPDX identifier you used you might as
> well take this into account.
>
> I was really hoping I could merge this, but the SPDX license issue killed it.

Do you plan to submit a new version?

Thanks
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux