Re: Clang patches for 4.9

From: Greg Kroah-Hartman
Date: Mon Feb 25 2019 - 09:47:25 EST


On Mon, Feb 25, 2019 at 03:45:13PM +0100, Greg Kroah-Hartman wrote:
> On Sun, Feb 24, 2019 at 11:13:01PM -0700, Nathan Chancellor wrote:
> > Hi Greg and Sasha,
> >
> > Attached are three mbox files containing patches that bring the Clang
> > backports that Nick did in 4.9.139 up to date with what is currently in
> > 4.14 and mainline, as well as fix warnings that are present in the arm64
> > and x86_64 defconfigs here and in AOSP (cuttlefish_defconfig). All of
> > these warnings are fixed in 4.14 so there will be no regressions from
> > upgrading.
>
> Really? I see a number of these only showing up in much newer kernels.
> Specifically these patches:
> 1f60652dd586 ("pinctrl: max77620: Use define directive for max77620_pinconf_param values")
> a0dd6773038f ("phy: tegra: remove redundant self assignment of 'map'")
> a9903f04e0a4 ("sched/sysctl: Fix attributes of some extern declarations")
>
> from the "arm" mbox you provided. Why shouldn't the above patches go
> into 4.14.y and in some cases, also 4.19.y and 4.20.y?

Also, why are you wanting 238bcbc4e07f ("kbuild: consolidate Clang
compiler flags") to be in 4.9? You put it as the last patch in the
series, nothing depends on it, which seems odd...

greg k-h