diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2021-07-09 14:52:16 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2021-07-09 15:33:39 -0300 |
commit | e2c18168c373c92de476b5592807169941a153f5 (patch) | |
tree | 8317a0670f8b5bbb5fd8b7d96dcbc7e6b2dba783 /crypto/ecdh.c | |
parent | 3fd35de1686bf809431c5f0137de8eee5a2811d6 (diff) |
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 <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Shunsuke Nakamura <nakamura.shun@fujitsu.com>
Link: http://lore.kernel.org/lkml/YOiOA5zOtVH9IBbE@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'crypto/ecdh.c')
0 files changed, 0 insertions, 0 deletions