life circumstances. And let's say that it fails, then we most certainly are not handling a DPRC device, aka a bus device as checked by the is_fsl_mc_bus_dprc() function. This means that fsl_mc_device_release() will execute the 'kfree(mc_dev)' from the else branch as it was also in the initial code under the error_cleanup_dev label. Ioana[PATCH v3] bus: fsl-mc: fix an error handling in fsl_mc_device_add()Ioana Ciornei undefinedDan Carpenter undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefinedƒw…¿