chardev/char-mux: tweak mux bitset operations
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 0 repliesNew
- v22 patches 3 repliesSuperseded
- v12 patches 2 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | chardev/char-mux: shift unsigned long to avoid 32-bit overflowchardev/ | +4 | 0 replies | |
| 2/2 | chardev/char-mux: make boolean bit check instead of find_next_bit()chardev/ | +4 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Marc-André Lureau | Clément Mathieu--Drif |
|---|---|---|
| Series | R-b | R-b |
| 1/2 | R-b | R-b |
| 2/2 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/2] chardev/char-mux: tweak mux bitset operations
Patchset tweaks bitset operations by changing a constant to unsigned long, introduces a static compile check and simplifies bitset operations. Also resolves Coverity CID 1563776.
v2..v3:
* Multiply (sizeof(d->mux_bitset) * BITS_PER_BYTE) to get number of bits (thanks Paolo Bonzini for noticing that)
* Rebase on latest master
v1..v2:
* Rebase on latest master, incorporate review tags.
Roman Penyaev (2):
chardev/char-mux: shift unsigned long to avoid 32-bit overflow chardev/char-mux: make boolean bit check instead of find_next_bit()
chardev/char-mux.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-)
Signed-off-by Roman Penyaev <[email protected]>
Reviewed-by "Marc-André Lureau" <[email protected]>
Cc Peter Maydell <[email protected]>
Cc Paolo Bonzini <[email protected]>
Reviewed-by Clément Mathieu--Drif <[email protected]>
Signature · 1 line
2.34.1