HomeFreeBSD

LinuxKPI: add kstrtoint_from_user() and DECLARE_FLEX_ARRAY()

Description

LinuxKPI: add kstrtoint_from_user() and DECLARE_FLEX_ARRAY()

Add an implementation of kstrtoint_from_user() based on the other
implementations and an attempt at DECLARE_FLEX_ARRAY() which works
for the driver needing it.

Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D34231

(cherry picked from commit c840d5cec2607932d077ffcfee7ccf0a6b50cdf3)

Details

Provenance
bzAuthored on Feb 9 2022, 11:58 AM
Reviewer
hselasky
Differential Revision
D34231: LinuxKPI: add kstrtoint_from_user() and DECLARE_FLEX_ARRAY()
Parents
rG715d53ecb91c: LinuxKPI: add UUID_STRING_LEN and GUID_INIT to uuid.h
Branches
Unknown
Tags
Unknown