[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH net-next v2 1/2] xen-netback: add a vif-is-connected flag
From: Paul Durrant <paul.durrant@xxxxxxxxxx> Date: Fri, 20 Sep 2013 14:57:39 +0100 > @@ -169,6 +169,7 @@ struct xenvif { > > /* Miscellaneous private stuff. */ > struct net_device *dev; > + bool connected; > }; > > static inline struct xenbus_device *xenvif_to_xenbus_device(struct xenvif > *vif) ... > + vif->connected = 1; ... > + vif->connected = 0; Please use 'true' and 'false' when assigning values to something of "bool" type. Also these look like bug fixes, and are thus more appropriately targetted at 'net' and even potentially -stable as well. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |