Re: [PATCH net-next 1/8] lib: packing: create __pack() and __unpack() variants without error checking

Vladimir Oltean
2024-10-14T14:27:18Z

On Fri, Oct 11, 2024 at 11:48:29AM -0700, Jacob Keller wrote:
> From: Vladimir Oltean <vladimir.oltean@nxp.com>
>
> A future variant of the API, which works on arrays of packed_field
> structures, will make most of these checks redundant. The idea will be
> that we want to perform sanity checks only once at boot time, not once
> for every function call. So we need faster variants of pack() and
> unpack(), which assume that the input was pre-sanitized.
>
> Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
> ---

All patches with an author different than the submitter must have the
submitter sign off on them as well.

Please do not resend without some reviewer activity first on the code
generation portion from patch 3/8, though.