keucr: use more specific max_t(int, ..

as advised by checkpatch, changed generic max(..) to max_t(int, ..

Signed-off-by: Laura Lawniczak <laura.lawniczak@googlemail.com>
Signed-off-by: Johannes Schilling <of82ecuq@cip.cs.fau.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Johannes Schilling 2013-06-06 18:10:46 +02:00 коммит произвёл Greg Kroah-Hartman
Родитель 8be8804000
Коммит 3fb91d1128
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -708,8 +708,8 @@ int usb_stor_Bulk_transport(struct scsi_cmnd *srb, struct us_data *us)
} else {
residue = min(residue, transfer_length);
scsi_set_resid(srb, max(scsi_get_resid(srb),
(int) residue));
scsi_set_resid(srb, max_t(int, scsi_get_resid(srb),
residue));
}
}