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] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 15 May 2014 17:17:05 +0800
From:	Roger <rogerable@...ltek.com>
To:	Krzysztof Kozlowski <k.kozlowski@...sung.com>,
	Samuel Ortiz <sameo@...ux.intel.com>,
	Lee Jones <lee.jones@...aro.org>
CC:	<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 07/16] mfd: rtsx_usb: Make mfd_cell array const


On 05/13/2014 06:58 PM, Krzysztof Kozlowski wrote:
> mfd_add_devices() expects array of struct mfd_cell to be const.
>
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@...sung.com>
> Cc: Roger Tseng <rogerable@...ltek.com>
Acked-by: Roger Tseng <rogerable@...ltek.com>
> ---
>   drivers/mfd/rtsx_usb.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mfd/rtsx_usb.c b/drivers/mfd/rtsx_usb.c
> index 141ea52c46e3..6352bec8419a 100644
> --- a/drivers/mfd/rtsx_usb.c
> +++ b/drivers/mfd/rtsx_usb.c
> @@ -29,7 +29,7 @@ static int polling_pipe = 1;
>   module_param(polling_pipe, int, S_IRUGO | S_IWUSR);
>   MODULE_PARM_DESC(polling_pipe, "polling pipe (0: ctl, 1: bulk)");
>
> -static struct mfd_cell rtsx_usb_cells[] = {
> +static const struct mfd_cell rtsx_usb_cells[] = {
>   	[RTSX_USB_SD_CARD] = {
>   		.name = "rtsx_usb_sdmmc",
>   		.pdata_size = 0,
>

Best regards,
Roger Tseng
--
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