qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] chardev/char-mux: tweak mux bitset operations
@ 2024-11-02 11:07 Roman Penyaev
  2024-11-02 11:07 ` [PATCH 1/2] chardev/char-mux: shift unsigned long to avoid 32-bit overflow Roman Penyaev
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Roman Penyaev @ 2024-11-02 11:07 UTC (permalink / raw)
  Cc: Roman Penyaev, Marc-André Lureau, Peter Maydell,
	Clément Mathieu--Drif, qemu-devel

Patchset tweaks bitset operations by changing a constant to unsigned
long, introduces a static compile check and simplifies bitset operations.

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 <r.peniaev@gmail.com>
Cc: "Marc-André Lureau" <marcandre.lureau@redhat.com>
Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: Clément Mathieu--Drif <clement.mathieu--drif@eviden.com>
Cc: qemu-devel@nongnu.org

-- 
2.34.1



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-11-04  7:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-02 11:07 [PATCH 0/2] chardev/char-mux: tweak mux bitset operations Roman Penyaev
2024-11-02 11:07 ` [PATCH 1/2] chardev/char-mux: shift unsigned long to avoid 32-bit overflow Roman Penyaev
2024-11-02 11:07 ` [PATCH 2/2] chardev/char-mux: make boolean bit check instead of find_next_bit() Roman Penyaev
2024-11-04  7:40 ` [PATCH 0/2] chardev/char-mux: tweak mux bitset operations Marc-André Lureau
2024-11-04  7:52 ` CLEMENT MATHIEU--DRIF

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).