We do not support freeing memory using reqbufs with a zero size so
authorarmani <armani@openbsd.org>
Tue, 6 Jan 2015 17:27:58 +0000 (17:27 +0000)
committerarmani <armani@openbsd.org>
Tue, 6 Jan 2015 17:27:58 +0000 (17:27 +0000)
commit100e88af833f5a3b6b8b30b6a22c1a3154a7ce41
treec812744be7e0819fe5e07fe680baa1b2f228601a
parent312bbabaac7dc92251a2100c559c28f63563e7d9
We do not support freeing memory using reqbufs with a zero size so
return EINVAL in this case.

Also change an easily triggerable panic by a printf and return EINVAL.

Reminded by brad@, one typo spotted by sthen@ and ok mpi@
sys/dev/usb/uvideo.c