Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp1156447rdh; Fri, 24 Nov 2023 06:26:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IHioliywPX0Ji8QhyC3Rr3eiQv+Z8DQYkzCgGA9pLY0yvl9sGI3Z1zdoXemvDDSAUa7v7o0 X-Received: by 2002:a05:6a20:7da0:b0:180:d33d:9256 with SMTP id v32-20020a056a207da000b00180d33d9256mr3697923pzj.58.1700836008187; Fri, 24 Nov 2023 06:26:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700836008; cv=none; d=google.com; s=arc-20160816; b=jSpimlbpl8OHncx6AeJXju/81JnLh4bgy/0COQxcIalvnKNbZ+uU8+ufKBXCyie2LF 4gFJsRgBLI3YGCUmdjUJl6sAm7P5WCgmPMsdqZ9RbPs9iTqaIcuv475A0bq9emHPk+HZ i2k4lIO4KnCDlgvgQ60FM3T4p/bZAOoXiWxfPYHljgfpVJI9uyF1mpM8frJgRUX48imh GqmbYSFp0ud2dJUWs4k1RqEah2QXzJIjROr6Jymi+5JVFZlo5Xf4p4wPjrAgH/N+jGyY pAf1goK19ws6VSAFlnae3RtgmbJqzMna8cDQWOK8yJltd1jpqwZ0/w/jYL03fEDvkhpW 9K9w== 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=wYMG8jVqFyWtWDa8XYyB07LZh/3SV2hIlteL5+zeM1w=; fh=PRI/lXeLgjgxd/idLJjUwZt/W/jj8tms4WRf9mO5BM0=; b=Sdjc/hDGjOFo/2ul/a7zY7cXDzef5y0cSjPTgnNUzvsZBsCKvgvxF0uoetP/S+trRH EGPz/T6Oed0KdAZBZvbzlWyjgIsXlGO978FjlJ8fVobUTV9gFO2VeHd5PWEroZ0zSB3N qXAKKSYrXCcuT4e9uaTWRQVhXMef0oRX8mr96Ido+9SOpacf7PoGr07LdRXCMmBmI5y2 IohuhJRseUETrdqQuMoEz7VbYSg1+803RjS0Lyk6K0tLbERgWDH8eYNoFP5AgV2x9DL+ r4qae4bv5MstkI52mnIGkZs8r1SccTzuVhIRaUEKz4yoV7IjhEaCYHLiC6c+w0bXGv0Q GlNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QQn8bLdO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id r15-20020a6560cf000000b005aa644010a6si3700744pgv.205.2023.11.24.06.26.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Nov 2023 06:26:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QQn8bLdO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 7C41983CDFEC; Fri, 24 Nov 2023 06:26:45 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230104AbjKXO0V (ORCPT + 99 others); Fri, 24 Nov 2023 09:26:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229742AbjKXO0T (ORCPT ); Fri, 24 Nov 2023 09:26:19 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A3F3199B for ; Fri, 24 Nov 2023 06:26:26 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F411DC433CD; Fri, 24 Nov 2023 14:26:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700835985; bh=E7iTdKu4fn1Ymumq/Ib66iyMm8jI92wsu47IFm8eWg8=; h=From:To:Cc:Subject:Date:From; b=QQn8bLdOcSteKKI4NoxTvR1kXBkQiIFnmnQfkvqFiTC35sbPSgGlsFkbwZJGoJC6H eV67CPPIYP6ETHFZjCkemDsMvmYV0HlmNbzguszrB+bkC6JK1o306y0i6OnOu0JMHN 2bepf+TBMBQi0mO9wJ6Mf4/o249odpT0t89kCoG7j9c7AhtXjfgLpNtq8ciPHNnAPI IYtScnGAg7RUFe6o4lUv0AMzx1Oxgv93pQFxWD58u8XsCpglvAVxiU7Myw4Hcg0+4+ 6T6VuRKCHg0J+kvueF5ePAptcHH8WjxzldJmaFuUywewcW08RFKeAZr2EADTG3Dtok cWEVVIa+aixmg== From: Masahiro Yamada To: rust-for-linux@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Masahiro Yamada , Alex Gaynor , Alice Ryhl , Andreas Hindborg , Benno Lossin , =?UTF-8?q?Bj=C3=B6rn=20Roy=20Baron?= , Boqun Feng , Gary Guo , Miguel Ojeda , Wedson Almeida Filho Subject: [PATCH] rust: replace with in rust/exports.c Date: Fri, 24 Nov 2023 23:26:17 +0900 Message-Id: <20231124142617.713096-1-masahiroy@kernel.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Fri, 24 Nov 2023 06:26:45 -0800 (PST) is the right header to include for using EXPORT_SYMBOL_GPL. includes much more bloat. Signed-off-by: Masahiro Yamada --- rust/exports.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/exports.c b/rust/exports.c index 83e2a7070cae..3803c21d1403 100644 --- a/rust/exports.c +++ b/rust/exports.c @@ -11,7 +11,7 @@ * accidentally exposed. */ -#include +#include #define EXPORT_SYMBOL_RUST_GPL(sym) extern int sym; EXPORT_SYMBOL_GPL(sym) -- 2.40.1