From patchwork Fri Mar 10 16:07:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Huth X-Patchwork-Id: 6414 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp960002wrd; Fri, 10 Mar 2023 08:13:33 -0800 (PST) X-Google-Smtp-Source: AK7set9Xh6chs35vMcsooGD0NE+7i6U80giWua8ssQzowfgQkr8zm1ELls22ocWAUGMh3bhpCVpP X-Received: by 2002:a05:6a20:3d82:b0:cd:1808:87c7 with SMTP id s2-20020a056a203d8200b000cd180887c7mr29179742pzi.15.1678464813464; Fri, 10 Mar 2023 08:13:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678464813; cv=none; d=google.com; s=arc-20160816; b=I5KUSm+97EU0GFjHRxPl12MFkigoTZFiEc6JwrsR8jJg1Myw7/qLz/9CdWANZgzvgT BOsh4G3DLuYis2506DIpdkXA28uewUgK2qMW2uHXJApqLWgPzjZeRhIEEtNech59V7CA 4F1cZXESs1S9+hcUaCTOfgZWl7P56mOu5ZSNWTKczpplFWO/fKSrjO1g4ZO2CXweN6mA hknSFDMmPBO20mG23z/fjVh6JGPuSx/j3jsf11KQYtDKIUzxuJvZg7e5CJPU+5Tg1EvB Nbmshg7F+1Q1je4+zW+ts9UULjP9vBumc3Eoep1HtJsxAYpRnwnnM7/ahbr3VJtTO4PX VFXQ== 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=rFrEXheoagyGuGhHvjwBBfDFiECGzjLiqrbLv4R0rvY=; b=qU/6pX4oIwCJJ37zt5jzZ1/j/Wf6aGA0xQNN2HGoxS7ukZeAplmnyFJGgLflabBv4x XwiY4hBu5Ktz9picZ4yKbQ5yPQm5gkeIHazjjHKUxJViQJUIH9NC0nTEGx1lXJwBql9h s8OoTbUSe4B8HrOD3FQhRJq7EMbTa9QDcmPT6LUcXik1ucsHa4ZuOL+mVcEsmxbizPCl EV9KZRaprGFdcYRf483Py1gbA2OOP8JRGr2bRZlC2D2odeMGcoRJiUe1aGaksS8wxzLv MvxwHTVDILNCiMD4YTFaCYrmQdur2ML13CcnqRGE51IhrTeqrF5w+TnAM/mNbio0hAaO 5zOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XPEbl9vC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t4-20020a632d04000000b005002c935408si133816pgt.292.2023.03.10.08.13.12; Fri, 10 Mar 2023 08:13:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XPEbl9vC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231637AbjCJQMe (ORCPT + 99 others); Fri, 10 Mar 2023 11:12:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231553AbjCJQMI (ORCPT ); Fri, 10 Mar 2023 11:12:08 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B7FEBA2F03 for ; Fri, 10 Mar 2023 08:08:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1678464485; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=rFrEXheoagyGuGhHvjwBBfDFiECGzjLiqrbLv4R0rvY=; b=XPEbl9vCWwFdDQUDjvRAptlGPRVWgicVEisQXZy7NAnESBmr/RUp5nqbAL3Q4YmSC5ib1v ZydC/OtnrypGie+XT3fziTUIPOHVjQIX7WdQ704wUezpJT+s2sEpSkdMYDT+JqNzLhDDZo TvkhA+K14k8LwVjBbRMiQZrEwK7uuVw= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-262-1qJTywyZPHettNgAt-TBhg-1; Fri, 10 Mar 2023 11:08:03 -0500 X-MC-Unique: 1qJTywyZPHettNgAt-TBhg-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 08D53100F909; Fri, 10 Mar 2023 16:08:02 +0000 (UTC) Received: from thuth.com (unknown [10.45.224.202]) by smtp.corp.redhat.com (Postfix) with ESMTP id 89FD3492B00; Fri, 10 Mar 2023 16:07:59 +0000 (UTC) From: Thomas Huth To: linux-kernel@vger.kernel.org, Arnd Bergmann Cc: linux-arch@vger.kernel.org, Chas Williams <3chas3@gmail.com>, Palmer Dabbelt , linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-atm-general@lists.sourceforge.net, netdev@vger.kernel.org, Christoph Hellwig Subject: [PATCH v2 0/5] Remove #ifdef CONFIG_* from uapi headers (2023 edition) Date: Fri, 10 Mar 2023 17:07:52 +0100 Message-Id: <20230310160757.199253-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759997920173789217?= X-GMAIL-MSGID: =?utf-8?q?1759997920173789217?= uapi headers should not use the kernel-internal CONFIG switches. Palmer Dabbelt sent some patches to clean this up a couple of years ago, but unfortunately some of those patches never got merged. So here's a rebased version of those patches - since they are rather trivial, I hope it's OK for everybody if they could go through Arnd's "generic include/asm header files" branch. v2: - Added Reviewed-bys from v1 - Changed the CONFIG_CDROM_PKTCDVD_WCACHE patch according to Christoph's suggestion - Added final patch to clean the list in scripts/headers_install.sh Palmer Dabbelt (3): Move COMPAT_ATM_ADDPARTY to net/atm/svc.c Move ep_take_care_of_epollwakeup() to fs/eventpoll.c Move bp_type_idx to include/linux/hw_breakpoint.h Thomas Huth (2): pktcdvd: Remove CONFIG_CDROM_PKTCDVD_WCACHE from uapi header scripts: Update the CONFIG_* ignore list in headers_install.sh drivers/block/pktcdvd.c | 13 +++++++++---- fs/eventpoll.c | 13 +++++++++++++ include/linux/hw_breakpoint.h | 10 ++++++++++ include/uapi/linux/atmdev.h | 4 ---- include/uapi/linux/eventpoll.h | 12 ------------ include/uapi/linux/hw_breakpoint.h | 10 ---------- include/uapi/linux/pktcdvd.h | 11 ----------- net/atm/svc.c | 5 +++++ scripts/headers_install.sh | 4 ---- tools/include/uapi/linux/hw_breakpoint.h | 10 ---------- 10 files changed, 37 insertions(+), 55 deletions(-)