Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153317004
D31352.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
483 B
Referenced Files
None
Subscribers
None
D31352.diff
View Options
diff --git a/sys/compat/linuxkpi/common/include/linux/bitfield.h b/sys/compat/linuxkpi/common/include/linux/bitfield.h
--- a/sys/compat/linuxkpi/common/include/linux/bitfield.h
+++ b/sys/compat/linuxkpi/common/include/linux/bitfield.h
@@ -90,7 +90,7 @@
le32p_replace_bits(uint32_t *p, uint32_t v, uint32_t f)
{
- *p = (*p & ~(cpu_to_le32(v))) | le32_encode_bits(v, f);
+ *p = (*p & ~(cpu_to_le32(f))) | le32_encode_bits(v, f);
}
#define __bf_shf(x) (__builtin_ffsll(x) - 1)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 21, 10:53 AM (7 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31905766
Default Alt Text
D31352.diff (483 B)
Attached To
Mode
D31352: LinuxKPI: fix bug in le32p_replace_bits()
Attached
Detach File
Event Timeline
Log In to Comment