mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
74cc0f56f273dc1be38fc72897bc1f45cdc522ab
There are 2 timer defined. One statically and one in the bluedroid_pm_data struct. Both timers call the same function on expiration. In the case of the statically defined timer this is a problem because it assumes that the timer is part of the bluedroid_pm_data and so calling timer_container_of() or from_timer() results in an invalid pointer and hence kernel panic. Fix this by removing the statically defined timer. Bug 4958861 Change-Id: I08f9dc3a032f84ca3350fbec5fb97062da8d6795 Signed-off-by: Bruce Xu <brucex@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3400991 (cherry picked from commit 61490c6a2a65e24068cd33a92d8730260ad83f95) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3405517 Tested-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-by: Jon Hunter <jonathanh@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Description
No description provided