summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2016-07-16 10:04:40 +0300
committerFelipe Balbi <felipe.balbi@linux.intel.com>2016-08-11 15:09:46 +0300
commitbd610c5aa9fcc9817d2629274a27aab81aa77cec (patch)
treeb53eee9ac1dbae5c20b642047cf1d2a481556237 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent63196e989699ddffb4e3d30ca8c3567d408820f4 (diff)
downloadlinux-bd610c5aa9fcc9817d2629274a27aab81aa77cec.tar.xz
usb: gadget: uvc: Fix return value in case of error
If this memory allocation fail, we will return 0, which means success. Return -ENOMEM instead. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions