diff options
author | Ilpo Järvinen <[email protected]> | 2023-09-19 15:56:46 +0300 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2023-10-17 20:10:31 -0500 |
commit | d1f9b39da4a5347150246871325190018cda8cb3 (patch) | |
tree | a34c1e3cb38fa7ae51f6e4925c43b0976baa6cd3 /tools/perf/util/trace-event-scripting.c | |
parent | 408599ec561ad5862cda4f107626009f6fa97a74 (diff) |
PCI: Use FIELD_GET() to extract Link Width
Use FIELD_GET() to extract PCIe Negotiated and Maximum Link Width fields
instead of custom masking and shifting.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ilpo Järvinen <[email protected]>
[bhelgaas: drop duplicate include of <linux/bitfield.h>]
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions