|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] replace ASSERT by BUG_ON.
# HG changeset patch
# User vhanquez@xxxxxxxxxxxxxxxxxxxxxxx
# Node ID ca795f19b613749232e6a58a4db2d9287747a0d6
# Parent 49c3b00484ffd3d7d7643156530d79fb4682ab71
replace ASSERT by BUG_ON.
Signed-off-by: Vincent Hanquez <vincent@xxxxxxxxxxxxx>
diff -r 49c3b00484ff -r ca795f19b613
linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c
--- a/linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c Mon Jan 16
21:58:44 2006
+++ b/linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c Mon Jan 16
22:04:42 2006
@@ -551,7 +551,7 @@
lsect = fsect + (bvec->bv_len >> 9) - 1;
/* install a grant reference. */
ref = gnttab_claim_grant_reference(&gref_head);
- ASSERT(ref != -ENOSPC);
+ BUG_ON(ref == -ENOSPC);
gnttab_grant_foreign_access_ref(
ref,
diff -r 49c3b00484ff -r ca795f19b613
linux-2.6-xen-sparse/drivers/xen/netback/netback.c
--- a/linux-2.6-xen-sparse/drivers/xen/netback/netback.c Mon Jan 16
21:58:44 2006
+++ b/linux-2.6-xen-sparse/drivers/xen/netback/netback.c Mon Jan 16
22:04:42 2006
@@ -120,7 +120,7 @@
{
netif_t *netif = netdev_priv(dev);
- ASSERT(skb->dev == dev);
+ BUG_ON(skb->dev != dev);
/* Drop the packet if the target domain has no receive buffers. */
if (!netif->active ||
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] replace ASSERT by BUG_ON.,
Xen patchbot -unstable <=
|
|
|
|
|