Skip to content
Commit 8bd0af31 authored by Nathan Lynch's avatar Nathan Lynch Committed by Jakub Kicinski
Browse files

lib: packing: Include necessary headers



packing.h uses ARRAY_SIZE(), BUILD_BUG_ON_MSG(), min(), max(), and
sizeof_field() without including the headers where they are defined,
potentially causing build failures.

Fix this in packing.h and sort the result.

Signed-off-by: default avatarNathan Lynch <nathan.lynch@amd.com>
Reviewed-by: default avatarVladimir Oltean <olteanv@gmail.com>
Link: https://patch.msgid.link/20250624-packing-includes-v1-1-c23c81fab508@amd.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 4b70e2a0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment