Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1533811

Re: [v5,1/5] soc: qcom: smem_state: Fix include for ERR_PTR()

Path csiph.com!news.freedyn.net!aioe.org!bofh.it!news.nic.it!robomod
From "Valo, Kalle" <kvalo@qca.qualcomm.com>
Newsgroups linux.kernel
Subject Re: [v5,1/5] soc: qcom: smem_state: Fix include for ERR_PTR()
Date Thu, 01 Dec 2016 06:20:01 +0100
Message-ID <sJrWN-7OY-1@gated-at.bofh.it> (permalink)
References <sDF6p-1al-3@gated-at.bofh.it> <sEdrs-6BG-7@gated-at.bofh.it> <sEWeS-2n0-1@gated-at.bofh.it> <sGkI9-8uI-1@gated-at.bofh.it> <sJi77-1gR-3@gated-at.bofh.it>
X-Original-To Bjorn Andersson <bjorn.andersson@linaro.org>
Dkim-Signature v=1; a=rsa-sha256; c=simple/simple; d=qca.qualcomm.com; i=@qca.qualcomm.com; q=dns/txt; s=qcdkim; t=1480569232; x=1512105232; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=IyDRwganNBRvdvXdeeHQFneYqnqdzcKm30yXG/yMcv0=; b=G4oqu0ovw+4ZbkzRn3cU8pflduH3rwsBSnGbLQOwd6giHwJiDL2n2gnR TiBsxJ0C2yOprb9KN8tmClVTiCuYOcAmDw5L0P3dcwUZOVZI2u4HM2W51 GSP0qrsrg0aASRb8uV8W9ymvoYSDIq42Ug37nYv3QbAOA03QE/CZnPrn3 g=;
X-Ironport-Av E=Sophos;i="5.33,723,1477983600"; d="scan'208";a="244044932"
X-Ironport-Av E=McAfee;i="5700,7163,8365"; a="1265999367"
X-Amp-Result CLEAN
Thread-Topic [v5,1/5] soc: qcom: smem_state: Fix include for ERR_PTR()
Thread-Index AQHSS5Gue99FOIq/VE6tVtryK0GrCA==
Accept-Language en-GB, en-US
Content-Language en-US
X-Ms-Exchange-Messagesentrepresentingtype 1
X-Ms-Exchange-Transport-Fromentityheader Hosted
X-Originating-IP [10.251.52.12]
Content-Type text/plain; charset="us-ascii"
Content-ID <68A9D10767599E48A4F18DBB4BCFA6E8@qualcomm.com>
Content-Transfer-Encoding quoted-printable
MIME-Version 1.0
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 77
Organization linux.* mail to news gateway
X-Original-Cc "k.eugene.e@gmail.com" <k.eugene.e@gmail.com>, Andy Gross <andy.gross@linaro.org>, "wcn36xx@lists.infradead.org" <wcn36xx@lists.infradead.org>, "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>, "netdev@vger.kernel.org" <netdev@vger.kernel.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, "linux-arm-msm@vger.kernel.org" <linux-arm-msm@vger.kernel.org>
X-Original-Date Thu, 1 Dec 2016 05:13:41 +0000
X-Original-Message-ID <874m2otenv.fsf@kamboji.qca.qualcomm.com>
X-Original-References <1479190014-11297-1-git-send-email-bjorn.andersson@linaro.org> <a4095c49fe5a42c4a405b1faf6c0f3b7@euamsexm01a.eu.qualcomm.com> <20161118183541.GI28340@tuxbot> <877f7vimyg.fsf@kamboji.qca.qualcomm.com> <878ts0u7z3.fsf@kamboji.qca.qualcomm.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1533811

Show key headers only | View raw


Kalle Valo <kvalo@qca.qualcomm.com> writes:

> "Valo, Kalle" <kvalo@qca.qualcomm.com> writes:
>
>> Bjorn Andersson <bjorn.andersson@linaro.org> writes:
>>
>>> On Wed 16 Nov 10:49 PST 2016, Kalle Valo wrote:
>>>
>>>> Bjorn Andersson <bjorn.andersson@linaro.org> wrote:
>>>> > The correct include file for getting errno constants and ERR_PTR() is
>>>> > linux/err.h, rather than linux/errno.h, so fix the include.
>>>> > 
>>>> > Fixes: e8b123e60084 ("soc: qcom: smem_state: Add stubs for disabled smem_state")
>>>> > Acked-by: Andy Gross <andy.gross@linaro.org>
>>>> > Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
>>>> 
>>>> For some reason this fails to compile now. Can you take a look, please?
>>>> 
>>>> ERROR: "qcom_wcnss_open_channel" [drivers/net/wireless/ath/wcn36xx/wcn36xx.ko] undefined!
>>>> make[1]: *** [__modpost] Error 1
>>>> make: *** [modules] Error 2
>>>> 
>>>> 5 patches set to Changes Requested.
>>>> 
>>>> 9429045 [v5,1/5] soc: qcom: smem_state: Fix include for ERR_PTR()
>>>> 9429047 [v5,2/5] wcn36xx: Transition driver to SMD client
>>>
>>> This patch was updated with the necessary depends in Kconfig to catch
>>> this exact issue and when I pull in your .config (which has QCOM_SMD=n,
>>> QCOM_WCNSS_CTRL=n and WCN36XX=y) I can build this just fine.
>>>
>>> I've tested the various combinations and it seems to work fine. Do you
>>> have any other patches in your tree?
>>
>> This was with the pending branch of my ath.git tree. There are other
>> wireless patches (ath10k etc) but I would guess they don't affect here.
>>
>>> Any stale objects?
>>
>> Not sure what you mean with this question, but I didn't run 'make clean'
>> if that's what you are asking.
>>
>>> Would you mind retesting this, before I invest more time in trying to
>>> reproduce the issue you're seeing?
>>
>> Sure, I'll take a look but that might take few days.
>
> I didn't find enough time to look at this in detail. I applied this to
> my ath.git pending branch, let's see what the kbuild bot finds.

It found the same problem. Interestingly I'm also building x86 with 32
bit, maybe it's related?

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git pending
head:   1ea16a1c457939b4564643f7637d5cc639a8d3b7
commit: 5eb09c672b01460804fd49b1c9cc7d1072a102f0 [96/99] wcn36xx: Transition driver to SMD client
config: i386-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout 5eb09c672b01460804fd49b1c9cc7d1072a102f0
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

>> ERROR: "qcom_wcnss_open_channel" [drivers/net/wireless/ath/wcn36xx/wcn36xx.ko] undefined!

-- 
Kalle Valo

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [v5,1/5] soc: qcom: smem_state: Fix include for ERR_PTR() "Valo, Kalle" <kvalo@qca.qualcomm.com> - 2016-11-30 19:50 +0100
  Re: [v5,1/5] soc: qcom: smem_state: Fix include for ERR_PTR() "Valo, Kalle" <kvalo@qca.qualcomm.com> - 2016-12-01 06:20 +0100
    Re: [v5,1/5] soc: qcom: smem_state: Fix include for ERR_PTR() "Valo, Kalle" <kvalo@qca.qualcomm.com> - 2016-12-01 11:20 +0100
      Re: [v5,1/5] soc: qcom: smem_state: Fix include for ERR_PTR() Andy Gross <andy.gross@linaro.org> - 2016-12-01 15:30 +0100
        Re: [v5,1/5] soc: qcom: smem_state: Fix include for ERR_PTR() "Valo, Kalle" <kvalo@qca.qualcomm.com> - 2016-12-05 12:50 +0100

csiph-web