aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorJulia Lawall <[email protected]>2014-01-01 13:07:00 +0000
committerJonathan Cameron <[email protected]>2014-01-01 12:19:17 +0000
commite9ed104de68c345c9a827225e93c74c6894613a9 (patch)
tree14f5bfdfbcc0a9b389cd1a8b22cf54462ba74320 /tools/perf/util/scripting-engines/trace-event-python.c
parent83d5f3246fc05a629278240c09688fd9960b97db (diff)
staging:iio:impedance:ad5933: correct error check
iio_kfifo_allocate returns NULL in case of error. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ expression *x; identifier f; statement S1,S2; @@ *x = f(...); if (x) { <+... when != if (...) S1 else S2 -ENOMEM ...+> } // </smpl> Signed-off-by: Julia Lawall <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]> cc: [email protected]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions