Skip to contentSkip to conversation

staging: zcache: fix typos

PATCH In review Seth Jennings 2 participants 3 messages Aug 22, 2011 – Aug 23, 2011 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: zcache: fix typos

The patch fixes two typos in zcache-main.c

---
 drivers/staging/zcache/zcache-main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/staging/zcache/zcache-main.c +2 -2
index 855a5bb..82054c9 100644
@@ -651,7 +651,7 @@ static unsigned int zv_max_zsize = (PAGE_SIZE / 8) * 7;
 /*
  * byte count defining poor *mean* compression; pages with greater zsize
  * will be rejected until sufficient better-compressed pages are accepted
- * driving the man below this threshold
+ * driving the mean below this threshold
  */
 static unsigned int zv_max_mean_zsize = (PAGE_SIZE / 8) * 5;
 
@@ -1993,7 +1993,7 @@ static int __init zcache_init(void)
 		pr_info("zcache: frontswap enabled using kernel "
 			"transcendent memory and xvmalloc\n");
 		if (old_ops.init != NULL)
-			pr_warning("ktmem: frontswap_ops overridden");
+			pr_warning("zcache: frontswap_ops overridden");
 	}
 #endif
 out:
Signature · 1 line
1.7.4.1
Acked-by on v1 1/1
#1 lore raw
Quoted 10 lines

From: Seth Jennings [mailto:[email protected]]
Sent: Monday, August 22, 2011 12:50 PM
To: [email protected]
Cc: [email protected]; Dan Magenheimer; [email protected]; [email protected]; [email protected]; [email protected]
Subject: [PATCH] staging: zcache: fix typos

The patch fixes two typos in zcache-main.c

Seth, I'm not very familiar with the process but I think this kind of patch can go through the trivial patch monkey. See Documentation/SubmittingPatches.

Quoted 29 lines
---
 drivers/staging/zcache/zcache-main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/staging/zcache/zcache-main.c +2 -3
index 855a5bb..82054c9 100644
@@ -651,7 +651,7 @@ static unsigned int zv_max_zsize = (PAGE_SIZE / 8) * 7;
 /*
  * byte count defining poor *mean* compression; pages with greater zsize
  * will be rejected until sufficient better-compressed pages are accepted
- * driving the man below this threshold
+ * driving the mean below this threshold
  */
 static unsigned int zv_max_mean_zsize = (PAGE_SIZE / 8) * 5;
 
@@ -1993,7 +1993,7 @@ static int __init zcache_init(void)
 		pr_info("zcache: frontswap enabled using kernel "
 			"transcendent memory and xvmalloc\n");
 		if (old_ops.init != NULL)
-			pr_warning("ktmem: frontswap_ops overridden");
+			pr_warning("zcache: frontswap_ops overridden");
 	}
 #endif
 out:
--

1.7.4.1

#2 lore raw
Quoted 9 lines · Dan Magenheimer
Quoted 9 lines

From: Seth Jennings [mailto:[email protected]]
Sent: Monday, August 22, 2011 12:50 PM
To: [email protected]
Cc: [email protected]; Dan Magenheimer; [email protected]; [email protected]; [email protected]; [email protected]
Subject: [PATCH] staging: zcache: fix typos

The patch fixes two typos in zcache-main.c

Quoted 8 lines
Quoted 1 line

Seth, I'm not very familiar with the process but I think this kind of patch can go through the trivial patch monkey. See Documentation/SubmittingPatches.

Didn't know about that. I'll cc that in the future on patches like this. Thanks for the tip.

Quoted 29 lines
Quoted 29 lines
---
 drivers/staging/zcache/zcache-main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/staging/zcache/zcache-main.c +2 -3
index 855a5bb..82054c9 100644
@@ -651,7 +651,7 @@ static unsigned int zv_max_zsize = (PAGE_SIZE / 8) * 7;
 /*
  * byte count defining poor *mean* compression; pages with greater zsize
  * will be rejected until sufficient better-compressed pages are accepted
- * driving the man below this threshold
+ * driving the mean below this threshold
  */
 static unsigned int zv_max_mean_zsize = (PAGE_SIZE / 8) * 5;
 
@@ -1993,7 +1993,7 @@ static int __init zcache_init(void)
 		pr_info("zcache: frontswap enabled using kernel "
 			"transcendent memory and xvmalloc\n");
 		if (old_ops.init != NULL)
-			pr_warning("ktmem: frontswap_ops overridden");
+			pr_warning("zcache: frontswap_ops overridden");
 	}
 #endif
 out:
--

1.7.4.1