Make compiles (LINT and/or ISP_TARGET_MODE options) happier by making sure
printf type format args and actual args match. Reviewed by: Sam Leffler <sam@errno.com>
This commit is contained in:
parent
94424ed19e
commit
756d4bb7c3
@ -1538,9 +1538,10 @@ tdma_mkfc(void *arg, bus_dma_segment_t *dm_segs, int nseg, int error)
|
||||
cto->rsp.m0.ct_dataseg[cto->ct_seg_count].ds_count =
|
||||
dm_segs[segcnt].ds_len;
|
||||
cto->rsp.m0.ct_xfrlen += dm_segs[segcnt].ds_len;
|
||||
isp_prt(isp, ISP_LOGTDEBUG1, "isp_send_ctio2: ent0[%d]0x%x:%d",
|
||||
cto->ct_seg_count, dm_segs[segcnt].ds_addr,
|
||||
dm_segs[segcnt].ds_len);
|
||||
isp_prt(isp, ISP_LOGTDEBUG1,
|
||||
"isp_send_ctio2: ent0[%d]0x%llx:%lld",
|
||||
cto->ct_seg_count, (long long)dm_segs[segcnt].ds_addr,
|
||||
(long long)dm_segs[segcnt].ds_len);
|
||||
}
|
||||
|
||||
while (segcnt < nseg) {
|
||||
@ -1567,9 +1568,10 @@ tdma_mkfc(void *arg, bus_dma_segment_t *dm_segs, int nseg, int error)
|
||||
crq->req_dataseg[seg].ds_base = dm_segs[segcnt].ds_addr;
|
||||
crq->req_dataseg[seg].ds_count = dm_segs[segcnt].ds_len;
|
||||
isp_prt(isp, ISP_LOGTDEBUG1,
|
||||
"isp_send_ctio2: ent%d[%d]%x:%u",
|
||||
"isp_send_ctio2: ent%d[%d]0x%llx:%lld",
|
||||
cto->ct_header.rqs_entry_count-1, seg,
|
||||
dm_segs[segcnt].ds_addr, dm_segs[segcnt].ds_len);
|
||||
(long long) dm_segs[segcnt].ds_addr,
|
||||
(long long) dm_segs[segcnt].ds_len);
|
||||
cto->rsp.m0.ct_xfrlen += dm_segs[segcnt].ds_len;
|
||||
cto->ct_seg_count++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user