Received: by 10.223.176.5 with SMTP id f5csp2011145wra; Sun, 4 Feb 2018 18:10:54 -0800 (PST) X-Google-Smtp-Source: AH8x2278pc8VlzBCGfgdx8YVEIyMfrPrgSbXQj8dM186JYHtMcZe02Dze8hOJiMW89JbHWzFtKZB X-Received: by 10.98.88.131 with SMTP id m125mr6567337pfb.178.1517796654208; Sun, 04 Feb 2018 18:10:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517796654; cv=none; d=google.com; s=arc-20160816; b=HiWktlQrucs2POLAaQnOrupiX5l4kKktFixu19TQCTqgrqHc03hBPpUrVHNArlDySC 6iC/K3wve5FXb0cEXiHbBnBUnxxg7k5Ucd0JaDdy98l4QD6qnBD31kk1do4NOE78GyqZ 4yZVhRhTV9ANHw4MU9UDEHyAsY6TD4eD8Rs4vso41XdstmA7ENgv4jJTYv+4OBaVU6C2 LIFAo87RHKPxW2EvWGkdyfX15sgq4GiiFjsPSKF7PIsMxN6X6mdIj8WxSJXxwvec4Lxp E3bvcfWHyydo2bND7IaBIKomFnUKS67R9cfgcWJQXrrc+VQgLBcFHYBSt0KspkLG5auP zOFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=i0GmREs8Ermz65hxwY75d4/KGdqAKtImVFg4889PR3Q=; b=GEF0bXKvGAHsMN/wUDEO+ULoXoSprfuvbYQ9BXge2Jn1dSKpRdDqxVQIzz26ukCoTj wPcH7SXrvdZvRhSjTQ9asjKTVK7xODtxoMsY7phJMoKxBUYZZjRX4jmv+2OBfLbLBXq2 FPitj5GqKoJI2KuJMBt9iNtMvjMrKSd74PLD+hWIEYK91m31FAAepwzuuhy6+P+ySW7j y2g0cy0ZSIk3Dpy3Ch1JPzxO7TBky9JjRymTVrSeZkH/UeSrrzxnI1Ie2tZuTKdVfZZ4 zY6bLw+XxFLDdT2V9nLAdNjVb+U3k5Z7t1rhZXYA53KQM40FDlzLmwFI42DvA7jFqY1d 4VqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CUE+wbF0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f10-v6si6241871plm.169.2018.02.04.18.10.39; Sun, 04 Feb 2018 18:10:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CUE+wbF0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752379AbeBECId (ORCPT + 99 others); Sun, 4 Feb 2018 21:08:33 -0500 Received: from mail-ua0-f195.google.com ([209.85.217.195]:46329 "EHLO mail-ua0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752050AbeBECIZ (ORCPT ); Sun, 4 Feb 2018 21:08:25 -0500 Received: by mail-ua0-f195.google.com with SMTP id j23so17716611uak.13; Sun, 04 Feb 2018 18:08:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=i0GmREs8Ermz65hxwY75d4/KGdqAKtImVFg4889PR3Q=; b=CUE+wbF0qGDLRd8ienD014HWXILpHxrx7gZudsNxdIzeH4xeeypfWFunCpH81oU6hM HzrQc6n0xv0WuTd9s6YQRnSXND/o/mzrYLS5asVOpjk34SuDmIFIFMDMctrTbfRCQKit /apoTm0r2LgZwT7FhoBEqUf6w5s+ygdVixMZJPz95PUhf4xVknzR+nl1uuh4IKGM2/Pa kEf5l3DavND/8nY7LBUVLWSESRw9F3vawchNMt4xfIaEtBvljbfK2Ujd64X7Mlka++wv yx6ScpNSV91IcdXcohrpbPyq4tywiH0zJ1O7kvSx1oe+3wkzMXGv8OMK/cVPckx0DBUO v5zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=i0GmREs8Ermz65hxwY75d4/KGdqAKtImVFg4889PR3Q=; b=L6FNYn1bEnA7k9j09qL7M7a8wtkz0Z/7vyp/GdpGYqdwR2V9AHb/1xrES9Md31d9Mp fLvDVGB8OjpnVPPiCEgHV9Q9cAFVQ9+HHO2UgTi8yY1D2ab+ZDQ+QkluV++ctynV5sq6 04JvpjX+zMcNGdckpBbku++yQiRNhjersPnaB67d3uzJfOBDB0dtQ52NIjv1grX5OHao pg1SvRzlNzDnQeWQSWULdcothS7HrvtF3JrzSlWFwTseC8mWC4r70dfukA1AN+r5QeGr okczepObHvR9QxtxmMOxe67GOHgb1tieGvbtqMNoOggJ2HcK02UypTAK2AobFAeYf/aX CD/w== X-Gm-Message-State: AKwxytd7US8f9pFotFEIIqxqf6pgLRja5gUNvw02sUIw1dUeh5XgMa2C mto/sGPF8Ttg73QFQV/Da1JCB4lR6ELUj2EqqN7l9+q2muY= X-Received: by 10.176.80.101 with SMTP id z34mr39361877uaz.188.1517796504782; Sun, 04 Feb 2018 18:08:24 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.70.21 with HTTP; Sun, 4 Feb 2018 18:08:24 -0800 (PST) In-Reply-To: <20180205012146.23981-1-ulfalizer@gmail.com> References: <20180205012146.23981-1-ulfalizer@gmail.com> From: Ulf Magnusson Date: Mon, 5 Feb 2018 03:08:24 +0100 Message-ID: Subject: Re: [PATCH 00/20] Remove references to undefined symbols and fix two potential bugs To: Linux Kernel Mailing List , perex@perex.cz, tiwai@suse.com, robert.jarzmik@free.fr, broonie@kernel.org, alsa-devel@alsa-project.org Cc: Linux Kbuild mailing list , tfiga@chromium.org, paul.burton@mips.com, Marek Szyprowski , Hans-Christian Noren Egtvedt , Linus Walleij , vgupta@synopsys.com, mgorman@techsingularity.net, hch@lst.de, mina86@mina86.com, robh@kernel.org, sboyd@codeaurora.org, paulus@ozlabs.org, will.deacon@arm.com, Tony Lindgren , Nicholas Piggin , Masahiro Yamada , Ulf Magnusson , Palmer Dabbelt , Albert Ou , linux-riscv@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 5, 2018 at 2:21 AM, Ulf Magnusson 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