Skip to content

Fixes for write loop logic

Richard Fitzgerald alsa-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2compress: copy final version of config structcompress.c+2 -10 replies
2/2compress: do not poll if enough space to write remaining datacompress.c+4 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [tinycompress][PATCH 0/2] Fixes for write loop logic

Two small patches which correct the logic of compress_write() so that it will work correctly if asked to write a buffer shorter than the fragment length. The first patch is needed to ensure that if the client requests auto-configuration of fragment size the internal copy of the config contains the configured fragment size. The second patch contains the actual fix to the write loop logic.

Richard Fitzgerald (2):
compress: copy final version of config struct
compress: do not poll if enough space to write remaining data

 compress.c |   13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)
Signature · 1 line
1.7.2.5