public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Vadim Rozenfeld <vrozenfe@redhat.com>
To: kvm@vger.kernel.org
Subject: [PATCH] viostor driver. fix broken xp build
Date: Sun, 25 Oct 2009 15:47:36 +0200	[thread overview]
Message-ID: <4AE456F8.5080309@redhat.com> (raw)



repository: /home/vadimr/shares/kvm-guest-drivers-windows
branch: master
commit eca6d92722fc669d5b3fdb99182a0a8e3db6a38b
Author: Vadim Rozenfeld<vrozenfe@redhat.com>
Date:   Sun Oct 25 15:45:17 2009 +0200

     [PATCH] viostor driver. fix broken xp build

     Signed-off-by: Vadim Rozenfeld<vrozenfe@redhat.com>

diff --git a/viostor/virtio_stor.c b/viostor/virtio_stor.c
index 4c9fe27..ad7f005 100644
--- a/viostor/virtio_stor.c
+++ b/viostor/virtio_stor.c
@@ -1133,7 +1133,7 @@ CompleteDPC(
      CompleteSRB(DeviceExtension, Srb);
  }

-
+#ifdef USE_STORPORT
  VOID
  CompleteDpcRoutine(
      IN PSTOR_DPC  Dpc,
@@ -1182,3 +1182,4 @@ CompleteDpcRoutine(
      }
      return;
  }
+#endif
diff --git a/viostor/virtio_stor.h b/viostor/virtio_stor.h
index 221c653..063c1d1 100644
--- a/viostor/virtio_stor.h
+++ b/viostor/virtio_stor.h
@@ -103,7 +103,9 @@ typedef struct _ADAPTER_EXTENSION {
      BOOLEAN               dump_mode;
      LIST_ENTRY            list_head;
      LIST_ENTRY            complete_list;
+#ifdef USE_STORPORT
      STOR_DPC              completion_dpc;
+#endif
      BOOLEAN               has_sn;
      ULONG                 msix_vectors;
  }ADAPTER_EXTENSION, *PADAPTER_EXTENSION;
--
To unsubscribe from this list: send the line "unsubscribe kvm-commits" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


                 reply	other threads:[~2009-10-25 13:47 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=4AE456F8.5080309@redhat.com \
    --to=vrozenfe@redhat.com \
    --cc=kvm@vger.kernel.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