Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3170852imu; Wed, 7 Nov 2018 06:17:04 -0800 (PST) X-Google-Smtp-Source: AJdET5djORdWlnVsNCKFw+9Jv9Ce/un5Xb8VY/jmn6ZwCD2MFnlf5OnRi8VJB7qRjsEWO6CTfCBb X-Received: by 2002:a17:902:28a8:: with SMTP id f37-v6mr411905plb.264.1541600224398; Wed, 07 Nov 2018 06:17:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541600224; cv=none; d=google.com; s=arc-20160816; b=KtJLybKoYiOY0/tjuqPQQAdFluOIdHfZC7aPG9HoJOlI2HT/v8ZxlQ7j7jWCYri5bd rd2qTbTzpE0ClhkuIScZRnzgDJ080qeTn7bAA4s+XqK93wtOfdbfIQLJErpVBOHrgXEz iq1UzhVxKiCSrZD1vOHT4F7Zvawkmkq4IM80gsHBeruMlzGYOZA8JfiHlHaxVjnG1Dxx Up2dY+sx4U9mIkWwsMugASiKlJAP4Av1ouwKGlLY0e+GHM8hFDiFXYrlKocX/j6hXGaN HzeN6jZjJX8PTgDYPtXz9JQ/WlZCjJ4G3jZUpQVnlnudubX8pZ64ZCPDMoaCS/pxVB0I kvGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=yK6NzDx4sIyotlD6DesYMrbO0KdE1/+hr0cPwWXbrfA=; b=h2Cf6G99FbEseSQI00ZmLCWDpbrd5ZfBC40YwL9ksBQaY/DwrxpXwjIjP94rtMTeA1 4DF/tVuOUOvJk+tagSMlJWiMN4fxsozDBr1Q2c4LQSoCDMnYREBOTGpR68FXKW1E3AXc mCRVb70NiEVVKG77TZAVvBq5LJKO1N1Obouof2HfHp1tN9mNP/m/catDLjXmdpS5hy+X lHZYp79Z3ReJfUrlDF+EZUhtP0pHWt0ulNhNEhlacUcMlvNhNhrUQ5K61jcV2DMEumSn UZI2S9KADwCR8Ah5yE+HRnAp3mBOmn0ZLBovkw0T6v1e/4UDET2d6d0jCGYXjQo+ckzF N3HQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fyGzcWbc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m2-v6si844128pfb.66.2018.11.07.06.16.49; Wed, 07 Nov 2018 06:17:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fyGzcWbc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730972AbeKGXqK (ORCPT + 99 others); Wed, 7 Nov 2018 18:46:10 -0500 Received: from mail-wm1-f65.google.com ([209.85.128.65]:51324 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726825AbeKGXqK (ORCPT ); Wed, 7 Nov 2018 18:46:10 -0500 Received: by mail-wm1-f65.google.com with SMTP id w7-v6so14160458wmc.1 for ; Wed, 07 Nov 2018 06:15:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=yK6NzDx4sIyotlD6DesYMrbO0KdE1/+hr0cPwWXbrfA=; b=fyGzcWbc7HO3XkpkOW3hNqQsKN5jtXvP+ivBt4RnyBrJYDrGM8SxvzZEwjYrFe2h7j XHnYd3gkHrV5ucevF2l5nJjfy4QOWbQj7f7UNpDAmApBZp9ySYjK5lRlOSKPbbTnrg+G vPDfT9TbgI1nA00V5nrcLWfz913beb+QNBPNI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=yK6NzDx4sIyotlD6DesYMrbO0KdE1/+hr0cPwWXbrfA=; b=TMYx5YR8j0WMgW/bgXjuXuVtgHRWYEfdV0+2uxn7o+EAe5PFE/VrfLsXZOLhzLclnP LtrV1rDJ1XtcXjBPTt5Aal0yO638stE7c1qSJxAYvOMcJ6ieYitE0J4rEErpLwhoIMm7 8lUWsckkKNfSJUo0h5MUHzU7hWuyTSIx7xWAiVWcfuSwq3CaF9PXOsku+9WgbboZ9zka zWEgFFXKhhiT7TeR4IV+RONIZKoBCCGCXctPZ1CLjd/X+XYOKnfMta+9IwRyOaWmXUyU GWkLi8RqreNMRjVhXoFMb88rGqO4nGaE8lSJaTHR51MamH2PIeKMX6pE+hYak+BOFtQk bXPw== X-Gm-Message-State: AGRZ1gKyzbW63LHmJHOMbtw+F1e+FpFyEVm56q3WaW6M3v1kGtpEgyx6 okmSp20DJaoro3be3SBzvtlMFzmjccs= X-Received: by 2002:a1c:a8cf:: with SMTP id r198-v6mr309947wme.147.1541600135163; Wed, 07 Nov 2018 06:15:35 -0800 (PST) Received: from [192.168.0.19] (cpc90716-aztw32-2-0-cust92.18-1.cable.virginm.net. [86.26.100.93]) by smtp.googlemail.com with ESMTPSA id x142-v6sm2192875wmd.20.2018.11.07.06.15.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Nov 2018 06:15:34 -0800 (PST) Subject: Re: [PATCH v2] slimbus: ngd: QCOM_QMI_HELPERS has to be selected To: Greg KH , Niklas Cassel Cc: linux-kernel@vger.kernel.org References: <20181015183218.GA16900@kroah.com> <20181015194441.10475-1-niklas.cassel@linaro.org> <20181107135911.GA23393@kroah.com> From: Srinivas Kandagatla Message-ID: Date: Wed, 7 Nov 2018 14:15:33 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20181107135911.GA23393@kroah.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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