All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yosuke Iwamatsu <y-iwamatsu@ab.jp.nec.com>
To: samuel.thibault@eu.citrix.com, xen-devel@lists.xensource.com
Subject: Fix the build for linux cs585 (Re: [PATCH] pciif: do not depend on linux' msix_entries)
Date: Thu, 03 Jul 2008 14:28:03 +0900	[thread overview]
Message-ID: <486C6363.10707@ab.jp.nec.com> (raw)
In-Reply-To: <20080702123228.GE4714@implementation.uk.xensource.com>

Hi,

I failed to compile latest linux-2.6.18.8-xen. The modification below
will fix the build of pciback.

Thanks,
--Yosuke

Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@ab.jp.nec.com>

diff -r 72786307fa4c drivers/xen/pciback/conf_space_capability_msi.c
--- a/drivers/xen/pciback/conf_space_capability_msi.c	Wed Jul 02 
13:36:55 2008 +0100
+++ b/drivers/xen/pciback/conf_space_capability_msi.c	Thu Jul 03 
14:29:22 2008 +0900
@@ -46,8 +46,8 @@ int pciback_enable_msix(struct pciback_d
  		int i;

  		for (i = 0; i < op->value; i++) {
-			entries[i].entry = op.msix_entries[i].entry;
-			entries[i].vector = op.msix_entries[i].vector;
+			entries[i].entry = op->msix_entries[i].entry;
+			entries[i].vector = op->msix_entries[i].vector;
  		}

  		result = pci_enable_msix(dev, entries, op->value);

      reply	other threads:[~2008-07-03  5:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-02 12:31 [PATCH] pciif: do not depend on linux' msix_entries Samuel Thibault
2008-07-02 12:32 ` Samuel Thibault
2008-07-03  5:28   ` Yosuke Iwamatsu [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=486C6363.10707@ab.jp.nec.com \
    --to=y-iwamatsu@ab.jp.nec.com \
    --cc=samuel.thibault@eu.citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /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.