Received: by 10.223.176.5 with SMTP id f5csp2084490wra; Sun, 4 Feb 2018 20:16:22 -0800 (PST) X-Google-Smtp-Source: AH8x224uB/7L71c9a8AW3Sc5SqHfJT9hQtuUt587ExkFxV09qOIriIz80vLu4qGTOjcaYEcC/hWq X-Received: by 10.101.91.3 with SMTP id y3mr37360744pgq.260.1517804182280; Sun, 04 Feb 2018 20:16:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517804182; cv=none; d=google.com; s=arc-20160816; b=YPDx1Sac4FYf2wu1T0QUNCLxjAPNBlFfX8AcDwR8s4/yZQlvyeYOQ5aEW04g9QTpQ+ w0efttujkeY/6vDpioEDKsI0M3eQmmsFnFsbpxkSn0iM1G+BOtMyFTQ8fz/ecQtXrvwJ rBSWZmXyv+3nT3Sa6Ky+mzQ3xdzlBN8M5t8m9cUf3mO3+kH2i+NM6hZ/O1AQX/d19CxZ 2qpa+6aoKeW4iruodU5HxC00EHKjr/i6wOsfIso9xgJ6XESrN922/Oxb6t9cqG3IRLZd wj0ziK5gI9jR1A0xD/LPr1gWeMA++y+ZQLcSRiiRIx2KL0CP2usMGS852gXx6GcHlKU9 twjg== 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=xJ1ylvCOazsZPH814GrJRhhKN8oxTHaxxD5gVKKSCkQ=; b=YYyHN0joBD+lynWWv692BpUIZVfvb0xferRkv+7xHz6ggaOrTMcXMzem72Fxqrz0Pi /l81jPGGlTb8hnQn0oEobf+i4m5ffcsiKMf+fpoz7gJmTlUUtM6D4YrISiW9mgtR+dXN NOdSsU4AOiVMv+6BrP7skhG+oBq1q4li9IYnj9K/Pb6Ed4CuQ2nm6pIxODS6VEc/K+tl 3JwF2GQFOItxxzeU7PrUDkkAeZwBmZG5pVpX6GJRmbPM3LI1a0Bti9cndgdKivBGpAq1 pZ9RBwP0lYijHrPovEPXuTKXAw08J+xgoTN3ezPQjO+kQEIUxwDvVu0Zfanx6NLDevCi LIEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QJOOf9gI; 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 j61-v6si6338658plb.108.2018.02.04.20.16.06; Sun, 04 Feb 2018 20:16:22 -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=QJOOf9gI; 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 S1752380AbeBEEPa (ORCPT + 99 others); Sun, 4 Feb 2018 23:15:30 -0500 Received: from mail-ua0-f196.google.com ([209.85.217.196]:33885 "EHLO mail-ua0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752166AbeBEEPY (ORCPT ); Sun, 4 Feb 2018 23:15:24 -0500 Received: by mail-ua0-f196.google.com with SMTP id g5so6081653uac.1; Sun, 04 Feb 2018 20:15:24 -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=xJ1ylvCOazsZPH814GrJRhhKN8oxTHaxxD5gVKKSCkQ=; b=QJOOf9gIA28HpobrPydAa0M3+3Aif7uQ6faBGFGkPsx0BDoM+VScZQC8q5uPoo+CN8 7aFbR2Xd4uE7u04qyu21G2tENkVbVQQgXlg9usO0wtkIsu/KvhD+uQHORrq5hkQxBU77 Jt5YGXls71DijoboE4qMIQZDbjIe0Qz6ovzYZQda2ZZ1yMfjqionc2Pr4Lh/ltHOpWZ5 0iUOxXuUu9pLJyUG74V2xt+GRvoaj0dlSReIzvPciCYhwKsOrFPIiG+TOStvjaX0OADg P3oZ+LgeyB9wOpZ1PBs5aHeXattmX243KYi3ntlA2jgtVi0nUFMG4rmEPCS288n3WxDE hglQ== 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=xJ1ylvCOazsZPH814GrJRhhKN8oxTHaxxD5gVKKSCkQ=; b=iKPjEQz6LUGCgLFFGC7otpaHTEnjOewWpru0FYKWnirB0VzLCxw3BpW/KuS/f02cwa 7h/XTUswuBzWdG0aSJKgR8k1g15ALrFm+Wam+Adpdm06Qay1cj21ODOjki7wlzZ811Cy OdhC6qcBnYRxGAPobtB5sqPsj5ie3hzQPpbUZkoUdzQZWGU5L1zWJZ7VZer8A/NWDvzq Dxec4ukPJx60339OGTbnJ0y+OrT1FQJxWgWbt4mqIO+DFi/HFiZ7b7PQuB0Ne4DnTQUl IosbWxj721h014OmrVDtKk4pBKjryxTF1OqGy7iwKdxt98HO1yXlkMq9aHM0Bl81218d Aghg== X-Gm-Message-State: AKwxytdxBdUnP3IzHFzxG1SLbu06zVh3lrbheX6yvjLDWhuuXJ4m+BrX B8q/FWH4cpNuBdVAJPnl4a6xDO7L3zgKSxQ/2QG/0qzjSK0= X-Received: by 10.176.10.22 with SMTP id q22mr43373490uah.89.1517804123579; Sun, 04 Feb 2018 20:15:23 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.70.21 with HTTP; Sun, 4 Feb 2018 20:15:23 -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 05:15:23 +0100 Message-ID: Subject: Re: [PATCH 00/20] Remove references to undefined symbols and fix two potential bugs To: Linux Kernel Mailing List , hch@lst.de 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, 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 > Another one that looks like a potential bug: b49efd762482 ("dma-mapping: move dma_mark_clean to dma-direct.h") selects ARCH_HAS_DMA_MARK_CLEAN for ia64 but never defines it. It's used in include/linux/dma-direct.h: #ifdef CONFIG_ARCH_HAS_DMA_MARK_CLEAN void dma_mark_clean(void *addr, size_t size); #else static inline void dma_mark_clean(void *addr, size_t size) { } #endif /* CONFIG_ARCH_HAS_DMA_MARK_CLEAN */ Cheers, Ulf