* [PATCH resend] mkfs_jffs2: fix typo for word unknown
@ 2011-10-10 8:40 Andy Shevchenko
2011-10-10 8:40 ` [PATCH resend] tests: checkfs: remove unused code Andy Shevchenko
2011-10-14 9:20 ` [PATCH resend] mkfs_jffs2: fix typo for word unknown Bityutskiy, Artem
0 siblings, 2 replies; 3+ messages in thread
From: Andy Shevchenko @ 2011-10-10 8:40 UTC (permalink / raw)
To: Artem Bityutskiy, linux-mtd; +Cc: Alexey Dokuchaev, Andy Shevchenko
Signed-off-by: Alexey Dokuchaev <danfe@nsu.ru>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
compr.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/compr.c b/compr.c
index 2d3a56b..cb4432e 100644
--- a/compr.c
+++ b/compr.c
@@ -320,7 +320,7 @@ uint16_t jffs2_compress( unsigned char *data_in, unsigned char **cpage_out,
}
break;
default:
- fprintf(stderr,"mkfs.jffs2: unknow compression mode.\n");
+ fprintf(stderr,"mkfs.jffs2: unknown compression mode.\n");
}
out:
if (ret == JFFS2_COMPR_NONE) {
@@ -416,7 +416,7 @@ char *jffs2_stats(void)
act_buf += sprintf(act_buf, "favourlzo");
break;
default:
- act_buf += sprintf(act_buf,"unkown");
+ act_buf += sprintf(act_buf, "unknown");
break;
}
act_buf += sprintf(act_buf,"\nCompressors:\n");
--
1.7.6.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH resend] tests: checkfs: remove unused code
2011-10-10 8:40 [PATCH resend] mkfs_jffs2: fix typo for word unknown Andy Shevchenko
@ 2011-10-10 8:40 ` Andy Shevchenko
2011-10-14 9:20 ` [PATCH resend] mkfs_jffs2: fix typo for word unknown Bityutskiy, Artem
1 sibling, 0 replies; 3+ messages in thread
From: Andy Shevchenko @ 2011-10-10 8:40 UTC (permalink / raw)
To: Artem Bityutskiy, linux-mtd; +Cc: Andy Shevchenko
There are two variables which are not used anymore. Thos patch removes useless
lines and suppresses gcc warnings.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
tests/checkfs/checkfs.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/tests/checkfs/checkfs.c b/tests/checkfs/checkfs.c
index 0e67626..3e4a6e2 100644
--- a/tests/checkfs/checkfs.c
+++ b/tests/checkfs/checkfs.c
@@ -566,22 +566,16 @@ int main(int argc, char **argv){
char filename[30];
short filenameCounter = 0;
unsigned short counter;
- unsigned short numberFiles;
- char error = FALSE;
short errorCnt = 0;
time_t timep;
char * time_string;
unsigned int seed;
-
- numberFiles = MAX_NUM_FILES;
-
if(argc >= 1)
{
processCmdLine(argc, argv);
}
-
/*
First open MAX_NUM_FILES and make sure that the checksum is ok.
Also make an intry into the logfile.
@@ -629,7 +623,6 @@ int main(int argc, char **argv){
fclose(logfp);
(void)sync();
- error = TRUE;
errorCnt++;
if(errorCnt > MaxErrAllowed){
--
1.7.6.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH resend] mkfs_jffs2: fix typo for word unknown
2011-10-10 8:40 [PATCH resend] mkfs_jffs2: fix typo for word unknown Andy Shevchenko
2011-10-10 8:40 ` [PATCH resend] tests: checkfs: remove unused code Andy Shevchenko
@ 2011-10-14 9:20 ` Bityutskiy, Artem
1 sibling, 0 replies; 3+ messages in thread
From: Bityutskiy, Artem @ 2011-10-14 9:20 UTC (permalink / raw)
To: Andy Shevchenko; +Cc: Alexey Dokuchaev, linux-mtd@lists.infradead.org
On Mon, 2011-10-10 at 11:40 +0300, Andy Shevchenko wrote:
> Signed-off-by: Alexey Dokuchaev <danfe@nsu.ru>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Pushed both, thanks!
--
Best Regards,
Artem Bityutskiy
---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki
Business Identity Code: 0357606 - 4
Domiciled in Helsinki
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-10-14 9:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-10 8:40 [PATCH resend] mkfs_jffs2: fix typo for word unknown Andy Shevchenko
2011-10-10 8:40 ` [PATCH resend] tests: checkfs: remove unused code Andy Shevchenko
2011-10-14 9:20 ` [PATCH resend] mkfs_jffs2: fix typo for word unknown Bityutskiy, Artem
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox