alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH - TINYCOMPRESS 1/4] compress: Extend limit on error messages
@ 2013-01-25 10:43 Charles Keepax
  2013-01-25 10:43 ` [PATCH - TINYCOMPRESS 2/4] compress: Return error when failing to allocate compress struct Charles Keepax
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Charles Keepax @ 2013-01-25 10:43 UTC (permalink / raw)
  To: patch, vinod.koul; +Cc: alsa-devel, patches, Charles Keepax

32 characters is a very short size for the error message, extend this
to 128 characters to prevent clipping on the majority of messages.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>

diff --git a/compress.c b/compress.c
index faef982..05e54ae 100644
--- a/compress.c
+++ b/compress.c
@@ -75,7 +75,7 @@
 #include "sound/compress_offload.h"
 #include "tinycompress/tinycompress.h"
 
-#define COMPR_ERR_MAX 32
+#define COMPR_ERR_MAX 128
 
 struct compress {
 	int fd;
-- 
1.7.2.5

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

end of thread, other threads:[~2013-01-28  6:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-25 10:43 [PATCH - TINYCOMPRESS 1/4] compress: Extend limit on error messages Charles Keepax
2013-01-25 10:43 ` [PATCH - TINYCOMPRESS 2/4] compress: Return error when failing to allocate compress struct Charles Keepax
2013-01-25 10:43 ` [PATCH - TINYCOMPRESS 3/4] compress: Return error messages correctly from compress_open Charles Keepax
2013-01-25 10:43 ` [PATCH - TINYCOMPRESS 4/4] compress: Do not put newlines on error messages Charles Keepax
2013-01-28  6:13   ` Vinod Koul

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).