Messages in this thread | | | Subject | Re: [PATCH v2] bus: mhi: core: Fix null pointer access when parsing MHI configuration | From | Hemant Kumar <> | Date | Tue, 3 Nov 2020 14:05:22 -0800 |
| |
On 11/2/20 4:27 AM, carl.yin@quectel.com wrote: > From: "carl.yin" <carl.yin@quectel.com> > > Functions parse_ev_cfg() and parse_ch_cfg() access mhi_cntrl->mhi_dev > before it is set in function mhi_register_controller(), > use cntrl_dev instead of mhi_dev. > > Fixes: 0cbf260820fa ("bus: mhi: core: Add support for registering MHI controllers") > Signed-off-by: carl.yin <carl.yin@quectel.com> > Reviewed-by: Bhaumik Bhatt <bbhatt@codeaurora.org>
Reviewed-by: Hemant Kumar <hemantk@codeaurora.org> -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project
| |