[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5a19f5b3-5d11-2f63-89f9-b64ec6404278@ieee.org>
Date: Thu, 19 Mar 2020 07:49:55 -0500
From: Alex Elder <elder@...e.org>
To: YueHaibing <yuehaibing@...wei.com>, Alex Elder <elder@...nel.org>,
"David S . Miller" <davem@...emloft.net>
Cc: netdev@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH net-next] net: ipa: fix platform_no_drv_owner.cocci
warnings
On 3/19/20 7:11 AM, YueHaibing wrote:
> Remove .owner field if calls are used which set it automatically
> Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Looks good.
Reviewed-by: Alex Elder <elder@...aro.org>
> ---
> drivers/net/ipa/ipa_main.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/net/ipa/ipa_main.c b/drivers/net/ipa/ipa_main.c
> index d6e7f257e99d..28998dcce3d2 100644
> --- a/drivers/net/ipa/ipa_main.c
> +++ b/drivers/net/ipa/ipa_main.c
> @@ -942,7 +942,6 @@ static struct platform_driver ipa_driver = {
> .remove = ipa_remove,
> .driver = {
> .name = "ipa",
> - .owner = THIS_MODULE,
> .pm = &ipa_pm_ops,
> .of_match_table = ipa_match,
> },
>
>
>
Powered by blists - more mailing lists