Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
Cc: kbuild-all@01.org, Andy Gross <andy.gross@linaro.org>,
	David Brown <david.brown@linaro.org>,
	Niklas Cassel <niklas.cassel@linaro.org>,
	linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 5/5] soc: qcom: Remove depends on ARCH_QCOM
Date: Thu, 14 Jun 2018 05:44:38 +0800	[thread overview]
Message-ID: <201806140551.XMO7Ml2D%fengguang.wu@intel.com> (raw)
In-Reply-To: <20180613125401.11734-6-niklas.cassel@linaro.org>

Hi Niklas,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on linus/master]
[also build test WARNING on next-20180613]
[cannot apply to v4.17]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Niklas-Cassel/soc-qcom-remove-depends-on-ARCH_QCOM/20180613-205858
reproduce:
        # apt-get install sparse
        make ARCH=x86_64 allmodconfig
        make C=1 CF=-D__CHECK_ENDIAN__


sparse warnings: (new ones prefixed by >>)

>> /kbuild/src/sparse/drivers/rpmsg/qcom_glink_smem.c:91:15: sparse: expression using sizeof(void)
>> /kbuild/src/sparse/drivers/rpmsg/qcom_glink_smem.c:91:15: sparse: expression using sizeof(void)
>> /kbuild/src/sparse/drivers/rpmsg/qcom_glink_smem.c:93:50: sparse: incorrect type in argument 2 (different address spaces) @@    expected void const [noderef] <asn:2>*from @@    got sn:2>*from @@
   /kbuild/src/sparse/drivers/rpmsg/qcom_glink_smem.c:93:50:    expected void const [noderef] <asn:2>*from
   /kbuild/src/sparse/drivers/rpmsg/qcom_glink_smem.c:93:50:    got void *
   /kbuild/src/sparse/drivers/rpmsg/qcom_glink_smem.c:98:49: sparse: incorrect type in argument 2 (different address spaces) @@    expected void const [noderef] <asn:2>*from @@    got sn:2>*from @@
   /kbuild/src/sparse/drivers/rpmsg/qcom_glink_smem.c:98:49:    expected void const [noderef] <asn:2>*from
   /kbuild/src/sparse/drivers/rpmsg/qcom_glink_smem.c:98:49:    got void *fifo
   /kbuild/src/sparse/drivers/rpmsg/qcom_glink_smem.c:147:15: sparse: expression using sizeof(void)
   /kbuild/src/sparse/drivers/rpmsg/qcom_glink_smem.c:147:15: sparse: expression using sizeof(void)
--
>> drivers/clk/qcom/clk-smd-rpm.c:250:23: sparse: expression using sizeof(void)
>> drivers/clk/qcom/clk-smd-rpm.c:250:23: sparse: expression using sizeof(void)
   drivers/clk/qcom/clk-smd-rpm.c:259:22: sparse: expression using sizeof(void)
   drivers/clk/qcom/clk-smd-rpm.c:259:22: sparse: expression using sizeof(void)
   drivers/clk/qcom/clk-smd-rpm.c:333:23: sparse: expression using sizeof(void)
   drivers/clk/qcom/clk-smd-rpm.c:333:23: sparse: expression using sizeof(void)
   drivers/clk/qcom/clk-smd-rpm.c:338:22: sparse: expression using sizeof(void)
   drivers/clk/qcom/clk-smd-rpm.c:338:22: sparse: expression using sizeof(void)
--
   /kbuild/src/sparse/drivers/soc/qcom/smd-rpm.c:182:31: sparse: expression using sizeof(void)
>> /kbuild/src/sparse/drivers/soc/qcom/smd-rpm.c:183:47: sparse: incorrect type in argument 2 (different address spaces) @@    expected void const volatile [noderef] <asn:2>*addr @@    got le [noderef] <asn:2>*addr @@
   /kbuild/src/sparse/drivers/soc/qcom/smd-rpm.c:183:47:    expected void const volatile [noderef] <asn:2>*addr
   /kbuild/src/sparse/drivers/soc/qcom/smd-rpm.c:183:47:    got unsigned char const *<noident>
--
   /kbuild/src/sparse/drivers/soc/qcom/smem.c:418:16: sparse: incorrect type in assignment (different address spaces) @@    expected struct smem_header *header @@    got voistruct smem_header *header @@
   /kbuild/src/sparse/drivers/soc/qcom/smem.c:418:16:    expected struct smem_header *header
   /kbuild/src/sparse/drivers/soc/qcom/smem.c:418:16:    got void [noderef] <asn:2>*virt_base
   /kbuild/src/sparse/drivers/soc/qcom/smem.c:503:16: sparse: incorrect type in assignment (different address spaces) @@    expected struct smem_header *header @@    got voistruct smem_header *header @@
   /kbuild/src/sparse/drivers/soc/qcom/smem.c:503:16:    expected struct smem_header *header
   /kbuild/src/sparse/drivers/soc/qcom/smem.c:503:16:    got void [noderef] <asn:2>*virt_base
   /kbuild/src/sparse/drivers/soc/qcom/smem.c:516:48: sparse: incorrect type in return expression (different address spaces) @@    expected void * @@    got void [noderef] <avoid * @@
   /kbuild/src/sparse/drivers/soc/qcom/smem.c:516:48:    expected void *
   /kbuild/src/sparse/drivers/soc/qcom/smem.c:516:48:    got void [noderef] <asn:2>*
   /kbuild/src/sparse/drivers/soc/qcom/smem.c:651:24: sparse: incorrect type in assignment (different address spaces) @@    expected struct smem_header *header @@    got voistruct smem_header *header @@
   /kbuild/src/sparse/drivers/soc/qcom/smem.c:651:24:    expected struct smem_header *header
   /kbuild/src/sparse/drivers/soc/qcom/smem.c:651:24:    got void [noderef] <asn:2>*virt_base
>> /kbuild/src/sparse/drivers/soc/qcom/smem.c:673:23: sparse: incompatible types in comparison expression (different address spaces)
   /kbuild/src/sparse/drivers/soc/qcom/smem.c:675:23: sparse: incompatible types in comparison expression (different address spaces)
>> /kbuild/src/sparse/drivers/soc/qcom/smem.c:676:40: sparse: subtraction of different types can't work (different address spaces)
   /kbuild/src/sparse/drivers/soc/qcom/smem.c:691:16: sparse: incorrect type in assignment (different address spaces) @@    expected struct smem_header *header @@    got voistruct smem_header *header @@
   /kbuild/src/sparse/drivers/soc/qcom/smem.c:691:16:    expected struct smem_header *header
   /kbuild/src/sparse/drivers/soc/qcom/smem.c:691:16:    got void [noderef] <asn:2>*virt_base
   /kbuild/src/sparse/drivers/soc/qcom/smem.c:702:16: sparse: incorrect type in assignment (different address spaces) @@    expected struct smem_ptable *ptable @@    got voistruct smem_ptable *ptable @@
   /kbuild/src/sparse/drivers/soc/qcom/smem.c:702:16:    expected struct smem_ptable *ptable
   /kbuild/src/sparse/drivers/soc/qcom/smem.c:702:16:    got void [noderef] <asn:2>*
   /kbuild/src/sparse/drivers/soc/qcom/smem.c:724:57: sparse: restricted __le32 degrades to integer
   /kbuild/src/sparse/drivers/soc/qcom/smem.c:765:16: sparse: incorrect type in assignment (different address spaces) @@    expected struct smem_partition_header *header @@    got smem_partition_header *header @@
   /kbuild/src/sparse/drivers/soc/qcom/smem.c:765:16:    expected struct smem_partition_header *header
   /kbuild/src/sparse/drivers/soc/qcom/smem.c:765:16:    got void [noderef] <asn:2>*
   /kbuild/src/sparse/drivers/soc/qcom/smem.c:844:24: sparse: incorrect type in assignment (different address spaces) @@    expected struct smem_partition_header *header @@    got smem_partition_header *header @@
   /kbuild/src/sparse/drivers/soc/qcom/smem.c:844:24:    expected struct smem_partition_header *header
   /kbuild/src/sparse/drivers/soc/qcom/smem.c:844:24:    got void [noderef] <asn:2>*
   /kbuild/src/sparse/drivers/soc/qcom/smem.c:943:16: sparse: incorrect type in assignment (different address spaces) @@    expected struct smem_header *header @@    got voistruct smem_header *header @@
   /kbuild/src/sparse/drivers/soc/qcom/smem.c:943:16:    expected struct smem_header *header
   /kbuild/src/sparse/drivers/soc/qcom/smem.c:943:16:    got void [noderef] <asn:2>*virt_base

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

  parent reply	other threads:[~2018-06-13 21:44 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-13 12:53 [PATCH 0/5] soc: qcom: remove depends on ARCH_QCOM Niklas Cassel
2018-06-13 12:53 ` [PATCH 2/5] soc: qcom: smem: Add missing include of sizes.h Niklas Cassel
2018-06-13 12:53 ` [PATCH 3/5] soc: qcom: smp2p: Add select IRQ_DOMAIN Niklas Cassel
2018-06-13 12:53 ` [PATCH 4/5] soc: qcom: smsm: " Niklas Cassel
2018-06-13 12:54 ` [PATCH 5/5] soc: qcom: Remove depends on ARCH_QCOM Niklas Cassel
2018-06-13 13:48   ` Niklas Cassel
2018-06-13 16:51   ` kbuild test robot
2018-06-13 21:44   ` kbuild test robot [this message]
2018-06-14  6:35   ` Vivek Gautam
2018-06-14  6:38     ` Vivek Gautam
2018-06-14  8:31       ` Niklas Cassel
2018-06-14 10:24         ` Vivek Gautam
     [not found] ` <20180613125401.11734-2-niklas.cassel@linaro.org>
2018-06-13 13:16   ` [PATCH 1/5] rpmsg: smd: Add missing include of sizes.h Niklas Cassel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201806140551.XMO7Ml2D%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=andy.gross@linaro.org \
    --cc=david.brown@linaro.org \
    --cc=kbuild-all@01.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-soc@vger.kernel.org \
    --cc=niklas.cassel@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox