Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp2552697imn; Tue, 2 Aug 2022 07:19:38 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tfVIey9mTyj11EDZfomuIzU2ZG7SSz1STjV85Sj3dNHTmpk/n8oRpEwiWW3aO9TYKu00Im X-Received: by 2002:a05:6402:2405:b0:43a:86c6:862 with SMTP id t5-20020a056402240500b0043a86c60862mr21224808eda.210.1659449978165; Tue, 02 Aug 2022 07:19:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659449978; cv=none; d=google.com; s=arc-20160816; b=wa/IZIIWLf2Pt5zRY70DGiAQaLSO8Ba6Xl5uXRAiXQ9bRUxSV3bGz2Icywr5KcWcEd 8+B9qsGevjDjQkxtgbRtMDubyrFNGRhve5koVcNIi4MLw6BjO+n1xfXhOYny+asA26Kw sTKxdwDE9SqlJQ+8cQSNh649TWpMnRReLSoxi/r/x5iSIcKLu+6Mohc7qtlUSmdG+F6b bznzJJ+3DD6c/nQu33RF/NKi17Otx/TnqIOk/+2RpdRqBihGddiS13CaCTqEewLaT3X/ gG5y2B/LZuYnQD+vo+TGHQ3ltXp1POe/gsdXaT4X9WnGE7EqixnLo7dsBEFP+hb+G4jC xGaQ== 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-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=sZ3/kWybhRUeUYiDUy3QyK99aiXBz4GiE20C1HxCAAY=; b=mEETc0S/TvRExJgQ3GB1+0PoycjKUvCFx2qRMVcNgyeHTGTOzZZf9SgumyPPr51CCh 6RaV8Xyxpmu5ijmOKtvQvKt+6bDZDYhsas3YuMvjosyV9HtgzNJos3J+aWR6hlCha6uX p38PAO+K3Ylm1BYXk/7UTPMRlDSMO5vMjhSiOa+Ijjnn4dQrZ7MB1IGFrmQe1YzdpE5m 0/twyFEzPgLIvoooAVJmn52oX+EUc3vj+yS4IktYaNRJ0udH9+gj+0sGMb4CmhFKS1jS fcK62X99TFihsgM17028PxfsfUGtj/SUfqaal+a9z7ogype3RUVaKhVSRMrxCmToYIo2 ayFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@yadro.com header.s=mta-01 header.b=Oy+GdHXe; 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=yadro.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nc37-20020a1709071c2500b00708f4d9dbdbsi13449280ejc.79.2022.08.02.07.19.12; Tue, 02 Aug 2022 07:19:38 -0700 (PDT) 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=@yadro.com header.s=mta-01 header.b=Oy+GdHXe; 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=yadro.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237215AbiHBOIH (ORCPT + 99 others); Tue, 2 Aug 2022 10:08:07 -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) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS 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 > +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?