mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-22 21:21:28 +00:00
Improved errors reporting
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2174 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -517,7 +517,8 @@ static int disk_exec(struct scst_cmd *cmd)
|
||||
int adj_len = pg << PAGE_SHIFT;
|
||||
max_sectors = adj_len >> params->block_shift;
|
||||
if (max_sectors == 0) {
|
||||
PRINT_ERROR("Too low max sectors %d", max_sectors);
|
||||
PRINT_ERROR("Too low max sectors %d",
|
||||
cmd->dev->scsi_dev->host->max_sectors);
|
||||
goto out_error;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user