aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorSam Ravnborg <[email protected]>2016-04-24 15:24:33 +0200
committerDavid S. Miller <[email protected]>2016-05-20 18:33:37 -0700
commit21916a4a2973ab1684e921689ef8a48a6626ac4c (patch)
tree19b28389dd9131ed2ba73816b5d6978856a96b83 /tools/perf/util/trace-event-scripting.c
parent20c698d7791420fb242a0d49b80790fb2d951ace (diff)
openprom: fix warning
Fix following warnings: openprom.c:510:2: warning: 'tmp' may be used uninitialized in this function [-Wmaybe-uninitialized] openprom.c:503:3: warning: 'str' may be used uninitialized in this function [-Wmaybe-uninitialized] openprom.c:459:8: warning: 'str' may be used uninitialized in this function [-Wmaybe-uninitialized] openprom.c:422:7: warning: 'str' may be used uninitialized in this function [-Wmaybe-uninitialized] Fixed by introducing PTR_ERR etc. This simplified the code as a nice side effect. Signed-off-by: Sam Ravnborg <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions