diff options
| author | Chunfeng Yun <[email protected]> | 2021-05-07 10:11:24 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-05-10 16:21:48 +0200 |
| commit | 40ddb76ba0baaa7d62ab563be56c5fa38ec649c7 (patch) | |
| tree | 2939fbf2328d6c16eb7a0135b35b4231407bf137 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 3c5e0d0e9da1b6172eca9f38f67263789d938d25 (diff) | |
usb: xhci-mtk: use bitfield instead of bool
Use bitfield instead of bool in struct
Refer to coding-style.rst 17) Using bool:
"If a structure has many true/false values, consider consolidating
them into a bitfield with 1 bit members, or using an appropriate
fixed width type, such as u8."
Signed-off-by: Chunfeng Yun <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions