Loading drivers/bus/mhi/core/mhi_init.c +3 −3 Original line number Diff line number Diff line Loading @@ -1356,7 +1356,7 @@ static int of_parse_dt(struct mhi_controller *mhi_cntrl, return 0; error_ev_cfg: kfree(mhi_cntrl->mhi_chan); vfree(mhi_cntrl->mhi_chan); return ret; } Loading Loading @@ -1527,7 +1527,7 @@ int of_register_mhi_controller(struct mhi_controller *mhi_cntrl) kfree(mhi_cntrl->mhi_cmd); error_alloc_cmd: kfree(mhi_cntrl->mhi_chan); vfree(mhi_cntrl->mhi_chan); kfree(mhi_cntrl->mhi_event); return ret; Loading @@ -1541,7 +1541,7 @@ void mhi_unregister_mhi_controller(struct mhi_controller *mhi_cntrl) kfree(mhi_cntrl->mhi_cmd); kfree(mhi_cntrl->mhi_event); kfree(mhi_cntrl->mhi_chan); vfree(mhi_cntrl->mhi_chan); kfree(mhi_cntrl->mhi_tsync); if (sfr_info) { Loading Loading
drivers/bus/mhi/core/mhi_init.c +3 −3 Original line number Diff line number Diff line Loading @@ -1356,7 +1356,7 @@ static int of_parse_dt(struct mhi_controller *mhi_cntrl, return 0; error_ev_cfg: kfree(mhi_cntrl->mhi_chan); vfree(mhi_cntrl->mhi_chan); return ret; } Loading Loading @@ -1527,7 +1527,7 @@ int of_register_mhi_controller(struct mhi_controller *mhi_cntrl) kfree(mhi_cntrl->mhi_cmd); error_alloc_cmd: kfree(mhi_cntrl->mhi_chan); vfree(mhi_cntrl->mhi_chan); kfree(mhi_cntrl->mhi_event); return ret; Loading @@ -1541,7 +1541,7 @@ void mhi_unregister_mhi_controller(struct mhi_controller *mhi_cntrl) kfree(mhi_cntrl->mhi_cmd); kfree(mhi_cntrl->mhi_event); kfree(mhi_cntrl->mhi_chan); vfree(mhi_cntrl->mhi_chan); kfree(mhi_cntrl->mhi_tsync); if (sfr_info) { Loading