diff options
author | Aditya Pakki | 2019-03-25 16:55:27 -0500 |
---|---|---|
committer | Dan Williams | 2019-03-27 10:08:55 -0700 |
commit | 486fa92df4707b5df58d6508728bdb9321a59766 (patch) | |
tree | 866f674f33e865b0ce8e199890a10efe4f1e563e /drivers/usb | |
parent | 55c1fc0af29a6c1b92f217b7eb7581a882e0c07c (diff) |
libnvdimm/btt: Fix a kmemdup failure check
In case kmemdup fails, the fix releases resources and returns to
avoid the NULL pointer dereference.
Signed-off-by: Aditya Pakki <pakki001@umn.edu>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/usb')
0 files changed, 0 insertions, 0 deletions