From: Alexander Bodnarashik <boda2004@mail.ru>
To: kernel-janitors@vger.kernel.org
Subject: [KJ] [PATCH] include/asm-frv/*.h: printk("SOMETEXT"....) ->
Date: Tue, 08 Aug 2006 10:03:37 +0000 [thread overview]
Message-ID: <44D86179.2060706@mail.ru> (raw)
[-- Attachment #1: Type: text/plain, Size: 184 bytes --]
I've tried to cleanup some code inside "include/asm-frv" folder. Hope i understand the meaning of KERN_* constants correctly.
Signed-off-by: Alexander Bodnarashik <boda2004@mail.ru>
[-- Attachment #2: asm-frv.patch --]
[-- Type: text/x-patch, Size: 1630 bytes --]
diff --git a/include/asm-frv/math-emu.h b/include/asm-frv/math-emu.h
index 0c8f731..c450309 100644
--- a/include/asm-frv/math-emu.h
+++ b/include/asm-frv/math-emu.h
@@ -117,9 +117,9 @@ extern unsigned int fp_debugprint;
static int __count = 3; \
\
if (__count > 0) { \
- printk("You just hit an unimplemented " \
+ printk(KERN_WARNING "You just hit an unimplemented " \
"fpu instruction (%s)\n", str); \
- printk("Please report this to ....\n"); \
+ printk(KERN_WARNING "Please report this to ....\n"); \
__count--; \
} \
})
diff --git a/include/asm-frv/pgtable.h b/include/asm-frv/pgtable.h
index 7af7485..ff341a3 100644
--- a/include/asm-frv/pgtable.h
+++ b/include/asm-frv/pgtable.h
@@ -156,13 +156,13 @@ extern unsigned long empty_zero_page;
extern pgd_t swapper_pg_dir[PTRS_PER_PGD];
#define pte_ERROR(e) \
- printk("%s:%d: bad pte %08lx.\n", __FILE__, __LINE__, (e).pte)
+ printk(KERN_ERR "%s:%d: bad pte %08lx.\n", __FILE__, __LINE__, (e).pte)
#define pmd_ERROR(e) \
- printk("%s:%d: bad pmd %08lx.\n", __FILE__, __LINE__, pmd_val(e))
+ printk(KERN_ERR "%s:%d: bad pmd %08lx.\n", __FILE__, __LINE__, pmd_val(e))
#define pud_ERROR(e) \
- printk("%s:%d: bad pud %08lx.\n", __FILE__, __LINE__, pmd_val(pud_val(e)))
+ printk(KERN_ERR "%s:%d: bad pud %08lx.\n", __FILE__, __LINE__, pmd_val(pud_val(e)))
#define pgd_ERROR(e) \
- printk("%s:%d: bad pgd %08lx.\n", __FILE__, __LINE__, pmd_val(pud_val(pgd_val(e))))
+ printk(KERN_ERR "%s:%d: bad pgd %08lx.\n", __FILE__, __LINE__, pmd_val(pud_val(pgd_val(e))))
/*
* Certain architectures need to do special things when PTEs
[-- Attachment #3: Type: text/plain, Size: 168 bytes --]
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors
next reply other threads:[~2006-08-08 10:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-08 10:03 Alexander Bodnarashik [this message]
2006-08-16 14:28 ` [KJ] [PATCH] include/asm-frv/*.h: printk("SOMETEXT"....) -> Alexander Bodnarashik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44D86179.2060706@mail.ru \
--to=boda2004@mail.ru \
--cc=kernel-janitors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.