Make the code more readable and compiling on 64-bits arch different
than amd64. Sponsored by: Sandvine Incorporated Submitted by: emaste MFC: 2 weeks X-MFC: r205160
This commit is contained in:
parent
156a1661a6
commit
6eafba267e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=205167
@ -3123,11 +3123,7 @@ aac_ioctl_send_raw_srb(struct aac_softc *sc, caddr_t arg)
|
||||
sge = srbcmd->sg_map.SgEntry;
|
||||
sge64 = NULL;
|
||||
srb_sg_bytecount = sge->SgByteCount;
|
||||
#ifdef __amd64__
|
||||
srb_sg_address = (void *)(uint64_t)sge->SgAddress;
|
||||
#else
|
||||
srb_sg_address = (void *)sge->SgAddress;
|
||||
#endif
|
||||
srb_sg_address = (void *)(uintptr_t)sge->SgAddress;
|
||||
}
|
||||
#ifdef __amd64__
|
||||
else if (fibsize == (sizeof(struct aac_srb) +
|
||||
|
Loading…
Reference in New Issue
Block a user