Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F135068032
D14673.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
570 B
Referenced Files
None
Subscribers
None
D14673.diff
View Options
Index: head/sys/dev/isp/isp_freebsd.c
===================================================================
--- head/sys/dev/isp/isp_freebsd.c
+++ head/sys/dev/isp/isp_freebsd.c
@@ -444,7 +444,7 @@
case ISP_RESCAN:
if (IS_FC(isp)) {
- chan = *(int *)addr;
+ chan = *(intptr_t *)addr;
if (chan < 0 || chan >= isp->isp_nchan) {
retval = -ENXIO;
break;
@@ -461,7 +461,7 @@
case ISP_FC_LIP:
if (IS_FC(isp)) {
- chan = *(int *)addr;
+ chan = *(intptr_t *)addr;
if (chan < 0 || chan >= isp->isp_nchan) {
retval = -ENXIO;
break;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 7, 5:37 AM (20 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24981745
Default Alt Text
D14673.diff (570 B)
Attached To
Mode
D14673: Fix ISP_FC_LIP and ISP_RESCAN on big-endian 64-bit systems.
Attached
Detach File
Event Timeline
Log In to Comment