staging: unisys: virtpci: Allocate memory using the size of the variable
authorBryan Thompson <bryan.thompson@unisys.com>
Thu, 30 Oct 2014 20:18:48 +0000 (16:18 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Oct 2014 20:35:35 +0000 (13:35 -0700)
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 <bryan.thompson@unisys.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

No differences found