Loading drivers/platform/msm/ipa/ipa_v3/ipa_qmi_service.c +3 −0 Original line number Diff line number Diff line Loading @@ -385,6 +385,9 @@ static void ipa3_handle_mhi_vote_req(struct qmi_handle *qmi_handle, IPA_QMI_ERR_NOT_SUPPORTED_V01; } resp = &resp2; } else { IPAWANERR("clk_rate_valid is false\n"); return; } } else { resp = imp_handle_vote_req(vote_req->mhi_vote); Loading drivers/platform/msm/ipa/test/ipa_ut_framework.c +2 −2 Original line number Diff line number Diff line Loading @@ -403,10 +403,10 @@ static ssize_t ipa_ut_dbgfs_meta_test_read(struct file *file, meta_type = (long)(file->private_data); IPA_UT_DBG("Meta test type %ld\n", meta_type); buf = kmalloc(IPA_UT_DEBUG_READ_BUF_SIZE, GFP_KERNEL); buf = kmalloc(IPA_UT_DEBUG_READ_BUF_SIZE + 1, GFP_KERNEL); if (!buf) { IPA_UT_ERR("failed to allocate %d bytes\n", IPA_UT_DEBUG_READ_BUF_SIZE); IPA_UT_DEBUG_READ_BUF_SIZE + 1); cnt = 0; goto unlock_mutex; } Loading Loading
drivers/platform/msm/ipa/ipa_v3/ipa_qmi_service.c +3 −0 Original line number Diff line number Diff line Loading @@ -385,6 +385,9 @@ static void ipa3_handle_mhi_vote_req(struct qmi_handle *qmi_handle, IPA_QMI_ERR_NOT_SUPPORTED_V01; } resp = &resp2; } else { IPAWANERR("clk_rate_valid is false\n"); return; } } else { resp = imp_handle_vote_req(vote_req->mhi_vote); Loading
drivers/platform/msm/ipa/test/ipa_ut_framework.c +2 −2 Original line number Diff line number Diff line Loading @@ -403,10 +403,10 @@ static ssize_t ipa_ut_dbgfs_meta_test_read(struct file *file, meta_type = (long)(file->private_data); IPA_UT_DBG("Meta test type %ld\n", meta_type); buf = kmalloc(IPA_UT_DEBUG_READ_BUF_SIZE, GFP_KERNEL); buf = kmalloc(IPA_UT_DEBUG_READ_BUF_SIZE + 1, GFP_KERNEL); if (!buf) { IPA_UT_ERR("failed to allocate %d bytes\n", IPA_UT_DEBUG_READ_BUF_SIZE); IPA_UT_DEBUG_READ_BUF_SIZE + 1); cnt = 0; goto unlock_mutex; } Loading