]> git.ipfire.org Git - thirdparty/kmod.git/commit
Consistently use endian.h swapping API
authorEmil Velikov <emil.l.velikov@gmail.com>
Sun, 8 Feb 2026 14:43:31 +0000 (14:43 +0000)
committerLucas De Marchi <demarchi@kernel.org>
Thu, 12 Feb 2026 16:49:58 +0000 (10:49 -0600)
commitf7ec5d710db2e510d45c41fb0137ad2de50fb0aa
tree724166ddcfb492116c28081909717341e1f14a51
parent6188542cd63c12018e1f74bdf686457982509cb3
Consistently use endian.h swapping API

A handful of places are still using the old "networking" API. Swap that
with the usual (no longer GNU/glibc specific) ntobe*/be*toh.

Be that to stay consistent, to improve clarity or to celebrate that the
later is part of POSIX (2024) - take your pick.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Lucas De Marchi <demarchi@kernel.org>
Link: https://github.com/kmod-project/kmod/pull/421
Signed-off-by: Lucas De Marchi <demarchi@kernel.org>
libkmod/libkmod-index.c
tools/depmod.c