From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ahci: compile out msi/msix infrastructure
Date: Fri, 04 Dec 2015 22:46:19 +0100 [thread overview]
Message-ID: <2378126.FJZNlQmf9U@wuerfel> (raw)
In-Reply-To: <20151204195830.2300.48789.stgit@dwillia2-desk3.jf.intel.com>
On Friday 04 December 2015 11:58:30 Dan Williams wrote:
> Quoting Arnd:
> The AHCI driver is used for some on-chip devices that do not use PCI
> for probing, and it can be built even when CONFIG_PCI is disabled, but
> that now results in a build failure:
>
> ata/libahci.c: In function 'ahci_host_activate_multi_irqs':
> ata/libahci.c:2475:4: error: invalid use of undefined type 'struct msix_entry'
> ata/libahci.c:2475:21: error: dereferencing pointer to incomplete type 'struct msix_entry'
>
> Add ifdef CONFIG_PCI_MSI infrastructure to compile out the mutli-msi and
> multi-msix code.
>
> Reported-by: Arnd Bergmann <arnd@arndb.de>
> Reported-by: Paul Gortmaker <paul.gortmaker@windriver.com>
> Fixes: d684a90d38e2 ("ahci: per-port msix support")
> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Thanks a lot, looks good. I've verified that this fixes the build on the
configuration that failed earlier.
Tested-by: Arnd Bergmann <arnd@arndb.de>
next prev parent reply other threads:[~2015-12-04 21:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-04 19:58 [PATCH] ahci: compile out msi/msix infrastructure Dan Williams
2015-12-04 21:46 ` Arnd Bergmann [this message]
2015-12-05 22:22 ` Arnd Bergmann
2015-12-05 22:25 ` Arnd Bergmann
2015-12-06 0:05 ` Dan Williams
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=2378126.FJZNlQmf9U@wuerfel \
--to=arnd@arndb.de \
--cc=linux-arm-kernel@lists.infradead.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