mirror of https://github.com/torvalds/linux.git
'aux_bus' is freed in the remove function but not in the error handling
path of the probe.
Use devm_kzalloc() to simplify the remove function and fix the leak in the
probe.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| mchp_pci1xxxx_gp.c | ||
| mchp_pci1xxxx_gp.h | ||
| mchp_pci1xxxx_gpio.c | ||