Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F101993606
D46838.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
388 B
Referenced Files
None
Subscribers
None
D46838.diff
View Options
diff --git a/sys/dev/mana/gdma_main.c b/sys/dev/mana/gdma_main.c
--- a/sys/dev/mana/gdma_main.c
+++ b/sys/dev/mana/gdma_main.c
@@ -221,7 +221,7 @@
if (!gc || !gmi)
return EINVAL;
- if (length < PAGE_SIZE || (length != roundup_pow_of_two(length)))
+ if (length < PAGE_SIZE || !powerof2(length))
return EINVAL;
err = bus_dma_tag_create(bus_get_dma_tag(gc->dev), /* parent */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 7, 7:37 AM (22 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
13153242
Default Alt Text
D46838.diff (388 B)
Attached To
Mode
D46838: roundup_pow_of_two: use ispower instead
Attached
Detach File
Event Timeline
Log In to Comment