Message ID | 20230217202301.436895-1-thuth@redhat.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp53112wrn; Fri, 17 Feb 2023 12:27:18 -0800 (PST) X-Google-Smtp-Source: AK7set+s9x5cIAEJd75IZb96m5b8TC2oThLQTg1QU7EE0WXl3tKsb8kX/5SH1JZfjsS3mC3JD/xQ X-Received: by 2002:a62:1b54:0:b0:5a8:b07b:82dc with SMTP id b81-20020a621b54000000b005a8b07b82dcmr1777171pfb.0.1676665638186; Fri, 17 Feb 2023 12:27:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676665638; cv=none; d=google.com; s=arc-20160816; b=lvYhVylfscdkhmmbQKmFK/CVOmChdGszRgPG0qPw0au2Q77UWgdwujgwp1qkVzQ1fe yhaRv9qlkXxMAsFGoLruTBWgeo2Uh5vWH/WXsJJw17jghC1ZLJ+Ah+pA3VcGomK1pNwU r+Oy0LpnmsQpTeoYWl/PR4bANANFfFf3/xAIrD6uFHhemu+A2RrjvPj6nffndhz+ZN2V 0438Ehwubyl1aNNDKbnVCCM53SdyAbfpmOCDcn6dI4XCeZUpIi7nP3lzWB5jdOH4+EuV w5gms5Q8uYlS724O2y2n5aWJIipRixCLeTBN9pQlBbnlEgnOVJG7WHEr+OgCWFtx2um0 eEoQ== 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=K5ZI+v0i1F3Jsex79dfpMaH/+vxYNgDnwx9OoQIYq98=; b=uc3eDC+MpbMDXzn3hzuSoFyiQCt4EM7QdN6nUFKXZcLJSEMXekZeoDx+BR5tN81H97 9PdODCwLOZTBKk4DNKssfumfdqcd9ow9r+2jgPx+FQ+SFA98whxFJyOhk+MuyPJT/dx8 DT/J7jGX+3P8vpdUaunmo3bwAVgZud0pxtAZrjc3pZKDJaGE2AaWJxtufrE0Hv2hHMlt 5235JNrv1BJDCTqyvTiz9UGE28NZgQ6hEFnrhArEmoKwaxiZGbevXF/F5ku6ZunlLdhH lmPz+qipfaf5zCYY4WrtFwsK98NvAby62K/yfPJK+oj5EPR6QwAcO/JuqHFHfsKX9rLn 3bGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=MSnYPTG3; 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 x17-20020a056a00189100b005a8b3c6b5c1si6428104pfh.245.2023.02.17.12.27.05; Fri, 17 Feb 2023 12:27:18 -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=MSnYPTG3; 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 S229771AbjBQUYU (ORCPT <rfc822;aimixsaka@gmail.com> + 99 others); Fri, 17 Feb 2023 15:24:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229716AbjBQUYQ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 17 Feb 2023 15:24:16 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B83F061844 for <linux-kernel@vger.kernel.org>; Fri, 17 Feb 2023 12:23:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1676665401; 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=K5ZI+v0i1F3Jsex79dfpMaH/+vxYNgDnwx9OoQIYq98=; b=MSnYPTG3n1WkmsQo9UJQ9yYI0NcOe+6FhlV7gskO7tk3XVKXugEHLD19sQrFyFN4ol3PVU gp8UH6zNr/mOlEbUdJc7FJ7wGedaCldiXhybZ6oAn4axPSTC5CWnBYjY5cllHab8P2r4fo 3dd7PWv2Z5nXUUf432QfE/I4iVtEHaU= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-207-n1rRrwfrOIicTKJRtp8qxw-1; Fri, 17 Feb 2023 15:23:17 -0500 X-MC-Unique: n1rRrwfrOIicTKJRtp8qxw-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 062C11C0515F; Fri, 17 Feb 2023 20:23:17 +0000 (UTC) Received: from thuth.com (unknown [10.39.192.11]) by smtp.corp.redhat.com (Postfix) with ESMTP id 352D7C15BA0; Fri, 17 Feb 2023 20:23:15 +0000 (UTC) From: Thomas Huth <thuth@redhat.com> To: linux-kernel@vger.kernel.org, Arnd Bergmann <arnd@arndb.de> Cc: linux-arch@vger.kernel.org, Chas Williams <3chas3@gmail.com>, Palmer Dabbelt <palmer@dabbelt.com>, linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-atm-general@lists.sourceforge.net, netdev@vger.kernel.org Subject: [PATCH 0/4] Remove #ifdef CONFIG_* from uapi headers (2023 edition) Date: Fri, 17 Feb 2023 21:22:57 +0100 Message-Id: <20230217202301.436895-1-thuth@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 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=unavailable 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758111348411924828?= X-GMAIL-MSGID: =?utf-8?q?1758111348411924828?= |
Series |
Remove #ifdef CONFIG_* from uapi headers (2023 edition)
|
|
Message
Thomas Huth
Feb. 17, 2023, 8:22 p.m. UTC
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? Palmer Dabbelt (4): 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 Move USE_WCACHING to drivers/block/pktcdvd.c drivers/block/pktcdvd.c | 11 +++++++++++ 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 +++++ tools/include/uapi/linux/hw_breakpoint.h | 10 ---------- 9 files changed, 39 insertions(+), 47 deletions(-)
Comments
On Fri, Feb 17, 2023, at 21:22, Thomas Huth wrote: > 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? I just sent the pull request for the merge window an will be out of office for most of next week. The patches all look good and I provided a Reviewed-by: tag in case someone else wants to pick up some or all of them. Otherwise I can apply them when I get back. Arnd