Page MenuHomeFreeBSD

D46838.diff
No OneTemporary

D46838.diff

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

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)

Event Timeline