Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5958078rwl; Tue, 11 Apr 2023 12:25:14 -0700 (PDT) X-Google-Smtp-Source: AKy350YPVUBaBipKcZ4Tgj2vQO6vhJiEiuzJPlOXIIVsBE7ZvDzgUCeFIC2K5Hb8Hk9H56o+x0tW X-Received: by 2002:a17:903:11c9:b0:1a1:a06c:4892 with SMTP id q9-20020a17090311c900b001a1a06c4892mr23314803plh.13.1681241107365; Tue, 11 Apr 2023 12:25:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681241107; cv=none; d=google.com; s=arc-20160816; b=E+fPhAQfnFOwjDMzMZu3UF2ILaAYb5DhMwkbQLdXuJn6NSyRiS7x19QXvLwBR7sTkK 3nhVxU7bLeOrYKFJeM4juGIyDNs+y/9j5gekbjPYrmyBZXwNnwuyc3qfbqKUiENlIaBZ Z8fAtV1YjJlWUrE0wzZJSzVfJ42WzQahdFzgZGS7hQpRa16J+Z+nVisJputXR7g+qBKp mlwWrjIbca1rJreHtcakkNprAc0dkuGy5F1V189+toN6zFQun6YQRi9hquLtheGVMeDx LExYazTejJlpU9bX13gH26KObr93TXSKvZRoOTQf+IJg35kQk2Rk8CHQ3MsEhOafP9u5 OwKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=ukcprm4MtRUZ8SSk6iEMFicwVrkbDf1R8WwFeEURnh8=; b=PKrj4Tvp7vGN/vnK0YxxJ1n2OSAc9rH3bP3c+XDNOP1wqMaZr1avQmieS9NY8dj+y2 sThssYUzKmJuNuEbmfd+jEIxsBzR+9B1UcuBh2eAPhzKJStbcKPC0/NgkF7JF/8kS74L S0NL38aTluX5EYSaEyWEZ/5WYCPhCwa6YrcPV12koHoVe4i1r0+576afiak27sEImrWd gR3N1y0Xjj9KU4Eh+ph80FfM5NirrYhWm/TLYSUk/ROoIkuwKi+pM1nokpKNVfOL0Ivl vu88NY4kMwk7lRfotVA8z6BHNEu5sbT96LvU2Zj/NnjS/wnYunGq9IjgiT68nVUTCLho bUbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=hipGDRtf; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v10-20020a63f20a000000b005184398f8e0si9180273pgh.57.2023.04.11.12.24.55; Tue, 11 Apr 2023 12:25:07 -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=@gmail.com header.s=20210112 header.b=hipGDRtf; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229527AbjDKTXd (ORCPT + 99 others); Tue, 11 Apr 2023 15:23:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229503AbjDKTXc (ORCPT ); Tue, 11 Apr 2023 15:23:32 -0400 Received: from mail-yb1-xb36.google.com (mail-yb1-xb36.google.com [IPv6:2607:f8b0:4864:20::b36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7074C65AB; Tue, 11 Apr 2023 12:22:56 -0700 (PDT) Received: by mail-yb1-xb36.google.com with SMTP id y69so16261879ybe.2; Tue, 11 Apr 2023 12:22:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1681240971; x=1683832971; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=ukcprm4MtRUZ8SSk6iEMFicwVrkbDf1R8WwFeEURnh8=; b=hipGDRtfsSZLaiJPNi+pA9Ar1HO6B8FDUNQ66RZ/D0MJwP4R6DeUdH80mip6LiPXUM e7F1ltJL7D1bWOpQs1l1LI/dWu3+O0tyiFlB+iQpfx5QSUS54WRuuTXwL2XbE9EG3I6C O8hN6r2gVJjMaMcOQW832veY1oLMVF3O9FlDfu+SEZ539Q5oIeYyoMs3C9EWjD6lem86 h8pqKA+I4oFYzFBqhNmGUxMiQPffphr3tiN+/eQmKvswrpoouohiFHX5qHgkclEIdrH7 iSybXat1kWa5+bc0b4PmqZ9hiLDipD1mCutsRtBK/nagWRf/HDSwbl8Bny5xLZABTBFn 0wlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681240971; x=1683832971; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ukcprm4MtRUZ8SSk6iEMFicwVrkbDf1R8WwFeEURnh8=; b=KzUqN0FSJs3LO5ABEjcYpZ+8+DgGdQ61BEa2QKBEgA6SPivp0b/se0mcxpdd4dfIIf lZqx+bk567erkFTiqBqHLB1FUgEw58r8WniAmdarRqCBm3VbUNYYFpC2Uq7u7cMZIC0U O3NGer56huebXeze5SsZZ3OiEp/66AUORf8fHDNHovQqc2mNSLK3EpSQQaZbVqhMNMpK YStrYuvInb0FMeQI/hMm7o9Ib+8s7OYpIc2SKv76L/3F9xrxqYA7hOWJDRPVQDHRmmF3 G6JnltsI1vO88HBtH5P3M73+IOJ70ooA7e9Rsgv5jufZZ5+NP8S7MFxEqW8rO27bBP8w QyxA== X-Gm-Message-State: AAQBX9ci2XgS81OGfWD2xEBhQReG+BO+bFzvloN005STz7sg5krlFrIY jH7LNKaRNU5ZVmnSfyopzJ5assHNXPrdmrJA94M= X-Received: by 2002:a25:df88:0:b0:b8f:3647:d757 with SMTP id w130-20020a25df88000000b00b8f3647d757mr158847ybg.11.1681240971586; Tue, 11 Apr 2023 12:22:51 -0700 (PDT) MIME-Version: 1.0 References: <20230406215615.122099-1-daniel.almeida@collabora.com> <441a96cb-7dd1-0885-df64-933ebdb55e9e@selasky.org> <0ec4becd05c49e8f0bf214fbd62208ea67c2b4c3.camel@collabora.com> <6fc0a0c6-a7c9-5350-9b9e-1ea9dab568d0@selasky.org> <9f896097-8410-4d09-b614-6e792b2160f4@selasky.org> <1d50d25c-e64b-01f4-029f-8b40b46848fd@selasky.org> In-Reply-To: From: Miguel Ojeda Date: Tue, 11 Apr 2023 21:22:40 +0200 Message-ID: Subject: Re: [PATCH 0/6] Initial Rust V4L2 support To: Hans Petter Selasky Cc: Daniel Almeida , wedsonaf@gmail.com, ojeda@kernel.org, mchehab@kernel.org, hverkuil@xs4all.nl, rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, kernel@collabora.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 On Tue, Apr 11, 2023 at 5:33=E2=80=AFPM Hans Petter Selasky wrote: > > Similarly rustc may depend on an incorrectly specified ioctl() > definition, also via other libraries and static linking, that just have > to stay incorrectly defined, because it was initially incorrectly defined= . Why would a compiler depend on random ioctls? Even if it did, how is that related to the previous discussion? A compiler is just one more userspace application. Whether the kernel uses C or Rust internally has nothing to do with that. Also, I don't follow your logic. You said you cannot upgrade your toolchain (for some reason), and your argument is that the kernel keeps interfaces stable? Well, yes, that is the point and what allows you to upgrade. Moreover, what is special about `rustc` here? What about your C toolchain? > I'm trying to explain something difficult. And I'm OK that you neither > understand nor agree about my viewpoint. See my replies above. No, it is not a matter of being difficult. It is just that you have not shown how you would be prevented from upgrading a toolchain. Cheers, Miguel