aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorIlpo Järvinen <[email protected]>2023-09-13 15:27:45 +0300
committerMartin K. Petersen <[email protected]>2023-09-13 21:01:59 -0400
commit5532f24951503b55b91c4efc1d0f1e7a9e0ec567 (patch)
tree7b0e7afa1ec3ee28f1d0c180490d04267c73db97 /tools/perf/scripts/python/net_dropmonitor.py
parentccc3e1363069c5955045824bb0e63c51d8873e25 (diff)
scsi: esas2r: Use FIELD_GET() to extract PCIe capability fields
Use FIELD_GET() to extract PCIe capability register fields instead of custom masking and shifting. Also remove the unnecessary cast to u8, the value in those fields always fits to u8. Signed-off-by: Ilpo Järvinen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Jonathan Cameron <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions