Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268299
b: refs/heads/master
c: 5d3da4a
h: refs/heads/master
i:
  268297: f8e9b88
  268295: 4ab649d
v: v3
  • Loading branch information
Larry Finger authored and Greg Kroah-Hartman committed Sep 7, 2011
1 parent 8764e8f commit 9fdfa42
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 93c55dda092c7ec2a0bc6a93b5ab220ddbdffb95
refs/heads/master: 5d3da4a20a271e3cf5496a50cbb8118aa019374f
4 changes: 4 additions & 0 deletions trunk/drivers/staging/rtl8712/rtl871x_recv.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@

#define _RTL871X_RECV_C_

#include <linux/slab.h>
#include <linux/kmemleak.h>

#include "osdep_service.h"
#include "drv_types.h"
#include "recv_osdep.h"
Expand Down Expand Up @@ -73,6 +76,7 @@ sint _r8712_init_recv_priv(struct recv_priv *precvpriv,
RXFRAME_ALIGN_SZ);
if (precvpriv->pallocated_frame_buf == NULL)
return _FAIL;
kmemleak_not_leak(precvpriv->pallocated_frame_buf);
memset(precvpriv->pallocated_frame_buf, 0, NR_RECVFRAME *
sizeof(union recv_frame) + RXFRAME_ALIGN_SZ);
precvpriv->precv_frame_buf = precvpriv->pallocated_frame_buf +
Expand Down

0 comments on commit 9fdfa42

Please sign in to comment.