Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp431705pxb; Wed, 6 Oct 2021 08:01:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwxgOV608xyqFIuiS/7LMXfMBhwMFKN1jp7cAfql5eoqY6hfMB++XZLb8/i0sUz8reJcMl8 X-Received: by 2002:a17:906:cc9b:: with SMTP id oq27mr25537825ejb.17.1633532502561; Wed, 06 Oct 2021 08:01:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633532502; cv=none; d=google.com; s=arc-20160816; b=GtdwpiQzfoP3x1kxLaVEP0KYJkPnK5W89/qywZPv6akNeucxrwnMavKhVkkGGILrBY yb2dCnURHgz7YNWtnQOyvUsJUgK/wsRtWwG3OpDR3wYhWO80+DVDcwJhRiXVuvdp/vZ7 dfY4qFRAd0Jc32a/GsIZoaVNEYAVkWEtXDsqtCECGNJvJU9IAz23qf0qmzogrU3/YWYi AQ8VuQUyV3OhH42oV6jWK1KEvw/q3JLBAL7yMCXtgZKA2gOgAIAEtlUihAoaAUm42yC8 m5Fgljq+01cfqMdNeKsfguf158nWSfrV1rOdwx9EIOnO3hR5FQX+LRSv8WFkkck8YwgC rFBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=YV9ztV9xa2SuX3HIxstgvWzEEnBcrdgp13MusSmPbpA=; b=dX0lSGFA8Olg2vI/+KUcYMNkmx8GRVJfjzaaLJ2TDrJ/QGMVrTaKYY5TN1WsrpYWOf DPr/EZUrnzBlQRXzPsRyiv6RlqhVt+qLHcbG2d1QEkSuWF5ToniMU8phBvnh+neXysBc MDWZl9QcmvLJdiMILU1Oq8v5FkrNuFnSv074+OHfoOHTFNWWhLbOHDG0PXopJMyGai7r WWFJHws+xl6es8PNXUaYggTMwuficbsdXQjAkBTYJXvG8WQuZrWrnZLbdmPwo16DUowz xbCkrn/UsYhUUk6SDhWV+iZj3EIZkOLQezkgeeMqffH2Ek2fLk4FfmHcrD0N1R7XgORA R0jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ikzrDcGL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l4si1095189edc.192.2021.10.06.08.01.05; Wed, 06 Oct 2021 08:01:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ikzrDcGL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239143AbhJFPBC (ORCPT + 99 others); Wed, 6 Oct 2021 11:01:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238226AbhJFPBB (ORCPT ); Wed, 6 Oct 2021 11:01:01 -0400 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F938C061746; Wed, 6 Oct 2021 07:59:09 -0700 (PDT) Received: by mail-wr1-x431.google.com with SMTP id u18so9761172wrg.5; Wed, 06 Oct 2021 07:59:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=YV9ztV9xa2SuX3HIxstgvWzEEnBcrdgp13MusSmPbpA=; b=ikzrDcGLA8Kd+BQ/z42ALgP7DgM7QpBp2X33jKpROLka6mn0oXSHZtKDBInUvuhYth vIvddKlCD+9WhI0/9Hs/Bb//zPomw2hHTHjYWkYhnSdAQLF0r7NdRUnI6xzXliYvmKrx eZORcANpDNELyeEYgEOPatkfCVtyp15mPfx+et20USafzaNrP0xTKJ9wl6q0JAAuS4NK q/3NefaWmm8NlFEVkpC7RwzyZIUQYVclm1OrhFmDLVwc+JGGQJHxsNPQgklVuSpY6hIe ToYlkiHvnJGnwfIGrUrF5N9wfONznGZfvQItOfc1ERdqnWH+KfWNGalolXQS/y5ZHJEq XmvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=YV9ztV9xa2SuX3HIxstgvWzEEnBcrdgp13MusSmPbpA=; b=65ul6DuZuYWK9RHBjjKyYc+KsY15YwJL14MDFOTlObpMqSv9D0uBaV8mBlzUUkqwEd eFP7IReGrgaH5GEwrNYAfo+QJGtJlWmZub+BTwHOfD1amG803uttotsZInCIGW5uH0nb HHge+nJFMWt6OxF7TFbePO6yARWtyfG4nFUna0PFHLF+dBJWknqOTadBUu3r+l+xKLg3 ojjjFcrADh7Gg0J2+JGU1o8X67j91Mmf5dWxLrFAuz3Ioexv5kfAMoPRkXieJ5QZilGG 5Ulelx64nLCR+47OprCmrciSfypQ7pvwGm3Da/a5ziteOuGqDR1ri0am0FmM1yDyh182 WMPQ== X-Gm-Message-State: AOAM532E7E1ywjUaOwAnxB5uGfo4+thmiImYgHeJJxovJt7MWqA5TbN3 pK2gGfYuGOM08amRCYC2Hc8= X-Received: by 2002:a7b:c441:: with SMTP id l1mr10172275wmi.69.1633532347600; Wed, 06 Oct 2021 07:59:07 -0700 (PDT) Received: from DEL01237W.ebgroup.elektrobit.com (eth1-fw1-nbg6.eb.noris.de. [213.95.148.172]) by smtp.gmail.com with ESMTPSA id r205sm1886848wma.3.2021.10.06.07.59.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Oct 2021 07:59:07 -0700 (PDT) From: Lukas Bulwahn To: Arnd Bergmann , Luis Chamberlain , Palmer Dabbelt , linux-arch@vger.kernel.org Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, Lukas Bulwahn Subject: [PATCH] asm-generic: correct reference to GENERIC_LIB_DEVMEM_IS_ALLOWED Date: Wed, 6 Oct 2021 16:58:59 +0200 Message-Id: <20211006145859.9564-1-lukas.bulwahn@gmail.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit 527701eda5f1 ("lib: Add a generic version of devmem_is_allowed()") introduces the config symbol GENERIC_LIB_DEVMEM_IS_ALLOWED, but then falsely refers to CONFIG_GENERIC_DEVMEM_IS_ALLOWED (note the missing LIB in the reference) in ./include/asm-generic/io.h. Luckily, ./scripts/checkkconfigsymbols.py warns on non-existing configs: GENERIC_DEVMEM_IS_ALLOWED Referencing files: include/asm-generic/io.h Correct the name of the config to the intended one. Fixes: 527701eda5f1 ("lib: Add a generic version of devmem_is_allowed()") Signed-off-by: Lukas Bulwahn --- include/asm-generic/io.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/asm-generic/io.h b/include/asm-generic/io.h index cc7338f9e0d1..6364174504d7 100644 --- a/include/asm-generic/io.h +++ b/include/asm-generic/io.h @@ -1125,7 +1125,7 @@ static inline void memcpy_toio(volatile void __iomem *addr, const void *buffer, } #endif -#ifndef CONFIG_GENERIC_DEVMEM_IS_ALLOWED +#ifndef CONFIG_GENERIC_LIB_DEVMEM_IS_ALLOWED extern int devmem_is_allowed(unsigned long pfn); #endif -- 2.26.2