Re: [PATCH] staging: davinci_vpfe: fix space prohibited before semicolon warning

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

 



Hi,

Thanks for the patch.

On Wed, Jan 14, 2015 at 9:46 PM, Aya Mahfouz
<mahfouz.saif.elyazal@xxxxxxxxx> wrote:
> This patch fixes the following checkpatch.pl warning:
>
> space prohibited before semicolon
>
> Signed-off-by: Aya Mahfouz <mahfouz.saif.elyazal@xxxxxxxxx>

Acked-by: Lad, Prabhakar <prabhakar.csengg@xxxxxxxxx>

Regards,
--Prabhakar Lad

> ---
> v1: This patch applies to Greg's tree.
>
>  drivers/staging/media/davinci_vpfe/dm365_ipipe.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/media/davinci_vpfe/dm365_ipipe.c b/drivers/staging/media/davinci_vpfe/dm365_ipipe.c
> index 704fa20..a425f71 100644
> --- a/drivers/staging/media/davinci_vpfe/dm365_ipipe.c
> +++ b/drivers/staging/media/davinci_vpfe/dm365_ipipe.c
> @@ -901,7 +901,7 @@ static int ipipe_set_gbce_params(struct vpfe_ipipe_device *ipipe, void *param)
>         struct device *dev = ipipe->subdev.v4l2_dev->dev;
>
>         if (!gbce_param) {
> -               memset(gbce, 0 , sizeof(struct vpfe_ipipe_gbce));
> +               memset(gbce, 0, sizeof(struct vpfe_ipipe_gbce));
>         } else {
>                 memcpy(gbce, gbce_param, sizeof(struct vpfe_ipipe_gbce));
>                 if (ipipe_validate_gbce_params(gbce) < 0) {
> @@ -1086,7 +1086,7 @@ static int ipipe_set_car_params(struct vpfe_ipipe_device *ipipe, void *param)
>         struct vpfe_ipipe_car *car = &ipipe->config.car;
>
>         if (!car_param) {
> -               memset(car , 0, sizeof(struct vpfe_ipipe_car));
> +               memset(car, 0, sizeof(struct vpfe_ipipe_car));
>         } else {
>                 memcpy(car, car_param, sizeof(struct vpfe_ipipe_car));
>                 if (ipipe_validate_car_params(car) < 0) {
> --
> 1.9.3
>
_______________________________________________
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