All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark McLoughlin <markmc@redhat.com>
To: Rusty Russell <rusty@rustcorp.com.au>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Christian Borntraeger <borntraeger@de.ibm.com>,
	Herbert Xu <herbert@gondor.apana.org.au>,
	Johannes Weiner <hannes@saeurebad.de>,
	Martin Schwidefsky <schwidefsky@de.ibm.com>,
	Carsten Otte <cotte@de.ibm.com>, lguest <lguest@ozlabs.org>,
	virtualization@lists.linux-foundation.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PULL] lguest and virtio patches
Date: Thu, 24 Jul 2008 16:58:53 +0100	[thread overview]
Message-ID: <1216915133.19183.5.camel@muff> (raw)
In-Reply-To: <200807231727.35138.rusty@rustcorp.com.au>

On Wed, 2008-07-23 at 17:27 +1000, Rusty Russell wrote:
> (Note the arch/s390 bit is from virtio console on KVM/s390)
> 
> The following changes since commit 0988c37c248e824953d95a11412696c348dbca91:
>   Linus Torvalds (1):
>         Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/.../tip/linux-2.6-tip
> 
> are available in the git repository at:
> 
>   ssh://master.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus.git master
> 
...
> Rusty Russell (19):
>       virtio: Recycle unused recv buffer pages for large skbs in net driver
>       lguest: set max_pfn_mapped, growl loudly at Yinghai Lu
>       lguest: Guest int3 fix
>       lguest: Debugging patch for lguest network performance
>       lguest: fix verbose printing of device features.
>       lguest: virtio-rng support
>       virtio: clarify that ABI is usable by any implementations
>       virtio: don't always force a notification when ring is full
>       lguest: wrap last_avail accesses.
>       lguest: net block unneeded receive queue update notifications
>       lguest: Tell Guest net not to notify us on every packet xmit
>       lguest: Adaptive timeout
>       virtio: Formally reserve bits 28-31 to be 'transport' features.
>       virtio: Rename set_features to finalize_features
>       virtio: Add transport feature handling stub for virtio_ring.

This last one introduces a compile failure; fixup patch below.

Cheers,
Mark.

Subject: [PATCH] virtio: Fix compile error

Include virtio_config.h to fix:

  drivers/virtio/virtio_ring.c: In function ‘vring_transport_features’:
  drivers/virtio/virtio_ring.c:331: error: ‘VIRTIO_TRANSPORT_F_START’ undeclared (first use in this function)
  drivers/virtio/virtio_ring.c:331: error: (Each undeclared identifier is reported only once
  drivers/virtio/virtio_ring.c:331: error: for each function it appears in.)
  drivers/virtio/virtio_ring.c:331: error: ‘VIRTIO_TRANSPORT_F_END’ undeclared (first use in this function)
  make[1]: *** [drivers/virtio/virtio_ring.o] Error 1
  make: *** [drivers/virtio/] Error 2

The include is added by a later patch in Rusty's queue
which wasn't submitted, hence it only coming to light
now.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
---
 drivers/virtio/virtio_ring.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c
index e2671d5..6eb5303 100644
--- a/drivers/virtio/virtio_ring.c
+++ b/drivers/virtio/virtio_ring.c
@@ -18,6 +18,7 @@
  */
 #include <linux/virtio.h>
 #include <linux/virtio_ring.h>
+#include <linux/virtio_config.h>
 #include <linux/device.h>
 
 #ifdef DEBUG
-- 
1.5.5.1


  reply	other threads:[~2008-07-24 16:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-23  7:27 [PULL] lguest and virtio patches Rusty Russell
2008-07-24 15:58 ` Mark McLoughlin [this message]
2008-07-25  1:24   ` Rusty Russell
2008-07-25  1:24   ` Rusty Russell
2008-07-24 15:58 ` Mark McLoughlin
  -- strict thread matches above, loose matches on Subject: below --
2009-03-30 11:28 Rusty Russell
2009-03-28 13:11 Rusty Russell
2008-07-23  7:27 Rusty Russell

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=1216915133.19183.5.camel@muff \
    --to=markmc@redhat.com \
    --cc=akpm@linux-foundation.org \
    --cc=borntraeger@de.ibm.com \
    --cc=cotte@de.ibm.com \
    --cc=hannes@saeurebad.de \
    --cc=herbert@gondor.apana.org.au \
    --cc=lguest@ozlabs.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rusty@rustcorp.com.au \
    --cc=schwidefsky@de.ibm.com \
    --cc=torvalds@linux-foundation.org \
    --cc=virtualization@lists.linux-foundation.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.