mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
tools lib traceevent: Avoid comparisions between signed/unsigned
Fixing this warning-as-error on f14 32-bit: tools/lib/traceevent/event-parse.c:5564:17: error: comparison between signed and unsigned integer expressions tools/lib/traceevent/event-parse.c:5586:17: error: comparison between signed and unsigned integer expressions Cc: David Ahern <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Cc: Steven Rostedt <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
This commit is contained in:
parent
ca383a4df7
commit
8a38cce4c9
1 changed files with 2 additions and 2 deletions
|
|
@ -5561,7 +5561,7 @@ void pevent_free(struct pevent *pevent)
|
|||
}
|
||||
|
||||
if (pevent->func_map) {
|
||||
for (i = 0; i < pevent->func_count; i++) {
|
||||
for (i = 0; i < (int)pevent->func_count; i++) {
|
||||
free(pevent->func_map[i].func);
|
||||
free(pevent->func_map[i].mod);
|
||||
}
|
||||
|
|
@ -5583,7 +5583,7 @@ void pevent_free(struct pevent *pevent)
|
|||
}
|
||||
|
||||
if (pevent->printk_map) {
|
||||
for (i = 0; i < pevent->printk_count; i++)
|
||||
for (i = 0; i < (int)pevent->printk_count; i++)
|
||||
free(pevent->printk_map[i].printk);
|
||||
free(pevent->printk_map);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue