Received: by 10.223.176.5 with SMTP id f5csp2001455wra; Sun, 4 Feb 2018 17:55:09 -0800 (PST) X-Google-Smtp-Source: AH8x226/GV4bz9R3Vam3WRi/K4AIoQEePU9qKW2FyGa2DYrhpVUHymAMPx/V5uU+0Jf5XFNHPPZI X-Received: by 10.99.152.10 with SMTP id q10mr23018798pgd.212.1517795709035; Sun, 04 Feb 2018 17:55:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517795709; cv=none; d=google.com; s=arc-20160816; b=uweQMwWfH5LxdjcNQfE5oD0kDnJe8hwBT00cDtL0y5cc3h24/X95sC15dE1Je2nl8m WmabK7wr/zakNiUIxsfaFPYvEG3qEdEhQiK8CJVUYENGsedw1iS9tI3u1+iTXo/ED5ga KcDacv/xySyYXvECtIOQbnSsPnQMwYsVMV958L4Y9fBC0ytlamJ+zHfWXi9cjdxj5V+p BwjhyIJ6W6vJosLe4ahVgAldvJp7DOfFl1LwJ6z6I6xZ64iNTRc83SLO+p+AZPNnRiO3 GiW6DrS3ZmDWvrVdyQoDXPGcwrAf2jM513b1ot09Zcwz+trk33KZ5+AISezwwT5dt6pR W3wA== 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=nPxxUvGsFTzGW2eC1daT1UHlDgKpy+V0vkLnhWWskpg=; b=GU3XONkeroPe7UtX8KosCAsAhNoL05YD4wIquqJVrS41um48XUls8BkGHfv7vI4jHA YpreMKMAfbVYoBEnPxKguYgeqDYB4Nrs6cTa0bb6Rfb3aojdbF9vjgr1271cN1mPPmhX pxBoByolR8pfb9dHMtt0UmkbfXoO35c8bbq/9KsZKTCl7h9g5B6FhqeyRs+wuTNbXPFs mY+4WOQHOc5pTVtLtpcKzESgMP8V+62wWqRChlhikZY5MpUUqGLmsr4UqtgqCxrwYELY m97CRFY34292nnHv4hGaL/DIoRBfPtQJcgEzO/h20ckxYJYi20vn0wpYggJYvqy+3/Uv y1jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=EGEedCx+; 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 1-v6si2438734plh.549.2018.02.04.17.54.52; Sun, 04 Feb 2018 17:55:09 -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=EGEedCx+; 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 S1752327AbeBEBwu (ORCPT + 99 others); Sun, 4 Feb 2018 20:52:50 -0500 Received: from mail-vk0-f68.google.com ([209.85.213.68]:44262 "EHLO mail-vk0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752042AbeBEBwn (ORCPT ); Sun, 4 Feb 2018 20:52:43 -0500 Received: by mail-vk0-f68.google.com with SMTP id q62so16753143vkb.11; Sun, 04 Feb 2018 17:52:42 -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=nPxxUvGsFTzGW2eC1daT1UHlDgKpy+V0vkLnhWWskpg=; b=EGEedCx+sbXf2RkEcyiy6ZlXEi/rjAn+S/KuVKo2VbAps5PMpQqI5FEltVyp5Qm8EB KJlSsaFoBjMy1ubEW4OvV5bmkh2jxcVV4TUNjfPP3gRBTf1t13DCMmLCtEWY4eSzqRn7 /D0xICOx9M+kVjMApSi+e/VWedUOapugjNpdGJPP2le7R97k0ImODMMPaVAp/UqpzQPF utqMOcQ5/wZGqzV6L+kQUMNCWt5bMr1tRY50Ns2y0DKhFCdODbIh/WfBDq0KFhD24QaK p6qWM1d3Pb47TeNMh834zLB8HzMpZ69igW1QVgzP5JMqjO+n2FWPSjCPsdQTGdAIXH7h ihhg== 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=nPxxUvGsFTzGW2eC1daT1UHlDgKpy+V0vkLnhWWskpg=; b=ebOxJLnKb4Bi+LOkh553bCAGxycPaapBJA2NvxQHvdw6TgKN1Vk2XUEpLotIYWUtbR cOBGH6TlZVrLvfkK0z7p0DOqk16S1fvItM516nMGu88ZH2p3bBHHvf2PgXGy3SeMFdVC c2fNpA/F1fBu4tYZMySv2VvEEivQkWhB5njRoJ7x8Nb2dYsasPc4IBvF7IkAv2mg/ReI nAMMMr1LFj6mHkI56yomWQLBupLFSEWPngSXYFpMnhwU6QDqd+Ng35/E5lY3jDMYXOgH Kx814A/EE+dN/akCezcyPffTsih4p4DjspaNVZJivTGHQEOFebuK7a3+CvK4dMoG+eUt by/w== X-Gm-Message-State: AKwxytcFqHzXy7uRypxlc5j2/+7kohIj3IId/ER99D8i2tMr68DRUJdc DiVvTa0HmyQSSv9dlm86Th9WueUukF4bktwz5RgYDlUEil4= X-Received: by 10.31.57.198 with SMTP id g189mr39755700vka.141.1517795562011; Sun, 04 Feb 2018 17:52:42 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.70.21 with HTTP; Sun, 4 Feb 2018 17:52:41 -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 02:52:41 +0100 Message-ID: Subject: Re: [PATCH 00/20] Remove references to undefined symbols and fix two potential bugs To: Linux Kernel Mailing List , dhowells@redhat.com 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 > GDBSTUB in arch/mn10300/Kconfig.debug depends on the globally undefined symbol DEPRECATED, which seems to have been removed a long time ago. Here's an old reference I found: https://lwn.net/Articles/113867/ Cheers, Ulf