From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EFA491D5CE5; Fri, 4 Apr 2025 11:00:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743764424; cv=none; b=W6o84o3Fht5BTZrtgZP9Yqr6jrfaTu36q0ITYZRSQi+TdL19oz9PoKW84ekatDOtP+6Jui9TmiBQZAkOR5QFmcuMITLO7Bg/07yBbR8tnXTXdkb6AKmOFmBUO0GFfGplzzIUMmtp9fjkOwHKLyTXAwfW2DT/kqtpc8pBiAJnn04= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743764424; c=relaxed/simple; bh=GZXn6CV49ewP1iBodmuC+IRGPTHyiw8+KpS1+6MaCFE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=BNia+AgYR1U4LiH45kSD4ne8ZF/2OO71KIHNt9ty97xLYD+hnayIlZCMXtLLeTnAAQc7t4Y9ythScVHIU4tKmWULr4B6+4v9C6zShq/OJjFP8BsH8cW32DfaiaZ1sLMp9C5BNXcsBcx8Z1gf/4NaHZ+8Lb8r6KP4xyjZCzyYqyw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=ah4cOtRl; arc=none smtp.client-ip=192.198.163.19 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="ah4cOtRl" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1743764423; x=1775300423; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=GZXn6CV49ewP1iBodmuC+IRGPTHyiw8+KpS1+6MaCFE=; b=ah4cOtRlKNX5xdHiRA4aHf4JE58C4DXYnRt11jsr1jyujTP9GhPYbGeV OIDvRU9YEuy1W6egHy9BrdqAbKqRamqbeaUSvN6XS2N2u9XwqRW1mpH7+ H7DnbBqrtvewEB8Yow+Q1W9NrQuBYzUNPqDJ3ESR1XnZ2XprXeLFJhH0D 6HMwGD2B+R7NX1dwpq2pliLRttc1QlA4yYI4+5U+739T7zob7ZtgqDFFG Iq7qHIUAOdOj8otIviYRPhW0z8viOJ9eKoxXrHNDnYKSLFH1Yx5Yd+L8A kx5dFnk5yYUTp+izZCr4qyC+vaAulxoxCh9D9vArWBrcD6L5h03NWxU+h g==; X-CSE-ConnectionGUID: IcL9Ha5ITEWjLGmAXX4vew== X-CSE-MsgGUID: e5yAFtcRRsaZu139W9dw8Q== X-IronPort-AV: E=McAfee;i="6700,10204,11393"; a="44354957" X-IronPort-AV: E=Sophos;i="6.15,188,1739865600"; d="scan'208";a="44354957" Received: from orviesa009.jf.intel.com ([10.64.159.149]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Apr 2025 04:00:22 -0700 X-CSE-ConnectionGUID: O149ibG4Rkq8PvTmtuge2Q== X-CSE-MsgGUID: o/q1jdSKTHWAorbXYOHvBg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.15,188,1739865600"; d="scan'208";a="127049530" Received: from smile.fi.intel.com ([10.237.72.58]) by orviesa009.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Apr 2025 04:00:16 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.98.2) (envelope-from ) id 1u0emS-000000096jg-3zIR; Fri, 04 Apr 2025 14:00:12 +0300 Date: Fri, 4 Apr 2025 14:00:12 +0300 From: Andy Shevchenko To: Miguel Ojeda Cc: Rob Herring , Miguel Ojeda , Remo Senekowitsch , Daniel Scally , Heikki Krogerus , Sakari Ailus , Dirk Behme , Greg Kroah-Hartman , "Rafael J. Wysocki" , Danilo Krummrich , Saravana Kannan , Alex Gaynor , Boqun Feng , Gary Guo , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron , Benno Lossin , Andreas Hindborg , Alice Ryhl , Trevor Gross , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, devicetree@vger.kernel.org, rust-for-linux@vger.kernel.org Subject: Re: [PATCH 03/10] device property: Add fwnode_property_read_int_array() Message-ID: References: <20250326171411.590681-1-remo@buenzli.dev> <20250326171411.590681-4-remo@buenzli.dev> Precedence: bulk X-Mailing-List: linux-acpi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo On Thu, Apr 03, 2025 at 10:36:40PM +0200, Miguel Ojeda wrote: > On Thu, Apr 3, 2025 at 8:48 PM Rob Herring wrote: > > > > Looks there are RUST_BINDGEN or __BINDGEN__ define which could be used > > here. Don't need a header, just wrap the declaration. No idea which > > one would be preferred as there's exactly 1 use of each. Miguel? > > If you mean bcachefs' `RUST_BINDGEN`, then I think that one comes from > bcachefs-tools, i.e. we don't define it. But is there a way to have a function that is not really exported to be used in Rust only code? -- With Best Regards, Andy Shevchenko