]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Staging: hv: vmbus: Do not allocate struct hv_device_info on the stack
authorK. Y. Srinivasan <kys@microsoft.com>
Tue, 13 Sep 2011 17:59:52 +0000 (10:59 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 16 Sep 2011 18:06:03 +0000 (20:06 +0200)
commit7bb52384b2678fcbcebfa97be8f98dfb3219edc1
treea6309a7edf1ce08f1f213765fe638bd8c92a7aeb
parentb0bb55175f846909e06952583e38982a77f7ecea
Staging: hv: vmbus: Do not allocate struct hv_device_info on the stack

struct hv_device_info is about 101 bytes in size. Do not allocate this structure
on the stack.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/vmbus_drv.c