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: <515B067A.1060909@overkiz.com>
Date:	Tue, 02 Apr 2013 18:25:30 +0200
From:	Boris BREZILLON <linux-arm@...rkiz.com>
To:	Axel Lin <axel.lin@...ics.com>
CC:	Thierry Reding <thierry.reding@...onic-design.de>,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/4] pwm: atmel-tcb: Add .owner to struct pwm_ops

On 31/03/2013 05:15, Axel Lin wrote:
> Add missing .owner of struct pwm_ops. This prevents the module from being
> removed from underneath its users.
>
> Signed-off-by: Axel Lin <axel.lin@...ics.com>

Acked-by: Boris BREZILLON <linux-arm@...rkiz.com>

> ---
>   drivers/pwm/pwm-atmel-tcb.c |    1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/drivers/pwm/pwm-atmel-tcb.c b/drivers/pwm/pwm-atmel-tcb.c
> index 16cb530..0a7b658 100644
> --- a/drivers/pwm/pwm-atmel-tcb.c
> +++ b/drivers/pwm/pwm-atmel-tcb.c
> @@ -358,6 +358,7 @@ static const struct pwm_ops atmel_tcb_pwm_ops = {
>   	.set_polarity = atmel_tcb_pwm_set_polarity,
>   	.enable = atmel_tcb_pwm_enable,
>   	.disable = atmel_tcb_pwm_disable,
> +	.owner = THIS_MODULE,
>   };
>
>   static int atmel_tcb_pwm_probe(struct platform_device *pdev)
>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ