diff mbox

drm/msm/mdp5: fix semicolon.cocci warning

Message ID alpine.DEB.2.20.1801220834100.3079@hadrien (mailing list archive)
State New, archived
Headers show

Commit Message

Julia Lawall Jan. 22, 2018, 7:36 a.m. UTC
From: Fengguang Wu <fengguang.wu@intel.com>

 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
---

v2: Fix driver name in subject line

url:
https://github.com/0day-ci/linux/commits/Laurent-Pinchart/Cargo-cult-cleanup-in-atomic-drivers/20180120-183018
base:   git://people.freedesktop.org/~airlied/linux.git drm-next
:::::: branch date: 3 hours ago
:::::: commit date: 3 hours ago

 mdp5_kms.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Rob Clark Jan. 31, 2018, 4:46 p.m. UTC | #1
On Mon, Jan 22, 2018 at 2:36 AM, Julia Lawall <julia.lawall@lip6.fr> wrote:
> From: Fengguang Wu <fengguang.wu@intel.com>
>
>  Remove unneeded semicolon.
>
> Generated by: scripts/coccinelle/misc/semicolon.cocci
>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
> Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>

Hi, looks like Luis already sent the same patch a few days earlier, so
I've picked up that one, plus your hdmi semicolon patch in msm-next

Thanks

BR,
-R

> ---
>
> v2: Fix driver name in subject line
>
> url:
> https://github.com/0day-ci/linux/commits/Laurent-Pinchart/Cargo-cult-cleanup-in-atomic-drivers/20180120-183018
> base:   git://people.freedesktop.org/~airlied/linux.git drm-next
> :::::: branch date: 3 hours ago
> :::::: commit date: 3 hours ago
>
>  mdp5_kms.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- a/drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c
> +++ b/drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c
> @@ -680,7 +680,7 @@ struct msm_kms *mdp5_kms_init(struct drm
>         } else {
>                 dev_info(&pdev->dev,
>                          "no iommu, fallback to phys contig buffers for scanout\n");
> -               aspace = NULL;;
> +               aspace = NULL;
>         }
>
>         pm_runtime_put_sync(&pdev->dev);
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
diff mbox

Patch

--- a/drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c
+++ b/drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c
@@ -680,7 +680,7 @@  struct msm_kms *mdp5_kms_init(struct drm
 	} else {
 		dev_info(&pdev->dev,
 			 "no iommu, fallback to phys contig buffers for scanout\n");
-		aspace = NULL;;
+		aspace = NULL;
 	}

 	pm_runtime_put_sync(&pdev->dev);