lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAOw6vbJJyd0HwSZffvD0wzLs+5z63fHq9hnrQSv4_YwjXPn7eA@mail.gmail.com>
Date:   Tue, 23 Aug 2016 11:36:44 -0400
From:   Sean Paul <seanpaul@...omium.org>
To:     SF Markus Elfring <elfring@...rs.sourceforge.net>
Cc:     dri-devel <dri-devel@...ts.freedesktop.org>,
        Linux ARM Kernel <linux-arm-kernel@...ts.infradead.org>,
        linux-rockchip@...ts.infradead.org,
        David Airlie <airlied@...ux.ie>,
        Heiko Stübner <heiko@...ech.de>,
        Mark Yao <mark.yao@...k-chips.com>,
        Yakir Yang <ykk@...k-chips.com>,
        Julia Lawall <julia.lawall@...6.fr>,
        kernel-janitors@...r.kernel.org,
        LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] drm/rockchip: Delete unnecessary assignment for the field "owner"

On Tue, Aug 16, 2016 at 8:43 AM, SF Markus Elfring
<elfring@...rs.sourceforge.net> wrote:
> From: Markus Elfring <elfring@...rs.sourceforge.net>
> Date: Tue, 16 Aug 2016 14:25:35 +0200
>
> The field "owner" is set by the core.
> Thus delete an unneeded initialisation.
>
> Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
> Signed-off-by: Markus Elfring <elfring@...rs.sourceforge.net>


Applied to -misc

Sean


> ---
>  drivers/gpu/drm/rockchip/analogix_dp-rockchip.c | 1 -
>  drivers/gpu/drm/rockchip/rockchip_vop_reg.c     | 1 -
>  2 files changed, 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c b/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c
> index 89aadbf..0e63ee2 100644
> --- a/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c
> +++ b/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c
> @@ -445,7 +445,6 @@ static struct platform_driver rockchip_dp_driver = {
>         .remove = rockchip_dp_remove,
>         .driver = {
>                    .name = "rockchip-dp",
> -                  .owner = THIS_MODULE,
>                    .pm = &rockchip_dp_pm_ops,
>                    .of_match_table = of_match_ptr(rockchip_dp_dt_ids),
>         },
> diff --git a/drivers/gpu/drm/rockchip/rockchip_vop_reg.c b/drivers/gpu/drm/rockchip/rockchip_vop_reg.c
> index 919992c..b7f59c4 100644
> --- a/drivers/gpu/drm/rockchip/rockchip_vop_reg.c
> +++ b/drivers/gpu/drm/rockchip/rockchip_vop_reg.c
> @@ -305,7 +305,6 @@ static struct platform_driver vop_platform_driver = {
>         .remove = vop_remove,
>         .driver = {
>                 .name = "rockchip-vop",
> -               .owner = THIS_MODULE,
>                 .of_match_table = of_match_ptr(vop_driver_dt_match),
>         },
>  };
> --
> 2.9.2
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@...ts.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ