Home
last modified time | relevance | path

Searched hist:f82cf28b (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dkernel.hf82cf28b Sat Oct 22 18:02:58 GMT 2022 Bjoern A. Zeeb <bz@FreeBSD.org> LinuxKPI: add kstrtou32_from_user() and mac_pton()

While here:
- fix an argument of kstrtouint_from_user() to correct signedness.
- make kstrtou32() call kstrtouint() to avoid duplication (keep inline
function)

Add kstrtou32_from_user() based on other examples in the file
making it a copy of the now fixed kstrtouint_from_user().

Also add a rudimentarily hacked up version of mac_pton() which is
leanient accepting non-well-formed input but so far only with ':'
separators. It does not seem to obviously belong to any networking
header file so add it here.

Both new functions are needed for debugfs support for iwlwifi hence
coming together in one commit.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Commented on by: emaste
Differential Revision: https://reviews.freebsd.org/D37088