From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Wang Subject: Re: [PATCH net-next] virtio-net: fix build error when CONFIG_AVERAGE is not enabled Date: Fri, 17 Jan 2014 17:51:32 +0800 Message-ID: <52D8FD24.2090709@redhat.com> References: <1389950828-24039-1-git-send-email-mwdalton@google.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, Eric Dumazet , virtualization@lists.linux-foundation.org, "Michael S. Tsirkin" To: Michael Dalton , "David S. Miller" Return-path: In-Reply-To: <1389950828-24039-1-git-send-email-mwdalton@google.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org List-Id: netdev.vger.kernel.org On 01/17/2014 05:27 PM, Michael Dalton wrote: > Commit ab7db91705e9 ("virtio-net: auto-tune mergeable rx buffer size for > improved performance") introduced a virtio-net dependency on EWMA. > The inclusion of EWMA is controlled by CONFIG_AVERAGE. Fix build error > when CONFIG_AVERAGE is not enabled by adding select AVERAGE to > virtio-net's Kconfig entry. > > Build failure reported using config make ARCH=s390 defconfig. > > Signed-off-by: Michael Dalton > --- > drivers/net/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig > index b45b240..f342278 100644 > --- a/drivers/net/Kconfig > +++ b/drivers/net/Kconfig > @@ -236,6 +236,7 @@ config VETH > config VIRTIO_NET > tristate "Virtio network driver" > depends on VIRTIO > + select AVERAGE > ---help--- > This is the virtual network driver for virtio. It can be used with > lguest or QEMU based VMMs (like KVM or Xen). Say Y or M. Acked-by: Jason Wang