Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177525479
D61479.1794628124.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
363 B
Referenced Files
None
Subscribers
None
D61479.1794628124.diff
View Options
diff --git a/sys/dev/asmc/asmc.c b/sys/dev/asmc/asmc.c
--- a/sys/dev/asmc/asmc.c
+++ b/sys/dev/asmc/asmc.c
@@ -468,8 +468,7 @@
}
} else {
device_printf(dev, "SMC revision: %x.%x%x%x\n",
- buf[0], buf[1], buf[2],
- ntohs(*(uint16_t *)buf + 4));
+ buf[0], buf[1], buf[2], be16dec(buf + 4));
}
asmc_sysctl_add_platform(dev, sysctlctx);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 14, 3:48 AM (9 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41708991
Default Alt Text
D61479.1794628124.diff (363 B)
Attached To
Mode
D61479: asmc: print the last field of the SMC revision correctly
Attached
Detach File
Event Timeline