ret wasn't initialized appropriately for some error paths leading to the
probe to return 0 at the end of the error cleanup. This means at module
unload time, the remove callback will be invoked leading to funny effects
Fix this by making sure ret != 0 for every goto into a failure path.
ret wasn't initialized appropriately for some error paths leading to the probe to return 0 at the end of the error cleanup. This means at module unload time, the remove callback will be invoked leading to funny effects
Fix this by making sure ret != 0 for every goto into a failure path.