Received: by 10.223.176.5 with SMTP id f5csp1993662wra; Sun, 4 Feb 2018 17:41:17 -0800 (PST) X-Google-Smtp-Source: AH8x226isZeiaLeGMbkK2p/zy+HcZpIO2pWlSuKHsqpH1J1PRzAVHTCmOLpw90RFGzuTWO7X02qd X-Received: by 2002:a17:902:42c3:: with SMTP id h61-v6mr41998444pld.269.1517794877829; Sun, 04 Feb 2018 17:41:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517794877; cv=none; d=google.com; s=arc-20160816; b=Lbp3Xxrmjqpt+gnhTFwJt6FBJQBZnUybA3ecH3XHDFC8ggEX4N2MHg4gHwUkIQs485 gdP07YwxlQJv4TonScRVbF+Z1AJayJiRjD15Di5LY2oX4n3VDMHkTF+zOmojD8suUXZg NXdNOCTtfu4Dxj8nhLYzACt+g0nc1tbGo2kN9pOquNQy/ts0vAfVA+sig45eU4VVeVXo McST41mAa8UaHGNkVXv/yUSqG0TUAc3LLIbuMusg26giwSdn3RXyEoVQozLc4IzOvc+K CChbIh1CgIutA3fbJsxCVnWqvwLqRRAPpi+7u+fctEkdvluypNZatjGXs3eBOdqrd3Nr Ngcw== 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=GGNxuBwGENz7hp4b4S6lVN967bXdjz8HHXgDXfYt708=; b=Xjk7QrN4lARxfEOe+RK3R1jim0eIxB1u8OICEd5RCJVwlO0bGfRpJBgaQurGNK0La5 9aFLe5qdb4Gor5qsL4Mp+Q8YjD2zFjvYpzBsXWBXfnDnNYMxhCzNgdUfLGN/0rR1wLki jOjQHgTNqN9M4t/7d+QmB6VZm1+p7QhtPPOXPlY64mRn2VTyWUOmDbfLPTXr7m3R7Gwp HPAJMzj4KavjXfZpObUitPEPNSQ5PJ2I+rP4mZLMCzh8AxnqRkDngq8sCxTsT3+7/9Eu TknQEFuJquOgn+4umrPD9leM3AbqOysTHX6I6X3exe/HjqeYzgxo3FAmhEkl9V/TTKF7 YYdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qEscdqzC; 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 e12si3274776pgu.56.2018.02.04.17.41.03; Sun, 04 Feb 2018 17:41:17 -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=qEscdqzC; 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 S1753080AbeBEBjw (ORCPT + 99 others); Sun, 4 Feb 2018 20:39:52 -0500 Received: from mail-vk0-f67.google.com ([209.85.213.67]:43614 "EHLO mail-vk0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752823AbeBEBhp (ORCPT ); Sun, 4 Feb 2018 20:37:45 -0500 Received: by mail-vk0-f67.google.com with SMTP id x203so16726525vkx.10; Sun, 04 Feb 2018 17:37:45 -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=GGNxuBwGENz7hp4b4S6lVN967bXdjz8HHXgDXfYt708=; b=qEscdqzCSZPFYVLm9efvDjIM8gk7eSy1UOWiN9r3gr8xO3wfToc3tQnJP9CbMErsBo SPS0wT5MB7SQ7Qg9ewCokx47hMjy9TyEXaL3PFNRhdCDvJNindeHbALrgTNOy865MSfu Viv7djDDowheUqmwvUfxcdFbP4xKtxXdoCl2qY48w3R1ZjM5Q1qtQBp06gX+TQW4MoSg bxw0TfvXFkZo6sEB8M2QnOXwDciLnLE0w0BU09FBVLsBNKS8K+JYKH7BPetVOPGCOc3G 8Whhh9FdysuBZZ+3gqgjgWrgMK0u+pIPR/nkOYNvJWhF7SpnC6D1/3084DMFHCvu3wrk KKQw== 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=GGNxuBwGENz7hp4b4S6lVN967bXdjz8HHXgDXfYt708=; b=GkPRHFZYqQ1pAKI3HzH7T23z/0+DFWug+3/mBHFXFkRhbQSLzVhc2FAIG+OmXs907T Z2Pxy1aQthqr2IDauRATntuGwZVYfo63qJJRKNFBXpI9lucgqBwMWlcfsZtSkuLifNJu ri3vtM564QOpn8LViVPsu1JPjeiy3t3LpmGRBWbshK1sj9z64r/l75zfHr7Dp7dZx9Oj l72uFP3Thg3AS8PHN+VmhknED9oDXjGLXUnkLZPoUCx4sVn++WSuJKFCCqKoLXEDyTvD NeCntgMrkAzFribdPaIQPn8GbXa3o/C9wQkGIxD0BvyJ46TTOaTgswHqHSvxAqTx/F3j agaA== X-Gm-Message-State: AKwxytcjha/WFyc6GUzNciBRdWnswsOrIJK7kvJR2aLHPBgBXHkBg5OR BLJ6eh4BRSqoIx8TgQ3cAPw3c8VFGT2s4OhWN4zDhvj2MUc= X-Received: by 10.31.69.2 with SMTP id s2mr39905020vka.56.1517794664447; Sun, 04 Feb 2018 17:37:44 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.70.21 with HTTP; Sun, 4 Feb 2018 17:37:43 -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:37:43 +0100 Message-ID: Subject: Re: [PATCH 00/20] Remove references to undefined symbols and fix two potential bugs To: Linux Kernel Mailing List , Nicholas Piggin 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 , 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 > Since 05a4a9527931 ("kernel/watchdog: split up config options"), lib/Kconfig.debug references a globally undefined symbol HARDLOCK_DETECTOR_ARCH. My guess is that it was supposed to be defined alongside HARDLOCK_DETECTOR_PERF in the same file. Cheers, Ulf