From: Hannes Reinecke Date: Tue, 9 Mar 2010 09:18:48 +0000 (+0100) Subject: [SCSI] scsi_transport_fc: Protect against overflow in dev_loss_tmo X-Git-Tag: v2.6.35-rc1~470^2^2~177 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36dd288f0f930c154ec6a4d73a6a35f3079418c6;p=pandora-kernel.git [SCSI] scsi_transport_fc: Protect against overflow in dev_loss_tmo The rport structure defines dev_loss_tmo as u32, which is later multiplied with HZ to get the actual timeout value. This might overflow for large dev_loss_tmo values. So we should be better using u64 as intermediate variables here to protect against overflow. Signed-off-by: Hannes Reinecke Acked-by: James Smart Signed-off-by: James Bottomley --- Reading git-diff-tree failed