From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F327AC19F2C for ; Tue, 2 Aug 2022 14:08:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237220AbiHBOIJ (ORCPT ); Tue, 2 Aug 2022 10:08:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37530 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237197AbiHBOIF (ORCPT ); Tue, 2 Aug 2022 10:08:05 -0400 Received: from mta-01.yadro.com (mta-02.yadro.com [89.207.88.252]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B756D29820; Tue, 2 Aug 2022 07:08:04 -0700 (PDT) Received: from localhost (unknown [127.0.0.1]) by mta-01.yadro.com (Postfix) with ESMTP id DBE8040888; Tue, 2 Aug 2022 14:08:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yadro.com; h= in-reply-to:content-disposition:content-type:content-type :mime-version:message-id:subject:subject:from:from:date:date :received:received:received:received; s=mta-01; t=1659449280; x= 1661263681; bh=8KhPfch9J7h2naik4dg4WS1DAhTDrtuGEqDEDTTZIds=; b=O y+GdHXelDTvgQN6jYrmyahCacfCwh6k1GCvXWWfOAK0LaNPqVFD0ly9iGKcxZ7sy hpcY5z5lgx5Nyp2bjvfaec2z0p0tTtFjrxSisF86losphuFBRJ7u2ZTf3VmFjfWM xm0J1gjaJ8GNTjuFxwEjDzUPEvupPVw1xd6AUfQJ2A= X-Virus-Scanned: amavisd-new at yadro.com Received: from mta-01.yadro.com ([127.0.0.1]) by localhost (mta-01.yadro.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ssrL5wjlEuGi; Tue, 2 Aug 2022 17:08:00 +0300 (MSK) Received: from T-EXCH-02.corp.yadro.com (t-exch-02.corp.yadro.com [172.17.10.102]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mta-01.yadro.com (Postfix) with ESMTPS id 7E09D41240; Tue, 2 Aug 2022 17:07:58 +0300 (MSK) Received: from T-EXCH-09.corp.yadro.com (172.17.11.59) by T-EXCH-02.corp.yadro.com (172.17.10.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.669.32; Tue, 2 Aug 2022 17:07:58 +0300 Received: from yadro.com (10.178.118.226) by T-EXCH-09.corp.yadro.com (172.17.11.59) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.1118.9; Tue, 2 Aug 2022 17:07:57 +0300 Date: Tue, 2 Aug 2022 17:07:56 +0300 From: Konstantin Shelekhin To: CC: , Subject: Re: [PATCH v8 28/31] samples: add Rust examples Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20220802015052.10452-29-ojeda@kernel.org> X-Originating-IP: [10.178.118.226] X-ClientProxiedBy: T-EXCH-01.corp.yadro.com (172.17.10.101) To T-EXCH-09.corp.yadro.com (172.17.11.59) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > +module! { > + type: RustSemaphore, > + name: b"rust_semaphore", > + author: b"Rust for Linux Contributors", > + description: b"Rust semaphore sample", > + license: b"GPL", > +} A minor neat, but ain't it possible to use &str here in order to drop this ugly binary string prefix?