opnsense-src/sys/compat
Bjoern A. Zeeb 943df073a3 LinuxKPI: USB return possible error from suspend/resume
USB suspend/resume cannot fail so we never returned the error which
resulted in a -Wunused-but-set-variable warning.
Initialize the return variable and return a possible error possibly
triggering a printf upstream to at least have a trace of the problem.
This also fixes the warning.

Suggested by:	hselasky
Sponsored by:	The FreeBSD Foundation
MFC after:	10 days
Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D33107
2021-11-24 21:32:38 +00:00
..
freebsd32 32-bit compat: plug a set-but-not-unused var in freebsd32_copy_msg_out 2021-11-24 16:25:50 +00:00
ia32 fork: Allow ABI to specify fork return values for child. 2021-08-12 11:45:25 +03:00
lindebugfs Add emulation support for the Linux kcov(4) ioctl API. 2020-09-04 00:12:28 +00:00
linprocfs linprocfs: plug set-but-not-unused vars 2021-11-24 21:18:36 +00:00
linsysfs linsysfs: create /sys/bus/ and /sys/subsystem/ 2021-03-11 15:50:51 +00:00
linux linux: plug set-but-not-unused vars 2021-11-24 21:16:03 +00:00
linuxkpi/common LinuxKPI: USB return possible error from suspend/resume 2021-11-24 21:32:38 +00:00
x86bios Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00