Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148045052
D40486.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
505 B
Referenced Files
None
Subscribers
None
D40486.diff
View Options
diff --git a/sys/compat/linuxkpi/common/include/linux/jiffies.h b/sys/compat/linuxkpi/common/include/linux/jiffies.h
--- a/sys/compat/linuxkpi/common/include/linux/jiffies.h
+++ b/sys/compat/linuxkpi/common/include/linux/jiffies.h
@@ -40,7 +40,7 @@
#define jiffies ticks
#define jiffies_64 ticks
-#define jiffies_to_msecs(x) (((int64_t)(int)(x)) * 1000 / hz)
+#define jiffies_to_msecs(x) ((unsigned int)(((int64_t)(int)(x)) * 1000 / hz))
#define MAX_JIFFY_OFFSET ((INT_MAX >> 1) - 1)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 16, 9:34 AM (14 m, 22 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29764641
Default Alt Text
D40486.diff (505 B)
Attached To
Mode
D40486: LinuxKPI: cast jiffies_to_msecs() result
Attached
Detach File
Event Timeline
Log In to Comment