aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorStafford Horne <[email protected]>2017-01-12 00:16:05 +0900
committerShuah Khan <[email protected]>2017-01-19 10:30:34 -0700
commitaff985fd07cf785fbd1544194f8fae08333e523e (patch)
treee0eac4aad5df475e6ffe743abca8a48e0eb0ac85 /scripts/gdb/linux/tasks.py
parent4da39ceb269cee9f96815a54f97931a7e59f9e7f (diff)
selftests/intel_pstate: Fix warning on loop index overflow
The build was showing the warning: aperf.c:60:27: warning: iteration 2147483647 invokes undefined behavior [-Waggressive-loop-optimizations] for (i=0; i<0x8fffffff; i++) { This change sets i, cpu and fd to unsigned int as they should not need to be signed. Cc: Prarit Bhargava <[email protected]> Signed-off-by: Stafford Horne <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions