From: Tomas Henzl Date: Wed, 3 Jun 2015 15:37:02 +0000 (+0200) Subject: mptsas: fix depth param in scsi_track_queue_full X-Git-Tag: omap-for-v4.2/fixes-rc1^2~151^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2865c073257eaf1ede043a4dbc77afc71b6de175;p=pandora-kernel.git mptsas: fix depth param in scsi_track_queue_full A user of scsi_track_queue_full should pass to the function a constant value untill the queue-depth changes, otherwise the internal logic in scsi_track_queue_full rejects the change. Other users of this function use a 'sdev->queue_depth - 1' as depth parameter, let's do the same. Signed-off-by: Tomas Henzl Acked-by: "Sreekanth Reddy" Signed-off-by: James Bottomley --- Reading git-diff-tree failed