summaryrefslogtreecommitdiffstats
path: root/drivers/firmware
diff options
context:
space:
mode:
authorJohn Allen <jallen@linux.vnet.ibm.com>2018-01-18 16:27:58 -0600
committerDavid S. Miller <davem@davemloft.net>2018-01-22 15:46:55 -0500
commit69d08dcbbe34347cbc044629cf6f25d062593dfe (patch)
treedbccddd469066137cb152eb96789184fc591267d /drivers/firmware
parente791380340685698dbdd38c7e3f3fcbf70a3c832 (diff)
downloadlinux-69d08dcbbe34347cbc044629cf6f25d062593dfe.tar.bz2
ibmvnic: Allocate and request vpd in init_resources
In reset events in which our memory allocations need to be reallocated, VPD data is being freed, but never reallocated. This can cause issues if we later attempt to access that memory or reset and attempt to free the memory. This patch moves the allocation of the VPD data to init_resources so that it will be symmetrically freed during release resources. Signed-off-by: John Allen <jallen@linux.vnet.ibm.com> Reviewed-by: Nathan Fontenot <nfont@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/firmware')
0 files changed, 0 insertions, 0 deletions