Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F160502685
D57581.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
511 B
Referenced Files
None
Subscribers
None
D57581.diff
View Options
diff --git a/sys/compat/linuxkpi/common/include/linux/bitmap.h b/sys/compat/linuxkpi/common/include/linux/bitmap.h
--- a/sys/compat/linuxkpi/common/include/linux/bitmap.h
+++ b/sys/compat/linuxkpi/common/include/linux/bitmap.h
@@ -202,7 +202,7 @@
}
static inline unsigned int
-bitmap_weight(unsigned long *addr, const unsigned int size)
+bitmap_weight(const unsigned long *addr, const unsigned int size)
{
const unsigned int end = BIT_WORD(size);
const unsigned int tail = size & (BITS_PER_LONG - 1);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jun 26, 4:16 AM (3 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33966432
Default Alt Text
D57581.diff (511 B)
Attached To
Mode
D57581: linuxkpi: Add const qualifier to `bitmap_weight()` 1st arg
Attached
Detach File
Event Timeline
Log In to Comment