From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f73.google.com (mail-wm1-f73.google.com [209.85.128.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 74D23352927 for ; Mon, 16 Mar 2026 09:18:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.73 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773652709; cv=none; b=YZkAOdZDwZQcMSWO+OkeSNR9Rs96fzBLnE8zOQLbk3ZUty+lgDAkCTGvlqSfpNPkjWio5EGHoGwSIyTD10qfUz7Ip2kfBRT6Dt/EJwTYE52sxASdCjAsNUFB1r1Z75CYwcvEDk2RaTNuoGXjLF7A+8e1j7tpga1f0eaN38p+XI0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773652709; c=relaxed/simple; bh=Y/i+Kp6k0H4GN3F29K5jC+Y2S/PowNU8GApKouEwjFs=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=LP9nzAlD8j8N4GtAXpb638pZYGfgOlofBz8blUkopyOqGOd8s07qdf4Wz4JHkISZikcSXOeWYD2OhQ3s6wwHEfk7VQfcdzxX5SMhMTPQcr5NbZTmR9flrX1IIcx1LEENn5q/1Dyw2gNo8eMHi9z+IcokeFwcEYhAzl+B8vU7y4o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--aliceryhl.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=uNKmhvnU; arc=none smtp.client-ip=209.85.128.73 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--aliceryhl.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="uNKmhvnU" Received: by mail-wm1-f73.google.com with SMTP id 5b1f17b1804b1-485375aa56eso31820255e9.1 for ; Mon, 16 Mar 2026 02:18:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1773652707; x=1774257507; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=uQL4a5h5hztheILgUGktpxEkb7l9DORW+uY33oC+48Y=; b=uNKmhvnURPyD1GOvmtDDOFbIxFTmBE9jsDPe3o6YzoukCPei5x0VTuCBFEY4Ty1Wyv pOtNaicB1I0yb1cZe9FDXtIyaQ0YcLBma4tcicPqh7O+/zmHgnPJHA160muxPxcs5k93 ky8GWFlZ4JDai1y0/8o7V26WdqSQjDU+3kAs0HZW1IK0xr8R6AKNZSfZ/lACWLjTF0TA k7q/nfBqbgCOsYpSM7SzTi3nx2uq0EkP2p33tmXYDsBEhIjMNWxJnM+Lbhh+13GGqZB3 Cf+M+Qw0Q4NKmp5T8sTWRnSeaERwFb/nQxOInF5gLf/NoMVrlspTkcljJlM3EKjSqPIc H3HA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773652707; x=1774257507; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=uQL4a5h5hztheILgUGktpxEkb7l9DORW+uY33oC+48Y=; b=q1u4ZR67w3EQKsYVZ8wM1ScC9gwU7EIOa9/IcXuEbiPI9f6zaU+v7y8y8sfK0vJ5Co 2hu8eqt0Jci1jSj0zIuCRc68lRSG/61whFJjAtsDZdjzjBGqtXe2q8NKob5RV/njIpXC uAlPhAfvDanzIjXMw608ffeUKXH/bdXhOt/2DkWlfydcy8LwlmQhM2vcpdqsFzZ/n8Vt d1jPU3MvwlHW3Zt2EfuOmGpzPhwSzAyDP0Yk5vSJCv2n6J4ILP69xIg/VVq86hC/qDiO rb28WFD+r+WHS2cNAPIwwXeSgHafC+Crl4QgTvUlVzeRb680hwQmhcJEgaaiezYDaunC Qm9A== X-Forwarded-Encrypted: i=1; AJvYcCWNiSfrt+SdGDjPS19dNSR77M7ajKbq7XidGdvuX6MOQZLdWG5kklHq0K5YTc8UoJUsFYtHUq3mGZfvoEQ=@vger.kernel.org X-Gm-Message-State: AOJu0YxcxCzq0X/NkuxqJFF4uiO5b0WMVEKoMyq7tJ6JhAPR5aGdjMaL h754VmNYobeDHsZh7mwVOjghHiWNeS+Clif1D2dtU8D66N5HDHpWeU0nd69wa4gDPfoGim5GxjD aLk4g2fvZl+vnBQo7Zg== X-Received: from wmgi20.prod.google.com ([2002:a05:600c:2d94:b0:479:2d82:5535]) (user=aliceryhl job=prod-delivery.src-stubby-dispatcher) by 2002:a05:600c:3588:b0:485:5d25:81a9 with SMTP id 5b1f17b1804b1-4855d258656mr167384855e9.14.1773652706667; Mon, 16 Mar 2026 02:18:26 -0700 (PDT) Date: Mon, 16 Mar 2026 09:18:25 +0000 In-Reply-To: <20260216-rnull-v6-19-rc5-send-v1-2-de9a7af4b469@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260216-rnull-v6-19-rc5-send-v1-0-de9a7af4b469@kernel.org> <20260216-rnull-v6-19-rc5-send-v1-2-de9a7af4b469@kernel.org> Message-ID: Subject: Re: [PATCH 02/79] block: rnull: add module parameters From: Alice Ryhl To: Andreas Hindborg Cc: Boqun Feng , Jens Axboe , Miguel Ojeda , Gary Guo , "=?utf-8?B?QmrDtnJu?= Roy Baron" , Benno Lossin , Trevor Gross , Danilo Krummrich , FUJITA Tomonori , Frederic Weisbecker , Lyude Paul , Thomas Gleixner , Anna-Maria Behnsen , John Stultz , Stephen Boyd , Lorenzo Stoakes , "Liam R. Howlett" , linux-block@vger.kernel.org, rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Content-Type: text/plain; charset="utf-8" On Mon, Feb 16, 2026 at 12:34:49AM +0100, Andreas Hindborg wrote: > Module parameter support for Rust modules was merged a few releases back. > Add module parameter support to the rnull driver. > > This allows the user to control the driver either via configfs or module > parameters, just like the C counterpart. > > Please note that the rust module parameters do not support boolean values. > Flags that should have been booleans are parsed as integers and compared to > zero. Since this is uapi, you probably should support booleans here. Otherwise it'd be breaking to change this to be a boolean later. Otherwise lgtm. Alice