lkml.org 
[lkml]   [2018]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2] slimbus: ngd: QCOM_QMI_HELPERS has to be selected
From
Date


On 07/11/18 13:59, Greg KH wrote:
> Really? I do this and then I get this build error on x86:
>
> drivers/slimbus/qcom-ngd-ctrl.c: In function ‘of_qcom_slim_ngd_register’:
> drivers/slimbus/qcom-ngd-ctrl.c:1333:63: warning: dereferencing ‘void *’ pointer
> data = of_match_node(qcom_slim_ngd_dt_match, parent->of_node)->data;
> ^~
> drivers/slimbus/qcom-ngd-ctrl.c:1333:63: error: request for member ‘data’ in something not a structure or union
>
>
> So I can't take this, something else must be wrong here...
That is fine!
Yes, there seems to be one more issue here, on non DT platforms
of_match_node is set to be NULL, which is why we are seeing this error I
guess!

I will fix this up, do some test and send both the fixes together.

thanks,
srini

\
 
 \ /
  Last update: 2018-11-07 15:16    [W:0.040 / U:1.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site