Re: [libvirt] Fix -Werror build error regarding to '#ifdef IFF_VNET_HDR'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Anno domini 2009 Daniel Veillard scripsit:

Hi!

> > Our build bot found a build error when building libVirt with -Werror
> > introduced in
> >   b4f62abbf1191c8fbab3306b4bf2f2567e18067f
> >   kvm/virtio: Set IFF_VNET_HDR when setting up tap fds

> > The attached patch kind of fixes the build error but I'm not sure, if
> > this is the final solution for this problem, though...

>   Err can you tell us what the error report from the compiler was ?
> I assume it was unused warnings for brSetInterfaceMtu() and the
> parameter vnet_hdr of brAddTap(), right ?

Sorry, I should have written this.

The problem is
  bridge.c:464: error: unused parameter 'vnet_hdr'
and if (void)ed
  bridge.c:406: error: 'brProbeVnetHdr' defined but not used

Ciao
Max
-- 
They that give up essential liberty to obtain temporary safety,
deserve neither liberty nor safety.  (Ben Franklin)

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]