aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJulia Lawall <[email protected]>2009-12-09 14:23:32 +0100
committerGreg Kroah-Hartman <[email protected]>2009-12-23 11:34:10 -0800
commitff3b968ceeb73c037cf4759d21923943970f9a7a (patch)
treef45c5dbe56edaaba3a32c4a479910d721d25cbd9 /tools/perf/scripts/python
parentda307123c621b01cce147a4be313d8a754674f63 (diff)
USB: gadget: Use ERR_PTR/IS_ERR
Use ERR_PTR and IS_ERR rather than mixing integers and pointers. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ expression *E; @@ * E < 0 // </smpl> Signed-off-by: Julia Lawall <[email protected]> Acked-by: David Brownell <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions