]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
LinuxKPI: add memset_startat macro
authorBjoern A. Zeeb <bz@FreeBSD.org>
Mon, 14 Nov 2022 23:26:22 +0000 (23:26 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Tue, 15 Nov 2022 12:52:10 +0000 (12:52 +0000)
commit5d310ea8c5f98bbf53078ec632f6441f54dc9e44
tree661177e05b9b12842a3596c054c705802d0d4d28
parent386a5e3ae63f1ce29ceac7dc8d717a9cabb1f878
LinuxKPI: add memset_startat macro

Add a memset_startat() macro which sets a pattern from a struct member
to the end of the struct.   Needed by a wireless driver.

MFC after: 3 days
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D37389
sys/compat/linuxkpi/common/include/linux/string.h