aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-ti.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2021-07-09 17:52:16 +0000
committerArnaldo Carvalho de Melo <[email protected]>2021-07-09 18:33:39 +0000
commite2c18168c373c92de476b5592807169941a153f5 (patch)
tree8317a0670f8b5bbb5fd8b7d96dcbc7e6b2dba783 /drivers/usb/cdns3/cdns3-ti.c
parentlibperf: Add group support to perf_evsel__open() (diff)
downloadkernel-e2c18168c373c92de476b5592807169941a153f5.tar.gz
kernel-e2c18168c373c92de476b5592807169941a153f5.zip
libperf: Remove BUG_ON() from library code in get_group_fd()
We shouldn't just panic, return a value that doesn't clash with what perf_evsel__open() was already returning in case of error, i.e. errno when sys_perf_event_open() fails. Acked-by: Jiri Olsa <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Michael Petlan <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Shunsuke Nakamura <[email protected]> Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions