summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorHugo Villeneuve <hvilleneuve@dimonoff.com>2023-12-22 02:18:13 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-01-04 18:30:04 +0300
commit3504c3174bfce19bbf3b6391645f159c68ba12e9 (patch)
tree14b070cb4aeca47e8878987afa45a0e9ba90f813 /tools/perf/scripts/python/task-analyzer.py
parentd5078509c8b06c5c472a60232815e41af81c6446 (diff)
downloadlinux-3504c3174bfce19bbf3b6391645f159c68ba12e9.tar.xz
serial: sc16is7xx: use DECLARE_BITMAP for sc16is7xx_lines bitfield
Replace the explicit sc16is7xx_lines bitfield declaration with the generic macro DECLARE_BITMAP() to reserve just enough memory to contain all required bits. This also improves code self-documentation by showing the maximum number of bits required. This conversion now makes sc16is7xx_lines an array, so drop the "&" before sc16is7xx_lines in all bit access functions. Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com> Link: https://lore.kernel.org/r/20231221231823.2327894-7-hugo@hugovil.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions