Displaying 3 results from an estimated 3 matches for "hotplug_status_watch".
2011 Apr 04
0
[PATCH] xen: netback: use unsigned type for one-bit bitfield.
Fixes error from sparse:
CHECK drivers/net/xen-netback/xenbus.c
drivers/net/xen-netback/xenbus.c:29:40: error: dubious one-bit signed bitfield
int have_hotplug_status_watch:1;
Reported-by: Dr. David Alan Gilbert <linux at treblig.org>
Signed-off-by: Ian Campbell <ian.campbell at citrix.com>
Cc: netdev at vger.kernel.org
Cc: xen-devel at lists.xensource.com
---
drivers/net/xen-netback/xenbus.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
d...
2011 Apr 04
0
[PATCH] xen: netback: use unsigned type for one-bit bitfield.
Fixes error from sparse:
CHECK drivers/net/xen-netback/xenbus.c
drivers/net/xen-netback/xenbus.c:29:40: error: dubious one-bit signed bitfield
int have_hotplug_status_watch:1;
Reported-by: Dr. David Alan Gilbert <linux at treblig.org>
Signed-off-by: Ian Campbell <ian.campbell at citrix.com>
Cc: netdev at vger.kernel.org
Cc: xen-devel at lists.xensource.com
---
drivers/net/xen-netback/xenbus.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
d...
2013 Jun 24
3
[PATCH v2] xen-netback: add a pseudo pps rate limit
..., &be->vif->credit_bytes,
- &be->vif->credit_usec);
+ &be->vif->credit_packets, &be->vif->credit_usec);
be->vif->remaining_credit = be->vif->credit_bytes;
+ be->vif->remaining_packets = be->vif->credit_packets;
unregister_hotplug_status_watch(be);
err = xenbus_watch_pathfmt(dev, &be->hotplug_status_watch,
--
1.7.9.5