mirror of
https://github.com/torvalds/linux.git
synced 2024-12-17 08:31:39 +00:00
qla2xxx: ISP27xx add tests for incomplete template.
Signed-off-by: Joe Carnuccio <joe.carnuccio@qlogic.com> Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
parent
4089b71cc8
commit
299f5e27ac
@ -64,7 +64,7 @@
|
||||
* | | | 0xb13c-0xb140 |
|
||||
* | | | 0xb149 |
|
||||
* | MultiQ | 0xc00c | |
|
||||
* | Misc | 0xd212 | 0xd017-0xd019 |
|
||||
* | Misc | 0xd212 | 0xd017 |
|
||||
* | | | 0xd020 |
|
||||
* | | | 0xd030-0xd0ff |
|
||||
* | | | 0xd101-0xd1fe |
|
||||
|
@ -792,6 +792,15 @@ qla27xx_walk_template(struct scsi_qla_host *vha,
|
||||
break;
|
||||
ent = qla27xx_next_entry(ent);
|
||||
}
|
||||
|
||||
if (count)
|
||||
ql_dbg(ql_dbg_misc, vha, 0xd018,
|
||||
"%s: residual count (%lx)\n", __func__, count);
|
||||
|
||||
if (ent->hdr.entry_type != ENTRY_TYPE_TMP_END)
|
||||
ql_dbg(ql_dbg_misc, vha, 0xd019,
|
||||
"%s: missing end (%lx)\n", __func__, count);
|
||||
|
||||
ql_dbg(ql_dbg_misc, vha, 0xd01b,
|
||||
"%s: len=%lx\n", __func__, *len);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user