summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/ionic/ionic_datapath.c
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2025-09-14 11:24:37 -0700
committerArnaldo Carvalho de Melo <acme@redhat.com>2025-10-02 15:02:47 -0300
commit8dc364fa484df22d301a16148d1b356931d0cbb0 (patch)
treea4ead39f5a56ce187c9a7ae480a20fef6eb42079 /drivers/infiniband/hw/ionic/ionic_datapath.c
parentde1111f91a7a681303265938c2ad32f5ec3f21b7 (diff)
libperf mmap: In user mmap rdpmc avoid undefined behavior
A shift left of a signed 64-bit s64 may overflow and result in undefined behavior caught by ubsan. Switch to a u64 instead. Signed-off-by: Ian Rogers <irogers@google.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Kan Liang <kan.liang@linux.intel.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/ionic/ionic_datapath.c')
0 files changed, 0 insertions, 0 deletions