Linux IOMMU Development
 help / color / mirror / Atom feed
From: Joerg Roedel <jroedel-l3A5Bk7waGM@public.gmane.org>
To: kbuild test robot <fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org,
	kbuild-all-JC7UmRfGjtg@public.gmane.org
Subject: Re: [iommu:default-domains 6/22] drivers/iommu/iommu.c:719:8: error: 'struct iommu_group' has no member named 'domain'
Date: Tue, 9 Jun 2015 09:19:29 +0200	[thread overview]
Message-ID: <20150609071929.GW16345@suse.de> (raw)
In-Reply-To: <201506081333.obotfEnw%fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>

On Mon, Jun 08, 2015 at 01:51:34PM +0800, kbuild test robot wrote:
> tree:   git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git default-domains
> head:   4c5de9feccd92ecab4cd5d8ef6d9e0b552e98268
> commit: 840136773f5f2e0ed2a6ac671f8635792633c8cf [6/22] iommu: Allocate a default domain for iommu groups
> config: x86_64-rhel (attached as .config)
> reproduce:
>   git checkout 840136773f5f2e0ed2a6ac671f8635792633c8cf
>   # save the attached .config to linux build tree
>   make ARCH=x86_64 
> 
> Note: the iommu/default-domains HEAD 4c5de9feccd92ecab4cd5d8ef6d9e0b552e98268 builds fine.
>       It only hurts bisectibility.
> 
> All error/warnings (new ones prefixed by >>):
> 
>    drivers/iommu/iommu.c: In function 'iommu_group_get_for_pci_dev':
> >> drivers/iommu/iommu.c:719:8: error: 'struct iommu_group' has no member named 'domain'
>       group->domain = group->default_domain;
>            ^
> 
> vim +719 drivers/iommu/iommu.c
> 
>    713			/*
>    714			 * Try to allocate a default domain - needs support from the
>    715			 * IOMMU driver.
>    716			 */
>    717			group->default_domain = __iommu_domain_alloc(pdev->dev.bus,
>    718								     IOMMU_DOMAIN_DMA);
>  > 719			group->domain = group->default_domain;
>    720		}
>    721	
>    722		return group;

Fixed. Thanks for the report!

      parent reply	other threads:[~2015-06-09  7:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-08  5:51 [iommu:default-domains 6/22] drivers/iommu/iommu.c:719:8: error: 'struct iommu_group' has no member named 'domain' kbuild test robot
     [not found] ` <201506081333.obotfEnw%fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-06-09  7:19   ` Joerg Roedel [this message]

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=20150609071929.GW16345@suse.de \
    --to=jroedel-l3a5bk7wagm@public.gmane.org \
    --cc=fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
    --cc=kbuild-all-JC7UmRfGjtg@public.gmane.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