diff options
| author | Guenter Roeck <linux@roeck-us.net> | 2026-08-20 21:45:12 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-08-22 12:32:59 -0700 |
| commit | 622d698df4239fef3e0eb51fe59f4198f957f28a (patch) | |
| tree | 150e2b3d0fa0574ab44b725f62b1ac3c56533fd6 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 4e15e89faac9f308baeb01f46c13a051814d2449 (diff) | |
bnxt_en: Fix call to hardware monitoring event handler
The first parameter of hwmon_notify_event() is supposed to be the hardware
monitoring device. The bnxt driver calls it with the platform device as
first parameter instead. This API break results in undefined behavior and
may result in a crash.
Pass the hardware monitoring device as parameter instead to fix the
problem.
Fixes: a19b4801457b0 ("bnxt_en: Event handler for Thermal event")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Link: https://patch.msgid.link/20260821044512.663941-1-linux@roeck-us.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
