]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
s390/mem_detect: add DAT sanity check
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Sat, 27 Apr 2013 11:07:17 +0000 (13:07 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 2 May 2013 13:50:23 +0000 (15:50 +0200)
commit0a694067111e8fcd3eda430f8fa2d0277edd231f
tree7b2a142b30bc2cfd3ce9181e28eb35b20c6caf89
parentd009f4d8860defaea65ea7573818b96f3c4b171e
s390/mem_detect: add DAT sanity check

Add sanity check: verify if the passed in array resides in vmalloc space.
If so print a warning and return to caller.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/mm/mem_detect.c