diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2021-07-09 17:52:16 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2021-07-09 18:33:39 +0000 |
| commit | e2c18168c373c92de476b5592807169941a153f5 (patch) | |
| tree | 8317a0670f8b5bbb5fd8b7d96dcbc7e6b2dba783 /drivers/fpga/fpga-bridge.c | |
| parent | libperf: Add group support to perf_evsel__open() (diff) | |
| download | kernel-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/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions
