diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-07-15 19:47:22 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 19:01:47 (GMT) |
commit | e40d37cc002de9a6e3058646114b585ec4354745 (patch) | |
tree | cdf7c0212d1d947aaaafae18ca4d1f3e6d7a4b45 /drivers/staging/hv/NetVsc.c | |
parent | 0e727613ac6e1648d681a75d794862225c801d4b (diff) | |
download | linux-fsl-qoriq-e40d37cc002de9a6e3058646114b585ec4354745.tar.xz |
Staging: hv: osd: remove MemAlloc wrapper
Use the "real" kmalloc call instead of a wrapper function.
Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/NetVsc.c')
-rw-r--r-- | drivers/staging/hv/NetVsc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/hv/NetVsc.c b/drivers/staging/hv/NetVsc.c index f3fd69a..e854f79 100644 --- a/drivers/staging/hv/NetVsc.c +++ b/drivers/staging/hv/NetVsc.c @@ -361,7 +361,7 @@ NetVscInitializeReceiveBufferWithNetVsp( netDevice->ReceiveSectionCount = initPacket->Messages.Version1Messages.SendReceiveBufferComplete.NumSections; - netDevice->ReceiveSections = MemAlloc(netDevice->ReceiveSectionCount * sizeof(NVSP_1_RECEIVE_BUFFER_SECTION)); + netDevice->ReceiveSections = kmalloc(netDevice->ReceiveSectionCount * sizeof(NVSP_1_RECEIVE_BUFFER_SECTION), GFP_KERNEL); if (netDevice->ReceiveSections == NULL) { ret = -1; |