aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorBreno Leitao <[email protected]>2025-07-02 10:06:33 +0000
committerJakub Kicinski <[email protected]>2025-07-08 01:52:55 +0000
commit4b52cdfcce21d3cc207a1ddb691e1f8c1fcda6fc (patch)
tree8caa8a595dde84f59cca8c80356d5270ce84f2a5 /net/unix/af_unix.c
parentMerge branch 'net-ethernet-mtk_eth_soc-improve-device-tree-handling' (diff)
downloadkernel-4b52cdfcce21d3cc207a1ddb691e1f8c1fcda6fc.tar.gz
kernel-4b52cdfcce21d3cc207a1ddb691e1f8c1fcda6fc.zip
netpoll: Improve code clarity with explicit struct size calculations
Replace pointer-dereference sizeof() operations with explicit struct names for improved readability and maintainability. This change: 1. Replaces `sizeof(*udph)` with `sizeof(struct udphdr)` 2. Replaces `sizeof(*ip6h)` with `sizeof(struct ipv6hdr)` 3. Replaces `sizeof(*iph)` with `sizeof(struct iphdr)` This will make it easy to move code in the upcoming patches. No functional changes are introduced by this patch. Signed-off-by: Breno Leitao <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions