diff options
author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2025-02-15 11:08:47 +0100 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2025-02-24 10:06:38 +0100 |
commit | 11067f50458a5bb3b72f83c508e03f321e0c0c34 (patch) | |
tree | 6590c2c39c88bf0c163a0bcfe647575d5d329acc /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | e623c4303ed112a1fc20aec8427ba8407e2842e6 (diff) |
gpiolib: read descriptor flags once in gpiolib_dbg_show()
For consistency with most other code that can access requested
descriptors: read the flags once atomically and then test individual
bits from the helper variable. This avoids any potential discrepancies
should flags change during the debug print.
Link: https://lore.kernel.org/r/20250215100847.30136-1-brgl@bgdev.pl
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions