diff options
| author | bad <bad@NetBSD.org> | 2019-03-26 15:50:23 +0000 |
|---|---|---|
| committer | bad <bad@NetBSD.org> | 2019-03-26 15:50:23 +0000 |
| commit | 2a1e68811a583478dfc571a03b1e4195f7fb2922 (patch) | |
| tree | a7c5bda606290a6223894fc7f057d2cfa156dfbb /sys/dev/microcode | |
| parent | 994109fa21370c60da59532a89fcbc9d4285ef22 (diff) | |
in sysmon_envsys_unregister(): loop over sme_sensors_list with TAILQ_FIRST
instead of TAILQ_FOREACH.
sysmon_envsys_sensor_detach() removes the sensor from sme_sensors_list.
Hence using TAILQ_FOREACH is not safe.
Suggested by thorpej and jmcneill. Thanks!
Diffstat (limited to 'sys/dev/microcode')
0 files changed, 0 insertions, 0 deletions
