From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 0D547302159; Wed, 10 Dec 2025 09:23:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765358587; cv=none; b=a2qXtTD7TGPfYrWGB1k0jjiyx4F3zsSppJVRomjpXUIpiSLtCywZMFRqLRKdx1Z/NsJPsfLZ/ur4Ddhwqfn5CufJ1mwjWzrZr/SpauAulrvccs33A2grqyp4S599GrFHkueI0hQyN4lGcznE9wucsMbpcxP2nc2M40U4YJ1IAxY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765358587; c=relaxed/simple; bh=Wqbff4s4GyZOnqiHaxwSXqM1T/Tp1LWJaVCaUfT7reQ=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=YQkdNGgeAc8HnEdCEyyy0p58wlpVp1qDwSUypywggLfSpL/q+Z4pMeXd0LFD5k6IQAKDk2a7iX0lZn7AZ6xbjregwSJQNmlIG6dioX69MOjqicAmj1JXGNQ3HsRdzkC5hnEZ+HVJJsF6/QuBSthLwAzv+HTSFSpojGDy4HgClYQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Ck7jynYc; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Ck7jynYc" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E55B4C4CEF1; Wed, 10 Dec 2025 09:23:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1765358586; bh=Wqbff4s4GyZOnqiHaxwSXqM1T/Tp1LWJaVCaUfT7reQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Ck7jynYcQnyLWZLEUD7PNgZSw+bdu4ssH7dPDXD9ir5pfJluO7RCNsfgN1R0lrrAY Hyhg73btUHUGRRKOozSob3Mvd3ss/VDtiwcXDQOtbWsK5rNBaBTQkOy91DCx9as0Fg CLuYoYgPJATtrxasLJmiVLqCvLT4Kh9FiDzcu8xkvQNVI+MiKCQI2R8wWsJBx8CjJt Rc7b6EziLpa4SIUuzDbRDq8BIHgoY3TPhN2DKzEXkRm1G/tT3mVyQNad1KpLGdym1b yLahrKDfelNf7P1yzt8kVt6ZU2OmLzpB0sTFXpOXBZFHziQGkddQwCOYgTF1OgsNxn WcReObqryMZaQ== Date: Wed, 10 Dec 2025 18:23:00 +0900 From: Jakub Kicinski To: david.laight.linux@gmail.com Cc: Yury Norov , Rasmus Villemoes , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Geert Uytterhoeven , Alexandre Belloni , Jonathan Cameron , Crt Mori , Richard Genoud , Andy Shevchenko , Luo Jie , Peter Zijlstra , netdev@vger.kernel.org, "David S . Miller" , Simon Horman , Mika Westerberg , Andreas Noever , Yehezkel Bernat , Nicolas Frattaroli Subject: Re: [PATCH 8/9] bitfield: Add comment block for the host/fixed endian functions Message-ID: <20251210182300.3fabcf74@kernel.org> In-Reply-To: <20251209100313.2867-9-david.laight.linux@gmail.com> References: <20251209100313.2867-1-david.laight.linux@gmail.com> <20251209100313.2867-9-david.laight.linux@gmail.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Tue, 9 Dec 2025 10:03:12 +0000 david.laight.linux@gmail.com wrote: > + * * u32 le32_get_bits(__le32 val, u32 field) extracts the contents of the > + * bitfield specified by @field in little-endian 32bit object @val and > + * converts it to host-endian. possibly also add declarations for these? So that ctags and co. sees them?