diff options
author | Christian Borntraeger | 2020-03-31 05:57:23 -0400 |
---|---|---|
committer | Heiko Carstens | 2020-06-23 14:05:55 +0200 |
commit | 827c4913923e0b441ba07ba4cc41e01181102303 (patch) | |
tree | 01f68e4352a1658e4517f319980ebc671fe9137b /arch/sh/include | |
parent | 998f5bbe3dbdab81c1cfb1aef7c3892f5d24f6c7 (diff) |
s390/debug: avoid kernel warning on too large number of pages
When specifying insanely large debug buffers a kernel warning is
printed. The debug code does handle the error gracefully, though.
Instead of duplicating the check let us silence the warning to
avoid crashes when panic_on_warn is used.
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'arch/sh/include')
0 files changed, 0 insertions, 0 deletions