[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220405151517.29753-1-bp@alien8.de>
Date: Tue, 5 Apr 2022 17:15:06 +0200
From: Borislav Petkov <bp@...en8.de>
To: LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH 00/11] treewide: Fix a bunch of shift overflows
From: Borislav Petkov <bp@...e.de>
Hi all,
so this is the result of me trying to make allmodconfig actually build
here.
Due to some recent changes which added -fsanitize-shift to the build
options of an allmodconfig, it started failing here with an old gcc
because getting an overflow while shifting is undefined C99 behavior.
gcc warns/errors out with -Werror about this only on newer versions
where -pedantic is present while older ones do so even without it. The
whole details here:
https://lore.kernel.org/r/YkwQ6%2BtIH8GQpuct@zn.tnic
Fixing all those is trivial so please pick up at your convenience.
In order to avoid spamming people unnecessarily, I'm not CCing everyone
on each patch but only the relevant maintainers and lists.
Thx.
Borislav Petkov (11):
scsi: aacraid: Fix undefined behavior due to shift overflowing the
constant
ALSA: usb-audio: Fix undefined behavior due to shift overflowing the
constant
bnx2x: Fix undefined behavior due to shift overflowing the constant
drm/r128: Fix undefined behavior due to shift overflowing the constant
i2c: ismt: Fix undefined behavior due to shift overflowing the
constant
brcmfmac: sdio: Fix undefined behavior due to shift overflowing the
constant
usb: typec: tcpm: Fix undefined behavior due to shift overflowing the
constant
mt76: Fix undefined behavior due to shift overflowing the constant
perf/imx_ddr: Fix undefined behavior due to shift overflowing the
constant
IB/mlx5: Fix undefined behavior due to shift overflowing the constant
drm/i915: Fix undefined behavior due to shift overflowing the constant
.../gpu/drm/i915/gt/uc/abi/guc_actions_abi.h | 2 +-
.../i915/gt/uc/abi/guc_communication_ctb_abi.h | 2 +-
.../gpu/drm/i915/gt/uc/abi/guc_messages_abi.h | 2 +-
drivers/gpu/drm/i915/gt/uc/intel_guc_reg.h | 2 +-
drivers/gpu/drm/i915/i915_reg.h | 18 +++++++++---------
drivers/gpu/drm/r128/r128_drv.h | 4 ++--
drivers/i2c/busses/i2c-ismt.c | 4 ++--
.../net/ethernet/broadcom/bnx2x/bnx2x_reg.h | 2 +-
.../broadcom/brcm80211/brcmfmac/sdio.c | 2 +-
.../net/wireless/mediatek/mt76/mt76x2/pci.c | 2 +-
drivers/perf/fsl_imx8_ddr_perf.c | 2 +-
drivers/scsi/aacraid/aacraid.h | 2 +-
include/linux/mlx5/port.h | 2 +-
include/linux/usb/pd_bdo.h | 2 +-
sound/usb/usbaudio.h | 2 +-
15 files changed, 25 insertions(+), 25 deletions(-)
--
2.35.1
Powered by blists - more mailing lists