From: Martin Schwidefsky Date: Fri, 21 Mar 2014 14:24:27 +0000 (+0100) Subject: s390/3270: fix crash with multiple reset device requests X-Git-Tag: v3.15-rc1~50^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd1cb5de140d844f63389bf21b336c194a8c83a1;p=pandora-kernel.git s390/3270: fix crash with multiple reset device requests If the 3270 device is detached the initial reset device request will stays pending until the device is operational. A second reset device call will reuse the same request structure which will cause an oops. Add a check to see if the reset device request is already pending and do nothing in this case. Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed