lkml.org 
[lkml]   [2019]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH V2] of: reserved-memory: ignore disabled memory-region nodes
On Wed, 22 May 2019 16:17:11 +0530, Puneet Saxena wrote:
> From: Krishna Reddy <vdumpa@nvidia.com>
>
> Ignore disabled nodes in the memory-region
> nodes list and continue to initialize the rest
> of enabled nodes.
>
> Check if the "reserved-memory" node is available
> and if it's not available, return 0 to ignore the
> "reserved-memory" node and continue parsing with
> next node in memory-region nodes list.
>
> Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
> Signed-off-by: Puneet Saxena <puneets@nvidia.com>
> ---
> v2:
> * Fixed typo in commit message.
> * Used "of_device_is_available" to check "reserved-memory"
> nodes are disabled/enabled.
>
> drivers/of/of_reserved_mem.c | 3 +++
> 1 file changed, 3 insertions(+)
>

Applied, thanks.

Rob

\
 
 \ /
  Last update: 2019-05-24 22:54    [W:0.051 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site