commit | 106204b56f60abf1bead7dceb88f2be3e34433da | [log] [tgz] |
---|---|---|
author | Kangjie Lu <kjlu@umn.edu> | Tue Mar 12 03:33:28 2019 -0500 |
committer | Mika Westerberg <mika.westerberg@linux.intel.com> | Wed Mar 20 13:37:12 2019 +0300 |
tree | 6ee50978ea524c4ff0b5b0ef25772f93a78a8b35 | |
parent | 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b [diff] |
thunderbolt: property: Fix a NULL pointer dereference In case kzalloc fails, the fix releases resources and returns -ENOMEM to avoid the NULL pointer dereference. Signed-off-by: Kangjie Lu <kjlu@umn.edu> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>