On Fri 17 Jul 07:32 PDT 2020, Akash Asthana wrote:
> pdev struct doesn't exits for the devices whose status are disabled
> from DT node, in such cases NULL is returned from 'of_find_device_by_node'
> Later when we try to get drvdata from pdev struct NULL pointer dereference
> is triggered.
>
> Ad
Hi Matthias,
On 7/17/2020 8:18 PM, Matthias Kaehlcke wrote:
Please make sure to cc the linux-arm-msm@vger list for patches of
Qualcomm code.
Sure.
On Fri, Jul 17, 2020 at 08:02:22PM +0530, Akash Asthana wrote:
pdev struct doesn't exits for the devices whose status are disabled
s/exits/exist/
Please make sure to cc the linux-arm-msm@vger list for patches of
Qualcomm code.
On Fri, Jul 17, 2020 at 08:02:22PM +0530, Akash Asthana wrote:
> pdev struct doesn't exits for the devices whose status are disabled
s/exits/exist/
> from DT node, in such cases NULL is returned from 'of_find_device
pdev struct doesn't exits for the devices whose status are disabled
from DT node, in such cases NULL is returned from 'of_find_device_by_node'
Later when we try to get drvdata from pdev struct NULL pointer dereference
is triggered.
Add a NULL check for return values to fix the issue.
We were hitt
4 matches
Mail list logo