[PATCH]: thermal: Fix NULL pointer,dereferences in of_thermal_ functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
This patch was sent originally in [1]. I can see it being picked up in 5.16-rc1 [2] now. Can this be applied to 5.10.x and 5.15.x trees please?

Commit id: 96cfe05051fd8543cdedd6807ec59a0e6c409195 <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/thermal/thermal_of.c?h=v5.16-rc1&id=96cfe05051fd8543cdedd6807ec59a0e6c409195>
Reason: To avoid a null pointer de-reference when a thermal sensor device supplying a thermal zone device doesn't probe or probe later when an userspace entity can attempt to set trip thresholds.
Kernel versions to be applied: 5.10.x, 5.15.x

Thanks,
Subbaraman

[1] https://lore.kernel.org/linux-pm/1636070227-15909-1-git-send-email-quic_subbaram@xxxxxxxxxxx/.
[2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/thermal/thermal_of.c?h=v5.16-rc1&id=96cfe05051fd8543cdedd6807ec59a0e6c409195



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux