[S390] sclp: handle empty event buffers
commite2e5a0f2b100a5204d27def8bbf73333d1710be2
authorPeter Oberparleiter <peter.oberparleiter@de.ibm.com>
Thu, 19 Feb 2009 14:18:59 +0000 (19 15:18 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 19 Feb 2009 14:19:19 +0000 (19 15:19 +0100)
tree9ac0c72074dcc17f5083defda5d2270119f3e633
parentba95fd47d177d46743ad94055908d22840370e06
[S390] sclp: handle empty event buffers

Handle a malformed hardware response which some versions of the
Support Element (SE) may present during SE restart and which otherwise
would result in an endless loop in function sclp_dispatch_evbufs.

Signed-off-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/sclp.c