Loading drivers/bus/mhi/controllers/mhi_arch_qcom.c +11 −1 Original line number Diff line number Diff line Loading @@ -308,12 +308,22 @@ static void mhi_bl_dl_cb(struct mhi_device *mhi_device, struct mhi_dev *mhi_dev = mhi_controller_get_devdata(mhi_cntrl); struct arch_info *arch_info = mhi_dev->arch_info; char *buf = mhi_result->buf_addr; char *token, *delim = "\n"; /* force a null at last character */ buf[mhi_result->bytes_xferd - 1] = 0; if (mhi_result->bytes_xferd >= MAX_MSG_SIZE) { do { token = strsep((char **)&buf, delim); if (token) ipc_log_string(arch_info->boot_ipc_log, "%s %s", DLOG, token); } while (token); } else { ipc_log_string(arch_info->boot_ipc_log, "%s %s", DLOG, buf); } } static void mhi_bl_dummy_cb(struct mhi_device *mhi_dev, struct mhi_result *mhi_result) Loading Loading
drivers/bus/mhi/controllers/mhi_arch_qcom.c +11 −1 Original line number Diff line number Diff line Loading @@ -308,12 +308,22 @@ static void mhi_bl_dl_cb(struct mhi_device *mhi_device, struct mhi_dev *mhi_dev = mhi_controller_get_devdata(mhi_cntrl); struct arch_info *arch_info = mhi_dev->arch_info; char *buf = mhi_result->buf_addr; char *token, *delim = "\n"; /* force a null at last character */ buf[mhi_result->bytes_xferd - 1] = 0; if (mhi_result->bytes_xferd >= MAX_MSG_SIZE) { do { token = strsep((char **)&buf, delim); if (token) ipc_log_string(arch_info->boot_ipc_log, "%s %s", DLOG, token); } while (token); } else { ipc_log_string(arch_info->boot_ipc_log, "%s %s", DLOG, buf); } } static void mhi_bl_dummy_cb(struct mhi_device *mhi_dev, struct mhi_result *mhi_result) Loading