All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20100715064354.GA5555@albatros>

diff --git a/a/1.txt b/N1/1.txt
index 0311e9f..e4aa451 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -36,7 +36,7 @@ Yeah, it would be good.
 > > 	printk(KERN_EMERG "\nCODE:");
 > > 	tp = ((unsigned char *) fp->pc) - 0x20;
 > > 	for (sp = (unsigned long *) tp, i = 0; (i < 0x40);  i += 4) {
-> > 		if ((i % 0x10) = 0)
+> > 		if ((i % 0x10) == 0)
 > >-			printk(KERN_EMERG "%08x: ", (int) (tp + i));
 > >+			printk(KERN_EMERG "%p: ", tp + i);
 > > 		printk("%08x ", (int) *sp++);
@@ -45,7 +45,7 @@ Yeah, it would be good.
 > >@@ -332,7 +332,7 @@ void dump(struct pt_regs *fp)
 > > 	tp = ((unsigned char *) fp) - 0x40;
 > > 	for (sp = (unsigned long *) tp, i = 0; (i < 0xc0); i += 4) {
-> > 		if ((i % 0x10) = 0)
+> > 		if ((i % 0x10) == 0)
 > >-			printk(KERN_EMERG "%08x: ", (int) (tp + i));
 > >+			printk(KERN_EMERG "%p: ", tp + i);
 > > 		printk("%08x ", (int) *sp++);
@@ -54,7 +54,7 @@ Yeah, it would be good.
 > >@@ -341,7 +341,7 @@ void dump(struct pt_regs *fp)
 > > 	tp = (unsigned char *) (rdusp() - 0x10);
 > > 	for (sp = (unsigned long *) tp, i = 0; (i < 0x80); i += 4) {
-> > 		if ((i % 0x10) = 0)
+> > 		if ((i % 0x10) == 0)
 > >-			printk(KERN_EMERG "%08x: ", (int) (tp + i));
 > >+			printk(KERN_EMERG "%p: ", tp + i);
 > > 		printk("%08x ", (int) *sp++);
diff --git a/a/content_digest b/N1/content_digest
index 9854518..f00f3ce 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,8 +1,8 @@
  "ref\01279130473-10737-1-git-send-email-segooon@gmail.com\0"
  "ref\04C3E5672.4090606@snapgear.com\0"
  "From\0Kulikov Vasiliy <segooon@gmail.com>\0"
- "Subject\0Re: [PATCH 02/11] arch/m68knommu/kernel/process.c: formatting of\0"
- "Date\0Thu, 15 Jul 2010 06:43:54 +0000\0"
+ "Subject\0Re: [PATCH 02/11] arch/m68knommu/kernel/process.c: formatting of pointers in printk()\0"
+ "Date\0Thu, 15 Jul 2010 10:43:54 +0400\0"
  "To\0Greg Ungerer <gerg@snapgear.com>\0"
  "Cc\0kernel-janitors@vger.kernel.org"
   Greg Ungerer <gerg@uclinux.org>
@@ -51,7 +51,7 @@
  "> > \tprintk(KERN_EMERG \"\\nCODE:\");\n"
  "> > \ttp = ((unsigned char *) fp->pc) - 0x20;\n"
  "> > \tfor (sp = (unsigned long *) tp, i = 0; (i < 0x40);  i += 4) {\n"
- "> > \t\tif ((i % 0x10) = 0)\n"
+ "> > \t\tif ((i % 0x10) == 0)\n"
  "> >-\t\t\tprintk(KERN_EMERG \"%08x: \", (int) (tp + i));\n"
  "> >+\t\t\tprintk(KERN_EMERG \"%p: \", tp + i);\n"
  "> > \t\tprintk(\"%08x \", (int) *sp++);\n"
@@ -60,7 +60,7 @@
  "> >@@ -332,7 +332,7 @@ void dump(struct pt_regs *fp)\n"
  "> > \ttp = ((unsigned char *) fp) - 0x40;\n"
  "> > \tfor (sp = (unsigned long *) tp, i = 0; (i < 0xc0); i += 4) {\n"
- "> > \t\tif ((i % 0x10) = 0)\n"
+ "> > \t\tif ((i % 0x10) == 0)\n"
  "> >-\t\t\tprintk(KERN_EMERG \"%08x: \", (int) (tp + i));\n"
  "> >+\t\t\tprintk(KERN_EMERG \"%p: \", tp + i);\n"
  "> > \t\tprintk(\"%08x \", (int) *sp++);\n"
@@ -69,7 +69,7 @@
  "> >@@ -341,7 +341,7 @@ void dump(struct pt_regs *fp)\n"
  "> > \ttp = (unsigned char *) (rdusp() - 0x10);\n"
  "> > \tfor (sp = (unsigned long *) tp, i = 0; (i < 0x80); i += 4) {\n"
- "> > \t\tif ((i % 0x10) = 0)\n"
+ "> > \t\tif ((i % 0x10) == 0)\n"
  "> >-\t\t\tprintk(KERN_EMERG \"%08x: \", (int) (tp + i));\n"
  "> >+\t\t\tprintk(KERN_EMERG \"%p: \", tp + i);\n"
  "> > \t\tprintk(\"%08x \", (int) *sp++);\n"
@@ -84,4 +84,4 @@
  "> 8 Gardner Close                             FAX:         +61 7 3217 5323\n"
  > Milton, QLD, 4064, Australia                WEB: http://www.SnapGear.com
 
-e856e053480559919fcb8ddce59da5f6d4cf25d050db0656cad646743a7e3d6e
+3acc6e16332a93a21ae2e282711657276bdab08b7a5b0bdc8248f5019a0c2d7a

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.