* Re: [PATCH 00/20] Remove references to undefined symbols and fix two potential bugs
[not found] <20180205012146.23981-1-ulfalizer@gmail.com>
@ 2018-02-05 2:08 ` Ulf Magnusson
2018-02-07 9:28 ` Robert Jarzmik
0 siblings, 1 reply; 5+ messages in thread
From: Ulf Magnusson @ 2018-02-05 2:08 UTC (permalink / raw)
To: Linux Kernel Mailing List, perex, tiwai, robert.jarzmik, broonie,
alsa-devel
Cc: Linux Kbuild mailing list, tfiga, paul.burton, Marek Szyprowski,
Hans-Christian Noren Egtvedt, Linus Walleij, vgupta, mgorman, hch,
mina86, robh, sboyd, paulus, will.deacon, Tony Lindgren,
Nicholas Piggin, Masahiro Yamada, Ulf Magnusson, Palmer Dabbelt,
Albert Ou, linux-riscv
On Mon, Feb 5, 2018 at 2:21 AM, Ulf Magnusson <ulfalizer@gmail.com> wrote:
> Hello,
>
> This patchset fixes most references to globally undefined symbols in Kconfig
> files, as reported by the
> https://github.com/ulfalizer/Kconfiglib/blob/master/examples/list_undefined.py
> script. I will send emails in reply to the patchset for some cases where I'm
> not sure what the proper fix is.
>
> All of the fixes are independent. I just created a patchset to track them more
> easily.
>
> Summary of changes:
>
> - Commits 1 and 2 fix what looks like potential bugs: A broken (intended)
> select of PL310_ERRATA_753970 for ARM/mvebu, and a misspelled dependency on
> PPC_PSERIES in KVM/PPC.
>
> - Commits 3-5 remove leftover AVR32 stuff.
>
> - Commits 6 and 7 remove some selects of removed symbols from riscv.
>
> - Commits 8-17 remove various references to removed symbols.
>
> - Commits 18-20 fix some (harmless) malformed defaults.
>
> Ulf Magnusson (20):
> ARM: mvebu: Fix broken PL310_ERRATA_753970 selects
> KVM: PPC: Book3S PR: Fix broken select due to misspelling
> kconfig: Remove leftover references to AVR32 symbol
> misc: atmel: Remove CPU_AT32AP700X (AVR32) reference
> rtc: at32ap700x: Remove PLATFORM_AT32AP dependency
> riscv: Remove ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE select
> riscv: Remove ARCH_WANT_OPTIONAL_GPIOLIB select
> s390/kconfig: Remove ARCH_WANTS_PROT_NUMA_PROT_NONE select
> clk: sunxi-ng: Remove SUNXI_CCU_* selects
> lib/Kconfig: Remove leftover select of GENERIC_IO
> usb: gadget: udc: Remove USB_GADGET_DUALSPEED select
> ARM: debug: Remove ARCH_MSM dep. from UNCOMPRESS_INCLUDE
> ore: Remove PNFS_OBJLAYOUT dependency
> iio: gyro: mpu3050: Remove INPUT_MPU3050 dep. from I2C
> phy: Remove SOC_EXYNOS4212 dep. from PHY_EXYNOS4X12_USB
> auxdisplay: img-ascii-lcd: Remove MIPS_SEAD3 dep.
> media: sec: Remove PLAT_S5P dependency
> iwlwifi: fix malformed CONFIG_IWLWIFI_PCIE_RTPM default
> ARC: Fix malformed ARC_EMUL_UNALIGNED default
> x86/PCI: VMD: Fix malformed default
>
> arch/arc/Kconfig | 1 -
> arch/arm/Kconfig.debug | 2 +-
> arch/arm/mach-mvebu/Kconfig | 4 ++--
> arch/powerpc/kvm/Kconfig | 2 +-
> arch/riscv/Kconfig | 2 --
> arch/s390/Kconfig | 1 -
> drivers/auxdisplay/Kconfig | 2 +-
> drivers/clk/sunxi-ng/Kconfig | 7 -------
> drivers/cpufreq/Kconfig | 10 ----------
> drivers/iio/gyro/Kconfig | 1 -
> drivers/media/platform/Kconfig | 2 +-
> drivers/misc/Kconfig | 1 -
> drivers/net/wireless/intel/iwlwifi/Kconfig | 1 -
> drivers/pci/host/Kconfig | 1 -
> drivers/phy/samsung/Kconfig | 2 +-
> drivers/pwm/Kconfig | 2 +-
> drivers/rtc/Kconfig | 2 +-
> drivers/spi/Kconfig | 2 +-
> drivers/usb/gadget/udc/Kconfig | 1 -
> drivers/video/console/Kconfig | 2 +-
> fs/exofs/Kconfig.ore | 2 +-
> lib/Kconfig | 1 -
> 22 files changed, 12 insertions(+), 39 deletions(-)
>
> --
> 2.14.1
>
The symbol AC97_BUS_NEW in sound/ac97/Kconfig selects the globally
undefined symbol AC97.
It doesn't seem to simply be a misspelling of AC97_BUS, because then
the dependencies of AC97_BUS_COMPAT would be impossible to satisfy.
Cheers,
Ulf
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 00/20] Remove references to undefined symbols and fix two potential bugs
2018-02-05 2:08 ` [PATCH 00/20] Remove references to undefined symbols and fix two potential bugs Ulf Magnusson
@ 2018-02-07 9:28 ` Robert Jarzmik
2018-02-08 23:15 ` [PATCH] ALSA: ac97: kconfig: Remove select of undefined symbol AC97 Ulf Magnusson
0 siblings, 1 reply; 5+ messages in thread
From: Robert Jarzmik @ 2018-02-07 9:28 UTC (permalink / raw)
To: Ulf Magnusson
Cc: Linux Kernel Mailing List, perex, tiwai, broonie, alsa-devel,
Linux Kbuild mailing list, tfiga, paul.burton, Marek Szyprowski,
Hans-Christian Noren Egtvedt, Linus Walleij, vgupta, mgorman, hch,
mina86, robh, sboyd, paulus, will.deacon, Tony Lindgren,
Nicholas Piggin, Masahiro Yamada, Palmer Dabbelt, Albert Ou,
linux-riscv
Ulf Magnusson <ulfalizer@gmail.com> writes:
> The symbol AC97_BUS_NEW in sound/ac97/Kconfig selects the globally
> undefined symbol AC97.
>
> It doesn't seem to simply be a misspelling of AC97_BUS, because then
> the dependencies of AC97_BUS_COMPAT would be impossible to satisfy.
You're correct.
I don't know what happened to me when coding this, but you can safely remove
this useless select statement.
Cheers.
--
Robert
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH] ALSA: ac97: kconfig: Remove select of undefined symbol AC97
2018-02-07 9:28 ` Robert Jarzmik
@ 2018-02-08 23:15 ` Ulf Magnusson
2018-02-08 23:20 ` Ulf Magnusson
0 siblings, 1 reply; 5+ messages in thread
From: Ulf Magnusson @ 2018-02-08 23:15 UTC (permalink / raw)
To: Robert Jarzmik
Cc: Linux Kernel Mailing List, perex, tiwai, broonie, alsa-devel,
Linux Kbuild mailing list, tfiga, paul.burton, Marek Szyprowski,
Hans-Christian Noren Egtvedt, Linus Walleij, vgupta, mgorman, hch,
mina86, robh, sboyd, paulus, will.deacon, Tony Lindgren,
Nicholas Piggin, Masahiro Yamada, Palmer Dabbelt, Albert Ou,
linux-riscv
The AC97_BUS_NEW Kconfig symbol selects the globally undefined symbol
AC97.
Robert Jarzmik confirmed in https://lkml.org/lkml/2018/2/7/96 that the
select was put in by mistake and can be safely removed, with no other
changes required. Remove it.
Signed-off-by: Ulf Magnusson <ulfalizer@gmail.com>
---
sound/ac97/Kconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/ac97/Kconfig b/sound/ac97/Kconfig
index f8a64e15e5bf..baa5f8ef89d2 100644
--- a/sound/ac97/Kconfig
+++ b/sound/ac97/Kconfig
@@ -5,7 +5,6 @@
config AC97_BUS_NEW
tristate
- select AC97
help
This is the new AC97 bus type, successor of AC97_BUS. The ported
drivers which benefit from the AC97 automatic probing should "select"
--
2.14.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] ALSA: ac97: kconfig: Remove select of undefined symbol AC97
2018-02-08 23:15 ` [PATCH] ALSA: ac97: kconfig: Remove select of undefined symbol AC97 Ulf Magnusson
@ 2018-02-08 23:20 ` Ulf Magnusson
2018-02-12 7:17 ` Takashi Iwai
0 siblings, 1 reply; 5+ messages in thread
From: Ulf Magnusson @ 2018-02-08 23:20 UTC (permalink / raw)
To: Robert Jarzmik
Cc: Linux Kernel Mailing List, perex, tiwai, broonie, alsa-devel,
Linux Kbuild mailing list, tfiga, paul.burton, Marek Szyprowski,
Hans-Christian Noren Egtvedt, Linus Walleij, vgupta, mgorman, hch,
mina86, robh, sboyd, paulus, will.deacon, Tony Lindgren,
Nicholas Piggin, Masahiro Yamada, Palmer Dabbelt, Albert Ou,
linux-riscv
On Fri, Feb 09, 2018 at 12:15:36AM +0100, Ulf Magnusson wrote:
> The AC97_BUS_NEW Kconfig symbol selects the globally undefined symbol
> AC97.
>
> Robert Jarzmik confirmed in https://lkml.org/lkml/2018/2/7/96 that the
> select was put in by mistake and can be safely removed, with no other
> changes required. Remove it.
>
> Signed-off-by: Ulf Magnusson <ulfalizer@gmail.com>
> ---
> sound/ac97/Kconfig | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/sound/ac97/Kconfig b/sound/ac97/Kconfig
> index f8a64e15e5bf..baa5f8ef89d2 100644
> --- a/sound/ac97/Kconfig
> +++ b/sound/ac97/Kconfig
> @@ -5,7 +5,6 @@
>
> config AC97_BUS_NEW
> tristate
> - select AC97
> help
> This is the new AC97 bus type, successor of AC97_BUS. The ported
> drivers which benefit from the AC97 automatic probing should "select"
> --
> 2.14.1
>
I didn't have a particular tree in mind for this patchset by the way.
Feel free to take the patch in wherever it makes sense.
Cheers,
Ulf
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] ALSA: ac97: kconfig: Remove select of undefined symbol AC97
2018-02-08 23:20 ` Ulf Magnusson
@ 2018-02-12 7:17 ` Takashi Iwai
0 siblings, 0 replies; 5+ messages in thread
From: Takashi Iwai @ 2018-02-12 7:17 UTC (permalink / raw)
To: Ulf Magnusson
Cc: Robert Jarzmik, alsa-devel, will.deacon, Tony Lindgren, tfiga,
sboyd, Nicholas Piggin, broonie, robh, Linus Walleij, linux-riscv,
hch, mina86, paul.burton, paulus, perex,
Hans-Christian Noren Egtvedt, Marek Szyprowski, Albert Ou,
Palmer Dabbelt, Masahiro Yamada, vgupta, mgorman,
Linux Kbuild mailing list
On Fri, 09 Feb 2018 00:20:21 +0100,
Ulf Magnusson wrote:
>
> On Fri, Feb 09, 2018 at 12:15:36AM +0100, Ulf Magnusson wrote:
> > The AC97_BUS_NEW Kconfig symbol selects the globally undefined symbol
> > AC97.
> >
> > Robert Jarzmik confirmed in https://lkml.org/lkml/2018/2/7/96 that the
> > select was put in by mistake and can be safely removed, with no other
> > changes required. Remove it.
> >
> > Signed-off-by: Ulf Magnusson <ulfalizer@gmail.com>
> > ---
> > sound/ac97/Kconfig | 1 -
> > 1 file changed, 1 deletion(-)
> >
> > diff --git a/sound/ac97/Kconfig b/sound/ac97/Kconfig
> > index f8a64e15e5bf..baa5f8ef89d2 100644
> > --- a/sound/ac97/Kconfig
> > +++ b/sound/ac97/Kconfig
> > @@ -5,7 +5,6 @@
> >
> > config AC97_BUS_NEW
> > tristate
> > - select AC97
> > help
> > This is the new AC97 bus type, successor of AC97_BUS. The ported
> > drivers which benefit from the AC97 automatic probing should "select"
> > --
> > 2.14.1
> >
>
> I didn't have a particular tree in mind for this patchset by the way.
> Feel free to take the patch in wherever it makes sense.
Applied now, thanks.
Takashi
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-02-12 7:17 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20180205012146.23981-1-ulfalizer@gmail.com>
2018-02-05 2:08 ` [PATCH 00/20] Remove references to undefined symbols and fix two potential bugs Ulf Magnusson
2018-02-07 9:28 ` Robert Jarzmik
2018-02-08 23:15 ` [PATCH] ALSA: ac97: kconfig: Remove select of undefined symbol AC97 Ulf Magnusson
2018-02-08 23:20 ` Ulf Magnusson
2018-02-12 7:17 ` Takashi Iwai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox