All of lore.kernel.org
 help / color / mirror / Atom feed
* [thierryreding:for-5.7/nouveau 78/132] drivers/iommu/arm-smmu.c:1597:37: error: request for member 'np' in something not a structure or union
@ 2020-02-10 16:58 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-02-10 16:58 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2846 bytes --]

tree:   https://github.com/thierryreding/linux for-5.7/nouveau
head:   eab3936ae92be42ce311ac8df4130c621d5c52ee
commit: 97cb702ed83c8bf801f4adeeb88bddda0ab4c0d4 [78/132] iommu: arm-smmu: Extract arm_smmu_of_parse()
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 7.5.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 97cb702ed83c8bf801f4adeeb88bddda0ab4c0d4
        # save the attached .config to linux build tree
        GCC_VERSION=7.5.0 make.cross ARCH=arm 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

Note: the thierryreding/for-5.7/nouveau HEAD eab3936ae92be42ce311ac8df4130c621d5c52ee builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   drivers/iommu/arm-smmu.c: In function 'arm_smmu_of_parse':
>> drivers/iommu/arm-smmu.c:1597:37: error: request for member 'np' in something not a structure or union
     else if (!of_property_read_u32(args->np, "stream-match-mask", &mask))
                                        ^~

vim +/np +1597 drivers/iommu/arm-smmu.c

c752ce45b213de Will Deacon    2014-06-25  1586  
97cb702ed83c8b Thierry Reding 2019-11-28  1587  static u32 arm_smmu_of_parse(struct device_node *np, const u32 *args,
97cb702ed83c8b Thierry Reding 2019-11-28  1588  			     unsigned int count)
021bb8420d44cf Robin Murphy   2016-09-14  1589  {
97cb702ed83c8b Thierry Reding 2019-11-28  1590  	u32 fwid = 0, mask;
021bb8420d44cf Robin Murphy   2016-09-14  1591  
97cb702ed83c8b Thierry Reding 2019-11-28  1592  	if (count > 0)
97cb702ed83c8b Thierry Reding 2019-11-28  1593  		fwid |= FIELD_PREP(ARM_SMMU_SMR_ID, args[0]);
021bb8420d44cf Robin Murphy   2016-09-14  1594  
97cb702ed83c8b Thierry Reding 2019-11-28  1595  	if (count > 1)
97cb702ed83c8b Thierry Reding 2019-11-28  1596  		fwid |= FIELD_PREP(ARM_SMMU_SMR_MASK, args[1]);
56fbf600dd8e2f Robin Murphy   2017-03-31 @1597  	else if (!of_property_read_u32(args->np, "stream-match-mask", &mask))
fba6e960772b7b Will Deacon    2020-01-10  1598  		fwid |= FIELD_PREP(ARM_SMMU_SMR_MASK, mask);
021bb8420d44cf Robin Murphy   2016-09-14  1599  
97cb702ed83c8b Thierry Reding 2019-11-28  1600  	return fwid;
97cb702ed83c8b Thierry Reding 2019-11-28  1601  }
97cb702ed83c8b Thierry Reding 2019-11-28  1602  

:::::: The code at line 1597 was first introduced by commit
:::::: 56fbf600dd8e2f32a5317437fe310b56719f7d2b iommu/arm-smmu: Add global SMR masking property

:::::: TO: Robin Murphy <robin.murphy@arm.com>
:::::: CC: Will Deacon <will.deacon@arm.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 73556 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-02-10 16:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-10 16:58 [thierryreding:for-5.7/nouveau 78/132] drivers/iommu/arm-smmu.c:1597:37: error: request for member 'np' in something not a structure or union kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.