summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDamien Le Moal <dlemoal@kernel.org>2026-07-06 12:27:39 +0900
committerDamien Le Moal <dlemoal@kernel.org>2026-07-18 10:08:52 +0900
commitee1badfde360e3b95289ed359b4416f0fbb66eb1 (patch)
tree45bb6d40f8d098251ac60267e7fe89a4dbee6215 /tools/perf/scripts/python
parent2a0adbb80a2f7c5d33baea981dacb8ee956b8677 (diff)
ata: libata: improve the definition of device flags
The flags field of struct ata_device has the unsigned long type. Define all the ATA_DFLAG_XXX flags using a 1UL bit shift to match this type, thus avoiding flags to become signed values (e.g. for bit 31 flag). To avoid all other values defined in the same enum as the ATA_DFLAG_XXX flags to implicitly also become unsigned long values, move the device flags definition to a separate enum. Signed-off-by: Damien Le Moal <dlemoal@kernel.org> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions