]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit7a9fd2b0933625f0c4c6c48a24f5eda7dfc91c66
tree819e61b72ca0538a499779793afdc6e5b950f10c
parent75cbfc4e7f34bd8a8d1190fcda6795661c6f2110
[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