Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5819059rwb; Mon, 14 Nov 2022 09:53:23 -0800 (PST) X-Google-Smtp-Source: AA0mqf6wZZ+TQcgT+a4yz7ZdetHNd/7jIxF9KTEJc2qNRG9wljP3EKAOWmGgJ5Ave28V4OPIXGCn X-Received: by 2002:a65:490d:0:b0:476:aad3:90df with SMTP id p13-20020a65490d000000b00476aad390dfmr398599pgs.159.1668448402836; Mon, 14 Nov 2022 09:53:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668448402; cv=none; d=google.com; s=arc-20160816; b=hbgL1UCcF0291c/HeHGlZ149sX8YrxXDbofWQioja3h2lz3QtgwjxHVsC974BodB82 zW4Jp+jryeI+6+NaaUx2qbwsuk4/hwDqJas9noLZzVKrksW8q7X789eTPj7T4Y5JyT02 eKN8xqqcVYpXCf5sTa3AZXGc/GKUWUu5pnZiBstV+Jg3Lm3IoVo/QwaCGJRY1l6iN3dA xvcQrmGXulibHLZ42lzBLqJY9/Z5RatF8whJAJ9R+XLuZV97glIEh+laclgOsvvklTi+ jBYVVazXJ9FTPzg4KxQdT488K6ebqtdjFaRIceedRvlEB/WTvAUFLNGJydiysMzCOUgz n7Sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Rk/31HBoHkJxXf6djtc/uU3Q17y+7Ai7L4MxYQ2v+II=; b=BxptPLv+LBj/QYyhWm/+0z4E3wzErJ1Lwzv0JWXN7UM0T1riV0StU1yzng0fGIxes8 jgGNzst2MfH17wYq8i24K+35V9atn+kKD5cEtQAyaVGKsVywbOhGEOziVazi4PUXdt5y EFxpBSfs88agtCLDdEIcglzHnhajkYH6IEtWisa00QC6GjxGPd415gkQhIiS9fW47fvA zA8WMuhI4s9QsfFe7nmdVh5vwlVgAXDXFO+fcd8flLJCnVg+PQr3CMUejMn/tAaQrlG5 vu1lj6wPyfARt4PLaUeTONtoNFwyMwbJWHhyh2GsMnPE152460cfOe03Al+N+iKn54aX W4rw== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a3-20020a170902ecc300b00178431e09bdsi11217468plh.230.2022.11.14.09.53.10; Mon, 14 Nov 2022 09:53:22 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237230AbiKNRZn (ORCPT + 88 others); Mon, 14 Nov 2022 12:25:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237571AbiKNRZa (ORCPT ); Mon, 14 Nov 2022 12:25:30 -0500 Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BB33FEC; Mon, 14 Nov 2022 09:25:29 -0800 (PST) Received: by mail-wm1-f41.google.com with SMTP id m7-20020a05600c090700b003cf8a105d9eso8382523wmp.5; Mon, 14 Nov 2022 09:25:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Rk/31HBoHkJxXf6djtc/uU3Q17y+7Ai7L4MxYQ2v+II=; b=g8mZnZPo6BMZp/rO2sSmm7nno6qdY04agupGdzm1RfJnCQR1mOfnVEIzqTzlCCvGcc yDVZZHbTgr0gN0PygihzscJS53GmE/rcHshrFn49iCBIzZ5ahRLZzTKQu0VnTKBTRmJ4 NT6i75a0Nv8uZkzOVUPu/sVGEuRcO6fvSRPMarnMbyAcjVPYprGcfjV9fKjQBLXdN0J7 CGV/d39/uXFq9y/8TidkN9JKzGTNUJapBojGNMub8/vV0L1qwFfQPnbSzqRyUMmKRvl7 5j+l9A2ifT8FSEteJCLIqC20SdhAuV5sqbTxAqHi/YyYzE6d2BSmJ2vX4OxhdSg1G2xd 0xaw== X-Gm-Message-State: ANoB5pmjFWRWof+sndrR0PRAB1d9xXA1orupo17xTu+AKoXZdxg3AFqn C5cMwWS+em7vyULZlPkCb28= X-Received: by 2002:a05:600c:818:b0:3cf:54f4:eea with SMTP id k24-20020a05600c081800b003cf54f40eeamr8933017wmp.105.1668446728117; Mon, 14 Nov 2022 09:25:28 -0800 (PST) Received: from liuwe-devbox-debian-v2 ([51.145.34.42]) by smtp.gmail.com with ESMTPSA id by7-20020a056000098700b002368a6deaf8sm10265378wrb.57.2022.11.14.09.25.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Nov 2022 09:25:27 -0800 (PST) Date: Mon, 14 Nov 2022 17:25:25 +0000 From: Wei Liu To: Miguel Ojeda Cc: Wei Liu , Miguel Ojeda , Wedson Almeida Filho , Alex Gaynor , Boqun Feng , Gary Guo , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, patches@lists.linux.dev Subject: Re: [PATCH v1 07/28] rust: macros: take string literals in `module!` Message-ID: References: <20221110164152.26136-1-ojeda@kernel.org> <20221110164152.26136-8-ojeda@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no 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 On Mon, Nov 14, 2022 at 05:46:05PM +0100, Miguel Ojeda wrote: > On Mon, Nov 14, 2022 at 3:47 PM Wei Liu wrote: > > > > What's the rationale behind allowing UTF-8? Why not stick with ASCII > > only? > > The reason is that there are already some cases on the C side. > > For authors, there are about 158 non-ASCII in the kernel tree (if I > grepped correctly), e.g.: > > MODULE_AUTHOR("漆鹏振 (Qi Pengzhen) "); > MODULE_AUTHOR("Martin Povišer "); > MODULE_AUTHOR("Jérôme Pouiller "); > MODULE_AUTHOR("Uwe Kleine-König "); > > There are also a few descriptions too, e.g.: > > MODULE_DESCRIPTION("NAND flash driver for OLPC CAFÉ chip"); > MODULE_DESCRIPTION("NHPoly1305 ε-almost-∆-universal hash function"); Okay. That's fair enough. Thanks, Wei. > > Cheers, > Miguel