[S390] BUG to BUG_ON changes
Signed-off-by: Stoyan Gaydarov <stoyboyker@gmail.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
committed by
Martin Schwidefsky
parent
59f2e69d0f
commit
6aa0d3a922
@ -37,8 +37,8 @@ tape_std_assign_timeout(unsigned long data)
|
||||
int rc;
|
||||
|
||||
request = (struct tape_request *) data;
|
||||
if ((device = request->device) == NULL)
|
||||
BUG();
|
||||
device = request->device;
|
||||
BUG_ON(!device);
|
||||
|
||||
DBF_EVENT(3, "%08x: Assignment timeout. Device busy.\n",
|
||||
device->cdev_id);
|
||||
|
Reference in New Issue
Block a user