lkml.org 
[lkml]   [2023]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RESEND PATCH 30/37] nvmem: core: fix nvmem_layout_get_match_data()
On Mon, Feb 06, 2023 at 10:27:52AM +0000, Srinivas Kandagatla wrote:
> From: Rafał Miłecki <rafal@milecki.pl>
>
> This function was trying to match wrong OF node (parent device's)
> against an of_match_table. It was always returning NULL.
>
> Make it match layout's OF node against layout's of_match_table.
>
> Note: __maybe_unused is needed to avoid:
> warning: variable 'layout_np' set but not used [-Wunused-but-set-variable]
> (of_match_node() is no-op without CONFIG_OF).
>
> Fixes: 61a093b4a0e0 ("nvmem: core: introduce NVMEM layouts")

Nit, how can you have a git commit id if you are sending me patches to
be applied to my tree?

That's never going to work, sorry.

greg k-h

\
 
 \ /
  Last update: 2023-03-27 00:10    [W:0.180 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site