From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [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
Date: Tue, 11 Feb 2020 00:58:09 +0800 [thread overview]
Message-ID: <202002110037.ZfdSbd56%lkp@intel.com> (raw)
[-- 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 --]
reply other threads:[~2020-02-10 16:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202002110037.ZfdSbd56%lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.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 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.