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

From: Lad, Prabhakar
Date: Tue Jan 20 2015 - 13:08:06 EST


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
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/