Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1385148 > unrolled thread

[PATCH] VPU: mediatek: fix platform_no_drv_owner.cocci warnings

Started byJulia Lawall <julia.lawall@lip6.fr>
First post2016-04-22 15:10 +0200
Last post2016-04-25 14:50 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] VPU: mediatek: fix platform_no_drv_owner.cocci warnings  Julia Lawall <julia.lawall@lip6.fr> - 2016-04-22 15:10 +0200
    Re: [PATCH] VPU: mediatek: fix platform_no_drv_owner.cocci warnings andrew-ct chen <andrew-ct.chen@mediatek.com> - 2016-04-25 14:50 +0200

#1385148 — [PATCH] VPU: mediatek: fix platform_no_drv_owner.cocci warnings

FromJulia Lawall <julia.lawall@lip6.fr>
Date2016-04-22 15:10 +0200
Subject[PATCH] VPU: mediatek: fix platform_no_drv_owner.cocci warnings
Message-ID<rqJ0n-2pv-25@gated-at.bofh.it>
Remove .owner field if calls are used which set it automatically

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

CC: Andrew-CT Chen <andrew-ct.chen@mediatek.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
---

base:   git://linuxtv.org/media_tree.git master

 mtk_vpu.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/media/platform/mtk-vpu/mtk_vpu.c
+++ b/drivers/media/platform/mtk-vpu/mtk_vpu.c
@@ -939,7 +939,6 @@ static struct platform_driver mtk_vpu_dr
 	.remove	= mtk_vpu_remove,
 	.driver	= {
 		.name	= "mtk_vpu",
-		.owner	= THIS_MODULE,
 		.of_match_table = mtk_vpu_match,
 	},
 };

[toc] | [next] | [standalone]


#1386380

Fromandrew-ct chen <andrew-ct.chen@mediatek.com>
Date2016-04-25 14:50 +0200
Message-ID<rrO7E-5ZS-15@gated-at.bofh.it>
In reply to#1385148
On Fri, 2016-04-22 at 15:08 +0200, Julia Lawall wrote:
> Remove .owner field if calls are used which set it automatically
> 
> Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
> 
> CC: Andrew-CT Chen <andrew-ct.chen@mediatek.com>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
> Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
> ---

Acked-by: Andrew-CT Chen <andrew-ct.chen@mediatek.com>

> 
> base:   git://linuxtv.org/media_tree.git master
> 
>  mtk_vpu.c |    1 -
>  1 file changed, 1 deletion(-)
> 
> --- a/drivers/media/platform/mtk-vpu/mtk_vpu.c
> +++ b/drivers/media/platform/mtk-vpu/mtk_vpu.c
> @@ -939,7 +939,6 @@ static struct platform_driver mtk_vpu_dr
>  	.remove	= mtk_vpu_remove,
>  	.driver	= {
>  		.name	= "mtk_vpu",
> -		.owner	= THIS_MODULE,
>  		.of_match_table = mtk_vpu_match,
>  	},
>  };

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web