Thread (14 messages) read the whole thread 14 messages, 4 authors, 2023-10-10

Re: [PATCH v6 1/5] lib/bitmap: add bitmap_{read,write}()

From: Alexander Potapenko <glider@google.com>
Date: 2023-10-10 09:44:18
Also in: lkml

quoted
quoted
+     if (space >= nbits)
+             return (map[index] >> offset) & GENMASK(nbits - 1, 0);
And don't you want to replace this GENMASK() as well?
See my next reply to Yury, tl;dr this is a stale code version :(
Actually, no, we haven't discussed improvements to bitmap_read(), and
this is the correct version.
I'll fix this one.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help