[S390] qdio: Sanitize do_QDIO sanity checks
authorJan Glauber <jang@linux.vnet.ibm.com>
Mon, 22 Jun 2009 10:08:15 +0000 (12:08 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 22 Jun 2009 10:08:21 +0000 (12:08 +0200)
commit6618241b47cd131503610d8df68dd6f4948e5c1a
tree819e61b72ca0538a499779793afdc6e5b950f10c
parentf0a0b15e0f3aff0a25f21f58bef8e40e80b16dc6
[S390] qdio: Sanitize do_QDIO sanity checks

Remove unneeded sanity checks from do_QDIO since this is the hot path.
Change the type of bufnr and count to unsigned int so the check for the
maximum value works.

Reported-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/qdio.h
drivers/s390/cio/qdio_main.c