freebsd-dev/sys/compat/linuxkpi/common
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
..
include LinuxKPI: make bcd.h use libkern 2021-11-18 23:10:34 +00:00
src LinuxKPI: USB return possible error from suspend/resume 2021-11-24 21:32:38 +00:00