From: Bryan Thompson Date: Thu, 30 Oct 2014 20:18:48 +0000 (-0400) Subject: staging: unisys: virtpci: Allocate memory using the size of the variable X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~547 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=732bf98833d8a3f13a658e24513ca5661a4be62f;p=pandora-kernel.git staging: unisys: virtpci: Allocate memory using the size of the variable Change two instances of using the sizeof a structure to the size of a specific variable when allocating memory in virtpci.c Signed-off-by: Bryan Thompson Signed-off-by: Benjamin Romer Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed