All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <4C3E5672.4090606@snapgear.com>

diff --git a/a/1.txt b/N1/1.txt
index 5527d0b..05d5143 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -34,7 +34,7 @@ Greg
 >  	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++);
@@ -43,7 +43,7 @@ Greg
 > @@ -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++);
@@ -52,7 +52,7 @@ Greg
 > @@ -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 bd90f9e..b6d3ed1 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,7 +1,7 @@
  "ref\01279130473-10737-1-git-send-email-segooon@gmail.com\0"
  "From\0Greg Ungerer <gerg@snapgear.com>\0"
- "Subject\0Re: [PATCH 02/11] arch/m68knommu/kernel/process.c: formatting of\0"
- "Date\0Thu, 15 Jul 2010 00:29:38 +0000\0"
+ "Subject\0Re: [PATCH 02/11] arch/m68knommu/kernel/process.c: formatting of pointers in printk()\0"
+ "Date\0Thu, 15 Jul 2010 10:29:38 +1000\0"
  "To\0Kulikov Vasiliy <segooon@gmail.com>\0"
  "Cc\0kernel-janitors@vger.kernel.org"
   Greg Ungerer <gerg@uclinux.org>
@@ -48,7 +48,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"
@@ -57,7 +57,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"
@@ -66,7 +66,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"
@@ -81,4 +81,4 @@
  "8 Gardner Close                             FAX:         +61 7 3217 5323\n"
  Milton, QLD, 4064, Australia                WEB: http://www.SnapGear.com
 
-a81982b1e1b3e804305709ffbfd5e20d10c98d7b0d98631a6fc2cde04e68a141
+2574be3dc1fa0332ae926b4f6c34303d3120cf8f6778ab7cffcc5d782b546a5c

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.