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.

MFC after: 3 days
Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D34231

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
rG0c37ffda799a: LinuxKPI: add an initial ethtool.h
Branches
Unknown
Tags
Unknown