From: Ben Dooks <ben-linux@fluff.org>
To: linux-mtd@lists.infradead.org
Cc: Ben Dooks <ben-linux@fluff.org>
Subject: NAND: S3C2410: Change printk() into dev_dbg()
Date: Tue, 20 May 2008 17:32:14 +0100 [thread overview]
Message-ID: <20080520163214.086521919@fluff.org.uk> (raw)
[-- Attachment #1: simtec/simtec-drivers-mtd-s3c2410-fixprintk.patch --]
[-- Type: text/plain, Size: 959 bytes --]
Fix a minor problem with what should have been
debug output by changing printk() to dev_dbg()
inside s3c2410_nand_update_chip().
Thanks to David Woodhouse for pointing this out.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Index: linux-2.6.26-rc3-quilt1/drivers/mtd/nand/s3c2410.c
===================================================================
--- linux-2.6.26-rc3-quilt1.orig/drivers/mtd/nand/s3c2410.c 2008-05-20 17:16:20.000000000 +0100
+++ linux-2.6.26-rc3-quilt1/drivers/mtd/nand/s3c2410.c 2008-05-20 17:23:20.000000000 +0100
@@ -691,7 +691,8 @@ static void s3c2410_nand_update_chip(str
{
struct nand_chip *chip = &nmtd->chip;
- printk("%s: chip %p: %d\n", __func__, chip, chip->page_shift);
+ dev_dbg(info->device, "chip %p => page shift %d\n",
+ chip, chip->page_shift);
if (hardware_ecc) {
/* change the behaviour depending on wether we are using
--
Ben (ben@fluff.org, http://www.fluff.org/)
'a smiley only costs 4 bytes'
reply other threads:[~2008-05-20 16:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20080520163214.086521919@fluff.org.uk \
--to=ben-linux@fluff.org \
--cc=linux-mtd@lists.infradead.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.