Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F143056842
D54465.id168937.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
549 B
Referenced Files
None
Subscribers
None
D54465.id168937.diff
View Options
diff --git a/sys/x86/cpufreq/hwpstate_amd.c b/sys/x86/cpufreq/hwpstate_amd.c
--- a/sys/x86/cpufreq/hwpstate_amd.c
+++ b/sys/x86/cpufreq/hwpstate_amd.c
@@ -118,7 +118,7 @@
#define BITS_VALUE(bits, num) (((num) & (bits)) >> (ffsll((bits)) - 1))
#define BITS_WITH_VALUE(bits, val) ((uintmax_t)(val) << (ffsll((bits)) - 1))
#define SET_BITS_VALUE(var, bits, val) \
- ((var) = (var) & ~(bits) | BITS_WITH_VALUE((bits), (val)))
+ ((var) = ((var) & ~(bits)) | BITS_WITH_VALUE((bits), (val)))
#define HWPSTATE_DEBUG(dev, msg...) \
do { \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 26, 1:18 PM (21 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27480790
Default Alt Text
D54465.id168937.diff (549 B)
Attached To
Mode
D54465: hwpstate_amd: Fix compile error
Attached
Detach File
Event Timeline
Log In to Comment