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]
Message-ID: <55C9697C.7080906@gmail.com>
Date:	Tue, 11 Aug 2015 08:48:20 +0530
From:	Varka Bhadram <varkabhadram@...il.com>
To:	sdliyong@...il.com, alex.aring@...il.com,
	linux-wpan@...r.kernel.org, netdev@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 bluetooth-next] cc2520: set the default fifo pin value
 from platform data

On 08/11/2015 08:13 AM, sdliyong@...il.com wrote:
> From: Yong Li <sdliyong@...il.com>
>
> When the device tree support is disabled, the fifo_pin is uninitialized,
> this patch will set the fifo_pin value based on platform data
>
> Signed-off-by: Yong Li <sdliyong@...il.com>

Acked-by: Varka Bhadram <varkabhadram@...il.com>

> ---
>   drivers/net/ieee802154/cc2520.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/ieee802154/cc2520.c b/drivers/net/ieee802154/cc2520.c
> index 613dae5..c5b54a1 100644
> --- a/drivers/net/ieee802154/cc2520.c
> +++ b/drivers/net/ieee802154/cc2520.c
> @@ -833,6 +833,7 @@ static int cc2520_get_platform_data(struct spi_device *spi,
>   		if (!spi_pdata)
>   			return -ENOENT;
>   		*pdata = *spi_pdata;
> +		priv->fifo_pin = pdata->fifo;
>   		return 0;
>   	}
>   

-- 
Varka Bhadram.

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ