When auxiliary_device_add() returns error and then calls
auxiliary_device_uninit(), callback function adev_release
calls kfree(madev). We shouldn't call kfree(madev) again
in the error handling path. Set 'madev' to NULL.
Fixes:
|
||
---|---|---|
.. | ||
gdma_main.c | ||
hw_channel.c | ||
Makefile | ||
mana_bpf.c | ||
mana_en.c | ||
mana_ethtool.c | ||
shm_channel.c |