diff options
author | Jan Glauber <jang@linux.vnet.ibm.com> | 2012-10-24 12:38:35 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2012-11-23 11:14:27 +0100 |
commit | ce1d801462ce75f9ba84e0bb32a05e1a7c881efe (patch) | |
tree | fdab3b1e70d52c61f6ad055300fa32d580a44efe /kernel/rwsem.c | |
parent | 773bab4a468b856a8c3b6626e76589d81d8d4e07 (diff) | |
download | op-kernel-dev-ce1d801462ce75f9ba84e0bb32a05e1a7c881efe.zip op-kernel-dev-ce1d801462ce75f9ba84e0bb32a05e1a7c881efe.tar.gz |
s390/qdio: rework BUG's and WARN_ON's
Remove or replace BUG/BUG_ON where possible and convert WARN_ON
to WARN_ON_ONCE if they can occur freqeuently as pointed out by:
https://lkml.org/lkml/2012/9/27/461
Checks have been removed if:
- the error condition leads to a hardware error which gets logged
and in most cases stops the device
- the error condition is a null pointer access
- the error condition is just pointless or already handled at
another location
Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'kernel/rwsem.c')
0 files changed, 0 insertions, 0 deletions