Re: [PATCH v2] drivers: thermal: Add NULL pointer check before using cooling device stats

2021-03-05 Thread Daniel Lezcano
On 05/03/2021 18:24, man...@codeaurora.org wrote: > On 2020-12-08 00:23, Manaf Meethalavalappu Pallikunhi wrote: > > Gentle reminder.. Thanks for the reminder, I'll pick it for the next -rc -- Daniel -- Linaro.org │ Open source software for ARM SoCs Follow Linaro:

Re: [PATCH v2] drivers: thermal: Add NULL pointer check before using cooling device stats

2021-03-05 Thread manafm
On 2020-12-08 00:23, Manaf Meethalavalappu Pallikunhi wrote: Gentle reminder.. There is a possible chance that some cooling device stats buffer allocation fails due to very high cooling device max state value. Later cooling device update sysfs can try to access stats data for the same cooling

[PATCH v2] drivers: thermal: Add NULL pointer check before using cooling device stats

2020-12-07 Thread Manaf Meethalavalappu Pallikunhi
There is a possible chance that some cooling device stats buffer allocation fails due to very high cooling device max state value. Later cooling device update sysfs can try to access stats data for the same cooling device. It will lead to NULL pointer dereference issue. Add a NULL pointer check