public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] ubifs: ubifs_compress() returns void
@ 2008-10-17 14:16 Geert Uytterhoeven
  2008-10-17 14:25 ` Artem Bityutskiy
  0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2008-10-17 14:16 UTC (permalink / raw)
  To: Artem Bityutskiy, Adrian Hunter; +Cc: linux-mtd

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1158 bytes --]

Update the comment for ubifs_compress(), which incorrectly states that it
returnsa success/failure indicator.

Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>

diff --git a/fs/ubifs/compress.c b/fs/ubifs/compress.c
index 5bb51da..a0ada59 100644
--- a/fs/ubifs/compress.c
+++ b/fs/ubifs/compress.c
@@ -91,8 +91,6 @@ struct ubifs_compressor *ubifs_compressors[UBIFS_COMPR_TYPES_CNT];
  *
  * Note, if the input buffer was not compressed, it is copied to the output
  * buffer and %UBIFS_COMPR_NONE is returned in @compr_type.
- *
- * This functions returns %0 on success or a negative error code on failure.
  */
 void ubifs_compress(const void *in_buf, int in_len, void *out_buf, int *out_len,
 		    int *compr_type)

With kind regards,

Geert Uytterhoeven
Software Architect

Sony Techsoft Centre Europe
The Corporate Village · Da Vincilaan 7-D1 · B-1935 Zaventem · Belgium

Phone:    +32 (0)2 700 8453
Fax:      +32 (0)2 700 8622
E-mail:   Geert.Uytterhoeven@sonycom.com
Internet: http://www.sony-europe.com/

A division of Sony Europe (Belgium) N.V.
VAT BE 0413.825.160 · RPR Brussels
Fortis · BIC GEBABEBB · IBAN BE41293037680010

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

* Re: [PATCH] ubifs: ubifs_compress() returns void
  2008-10-17 14:16 [PATCH] ubifs: ubifs_compress() returns void Geert Uytterhoeven
@ 2008-10-17 14:25 ` Artem Bityutskiy
  0 siblings, 0 replies; 2+ messages in thread
From: Artem Bityutskiy @ 2008-10-17 14:25 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: linux-mtd, Adrian Hunter

On Fri, 2008-10-17 at 16:16 +0200, Geert Uytterhoeven wrote:
> Update the comment for ubifs_compress(), which incorrectly states that it
> returnsa success/failure indicator.
> 
> Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>

Pushed to ubifs-2.6.git tree, thank you!

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)

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

end of thread, other threads:[~2008-10-17 14:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-17 14:16 [PATCH] ubifs: ubifs_compress() returns void Geert Uytterhoeven
2008-10-17 14:25 ` Artem Bityutskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox