diff for duplicates of <20090521024635.GA4030@chrisubuntu-laptop> diff --git a/a/1.txt b/N1/1.txt index 251efd5..dcbb291 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -27,15 +27,15 @@ index 26efa47..cfe42e7 100644 - printk(KERN_INFO "%-13.13s %c", p->comm, + pr_info("%-13.13s %c", p->comm, state < sizeof(stat_nam) - 1 ? stat_nam[state] : '?'); - #if BITS_PER_LONG = 32 - if (state = TASK_RUNNING) + #if BITS_PER_LONG == 32 + if (state == TASK_RUNNING) - printk(KERN_CONT " running "); + pr_cont(" running "); else - printk(KERN_CONT " %08lx ", thread_saved_pc(p)); + pr_cont(" %08lx ", thread_saved_pc(p)); #else - if (state = TASK_RUNNING) + if (state == TASK_RUNNING) - printk(KERN_CONT " running task "); + pr_cont(" running task "); else @@ -53,7 +53,7 @@ index 26efa47..cfe42e7 100644 @@ -6501,10 +6501,10 @@ void show_state_filter(unsigned long state_filter) struct task_struct *g, *p; - #if BITS_PER_LONG = 32 + #if BITS_PER_LONG == 32 - printk(KERN_INFO + pr_info( " task PC stack pid father\n"); diff --git a/a/content_digest b/N1/content_digest index 150cf49..e2a8c79 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -4,7 +4,7 @@ "ref\020090520083719.GG6736@elte.hu\0" "From\0Chris Sanford <crsanford@gmail.com>\0" "Subject\0Re: [PATCH] include KERN_* constant in printk calls\0" - "Date\0Thu, 21 May 2009 02:46:35 +0000\0" + "Date\0Wed, 20 May 2009 19:46:35 -0700\0" "To\0kernel-janitors@vger.kernel.org\0" "Cc\0linux-kernel@vger.kernel.org" " peterz@infradead.org\0" @@ -39,15 +39,15 @@ "-\tprintk(KERN_INFO \"%-13.13s %c\", p->comm,\n" "+\tpr_info(\"%-13.13s %c\", p->comm,\n" " \t\tstate < sizeof(stat_nam) - 1 ? stat_nam[state] : '?');\n" - " #if BITS_PER_LONG = 32\n" - " \tif (state = TASK_RUNNING)\n" + " #if BITS_PER_LONG == 32\n" + " \tif (state == TASK_RUNNING)\n" "-\t\tprintk(KERN_CONT \" running \");\n" "+\t\tpr_cont(\" running \");\n" " \telse\n" "-\t\tprintk(KERN_CONT \" %08lx \", thread_saved_pc(p));\n" "+\t\tpr_cont(\" %08lx \", thread_saved_pc(p));\n" " #else\n" - " \tif (state = TASK_RUNNING)\n" + " \tif (state == TASK_RUNNING)\n" "-\t\tprintk(KERN_CONT \" running task \");\n" "+\t\tpr_cont(\" running task \");\n" " \telse\n" @@ -65,7 +65,7 @@ "@@ -6501,10 +6501,10 @@ void show_state_filter(unsigned long state_filter)\n" " \tstruct task_struct *g, *p;\n" " \n" - " #if BITS_PER_LONG = 32\n" + " #if BITS_PER_LONG == 32\n" "-\tprintk(KERN_INFO\n" "+\tpr_info(\n" " \t\t\" task PC stack pid father\\n\");\n" @@ -249,4 +249,4 @@ " \t\t\tin_atomic(), irqs_disabled(),\n" " \t\t\tcurrent->pid, current->comm);" -3e411e279f3b4c9d52ef89ff1e1ff36072729877dcb128ed863d8dec2034b221 +24acae0089f9cc0c88f1a329dff4e8ea5e552d9f804ec85bb08618a1dcb36923
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.