diff options
author | Todd Poynor <[email protected]> | 2018-08-05 13:07:35 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2018-08-08 11:20:06 +0200 |
commit | a81d678949471d5b7f399cfcf2e48e0382427805 (patch) | |
tree | 669e5a74bc7885ad1bc34a570d6fbcdc7a979071 /net/switchdev/switchdev.c | |
parent | 2bc7596438aba6d9eacc4fdfac8dd8b22ae4a267 (diff) |
staging: gasket: sysfs: clean up state if ENOMEM removing mapping
If kcalloc() returns NULL in put_mapping(), continue to clean up state,
including dropping the reference on the struct device and free attribute
memory.
Signed-off-by: Todd Poynor <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions