Skip to contentSkip to conversation

stable release patches (gcc, clang)

DISCUSSION Guenter Roeck 2 participants 2 messages May 30, 2018 – Jun 2, 2018 Stable branch

lore
Share & tools
lore
#0 lore raw

Hi Greg,

the following are some more patches for stable releases.

I collected the following clang patches from chromeos-4.14. They are not really needed to build x86_64:defconfig in v4.14.y with clang (5.0), but they do fix a couple of build warnings if the respective drivers are enabled. I'll leave it up to you if you want to apply them or not. I did make sure that defconfig and allmodconfig still build using gcc with the patches applied.

df16aaac26e9 kbuild: clang: remove crufty HOSTCFLAGS
cad9946c2a43 drm/i915: Always sanity check engine state upon idling
531beb067c61 dma-buf: remove redundant initialization of sg_table
42b5122e828a drm/amd/powerplay: Fix enum mismatch
fb239c1209bb rtlwifi: rtl8192cu: Remove variable self-assignment in rf.c
271ef65b5882 ASoC: Intel: sst: remove redundant variable dma_dev_name
d3b56c566d4b platform/chrome: cros_ec_lpc: remove redundant pointer request
0a5f41767444 kbuild: clang: disable unused variable warnings

The following patch is needed in v4.4.y to be able to build arm:footbridge_defconfig with gcc 7.3.0.

c9bd28233b6d irda: fix overly long udelay()

Thanks,
Guenter

#1 lore raw
Quoted 20 lines · Guenter Roeck

Hi Greg,

the following are some more patches for stable releases.

I collected the following clang patches from chromeos-4.14. They are not really needed to build x86_64:defconfig in v4.14.y with clang (5.0), but they do fix a couple of build warnings if the respective drivers are enabled. I'll leave it up to you if you want to apply them or not. I did make sure that defconfig and allmodconfig still build using gcc with the patches applied.

df16aaac26e9 kbuild: clang: remove crufty HOSTCFLAGS
cad9946c2a43 drm/i915: Always sanity check engine state upon idling
531beb067c61 dma-buf: remove redundant initialization of sg_table
42b5122e828a drm/amd/powerplay: Fix enum mismatch
fb239c1209bb rtlwifi: rtl8192cu: Remove variable self-assignment in rf.c
271ef65b5882 ASoC: Intel: sst: remove redundant variable dma_dev_name
d3b56c566d4b platform/chrome: cros_ec_lpc: remove redundant pointer request
0a5f41767444 kbuild: clang: disable unused variable warnings

Quoted 4 lines

The following patch is needed in v4.4.y to be able to build arm:footbridge_defconfig with gcc 7.3.0.

c9bd28233b6d irda: fix overly long udelay()

All now queued up, thanks.

greg k-h