diff options
author | Peter Osterlund <petero2@telia.com> | 2006-02-14 16:52:54 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-14 19:09:33 -0500 |
commit | 61a34937982cace51853b5dc88f86380e31998c0 (patch) | |
tree | f99d8c86a769d42a22091c29ec3f30d3f0047e88 /drivers/block/pktcdvd.c | |
parent | f78cf0dc7b7b13d0550d1e02cf221b65969ff926 (diff) |
[PATCH] pktcdvd: Don't spam the kernel log when nothing is wrong
Change some messages that don't indicate an error so that they are only
printed when debugging is enabled.
Signed-off-by: Peter Osterlund <petero2@telia.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/block/pktcdvd.c')
-rw-r--r-- | drivers/block/pktcdvd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/block/pktcdvd.c b/drivers/block/pktcdvd.c index 4e7dbcc425ff..73999762582e 100644 --- a/drivers/block/pktcdvd.c +++ b/drivers/block/pktcdvd.c | |||
@@ -1548,7 +1548,7 @@ static int pkt_good_disc(struct pktcdvd_device *pd, disc_information *di) | |||
1548 | case 0x12: /* DVD-RAM */ | 1548 | case 0x12: /* DVD-RAM */ |
1549 | return 0; | 1549 | return 0; |
1550 | default: | 1550 | default: |
1551 | printk("pktcdvd: Wrong disc profile (%x)\n", pd->mmc3_profile); | 1551 | VPRINTK("pktcdvd: Wrong disc profile (%x)\n", pd->mmc3_profile); |
1552 | return 1; | 1552 | return 1; |
1553 | } | 1553 | } |
1554 | 1554 | ||
@@ -1894,7 +1894,7 @@ static int pkt_open_write(struct pktcdvd_device *pd) | |||
1894 | unsigned int write_speed, media_write_speed, read_speed; | 1894 | unsigned int write_speed, media_write_speed, read_speed; |
1895 | 1895 | ||
1896 | if ((ret = pkt_probe_settings(pd))) { | 1896 | if ((ret = pkt_probe_settings(pd))) { |
1897 | DPRINTK("pktcdvd: %s failed probe\n", pd->name); | 1897 | VPRINTK("pktcdvd: %s failed probe\n", pd->name); |
1898 | return -EIO; | 1898 | return -EIO; |
1899 | } | 1899 | } |
1900 | 1900 | ||
@@ -2440,7 +2440,7 @@ static int pkt_ioctl(struct inode *inode, struct file *file, unsigned int cmd, u | |||
2440 | return blkdev_ioctl(pd->bdev->bd_inode, file, cmd, arg); | 2440 | return blkdev_ioctl(pd->bdev->bd_inode, file, cmd, arg); |
2441 | 2441 | ||
2442 | default: | 2442 | default: |
2443 | printk("pktcdvd: Unknown ioctl for %s (%x)\n", pd->name, cmd); | 2443 | VPRINTK("pktcdvd: Unknown ioctl for %s (%x)\n", pd->name, cmd); |
2444 | return -ENOTTY; | 2444 | return -ENOTTY; |
2445 | } | 2445 | } |
2446 | 2446 | ||