Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 197304
b: refs/heads/master
c: 45e4431
h: refs/heads/master
v: v3
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed May 11, 2010
1 parent b519aaa commit 3639343
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e2e64432e9b76e8170d64b25a40feec991822555
refs/heads/master: 45e4431468f24748ba089b741713c740e854fccc
18 changes: 9 additions & 9 deletions trunk/drivers/staging/hv/RndisFilter.c
Original file line number Diff line number Diff line change
Expand Up @@ -356,8 +356,8 @@ static void RndisFilterReceiveData(struct rndis_device *Device,
DPRINT_ENTER(NETVSC);

/* empty ethernet frame ?? */
ASSERT(Packet->PageBuffers[0].Length >
RNDIS_MESSAGE_SIZE(struct rndis_packet));
/* ASSERT(Packet->PageBuffers[0].Length > */
/* RNDIS_MESSAGE_SIZE(struct rndis_packet)); */

rndisPacket = &Message->Message.Packet;

Expand Down Expand Up @@ -567,8 +567,8 @@ static int RndisFilterSetPacketFilter(struct rndis_device *Device,

DPRINT_ENTER(NETVSC);

ASSERT(RNDIS_MESSAGE_SIZE(struct rndis_set_request) + sizeof(u32) <=
sizeof(struct rndis_message));
/* ASSERT(RNDIS_MESSAGE_SIZE(struct rndis_set_request) + sizeof(u32) <= */
/* sizeof(struct rndis_message)); */

request = GetRndisRequest(Device, REMOTE_NDIS_SET_MSG,
RNDIS_MESSAGE_SIZE(struct rndis_set_request) +
Expand Down Expand Up @@ -640,8 +640,8 @@ int RndisFilterInit(struct netvsc_driver *Driver)
Driver->Base.OnDeviceRemove;
gRndisFilter.InnerDriver.Base.OnCleanup = Driver->Base.OnCleanup;

ASSERT(Driver->OnSend);
ASSERT(Driver->OnReceiveCallback);
/* ASSERT(Driver->OnSend); */
/* ASSERT(Driver->OnReceiveCallback); */
gRndisFilter.InnerDriver.OnSend = Driver->OnSend;
gRndisFilter.InnerDriver.OnReceiveCallback = Driver->OnReceiveCallback;
gRndisFilter.InnerDriver.OnLinkStatusChanged =
Expand Down Expand Up @@ -811,8 +811,8 @@ static int RndisFilterOnDeviceAdd(struct hv_device *Device,

/* Initialize the rndis device */
netDevice = Device->Extension;
ASSERT(netDevice);
ASSERT(netDevice->Device);
/* ASSERT(netDevice); */
/* ASSERT(netDevice->Device); */

netDevice->Extension = rndisDevice;
rndisDevice->NetDevice = netDevice;
Expand Down Expand Up @@ -921,7 +921,7 @@ static int RndisFilterOnSend(struct hv_device *Device,

/* Add the rndis header */
filterPacket = (struct rndis_filter_packet *)Packet->Extension;
ASSERT(filterPacket);
/* ASSERT(filterPacket); */

memset(filterPacket, 0, sizeof(struct rndis_filter_packet));

Expand Down

0 comments on commit 3639343

Please sign in to comment.