Commit graph

2 commits

Author SHA1 Message Date
Vladimir Kondratyev
1341925217 LinuxKPI: Add str_on_off and other helpers to linux/string_helpers.h
Sponsored by:	Serenity Cyber Security, LLC
Reviewed by:	manu, bz, imp (previous version)
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D42794

(cherry picked from commit ae1084ff01bf9d9a9a2c56caf6c7095f3e96f579)
2024-02-17 23:58:36 +03:00
Jean-Sébastien Pédron
daebad715c linuxkpi: Add <linux/string_helpers.h> and str_yes_no()
[Why]
This header and str_yes_no() are now used by the i915 DRM driver in
Linux 5.18.

Reviewed by:	manu
Approved by:	manu
Differential Revision:	https://reviews.freebsd.org/D43014

(cherry picked from commit 38138beb42d1892dbd8ebb29c01c4471c86d8845)
2024-02-17 23:58:36 +03:00