diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-07-27 19:05:19 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-07-27 19:05:19 -0300 |
commit | bce52916562346cea9474564c12897c762d87e46 (patch) | |
tree | 00cac329c02d64ace5bc6fa9c10ae1b895ff3657 /linux/drivers/media/video/hdpvr | |
parent | f7ea703f977df67b32fa86271669d8d4a5d3ce7f (diff) | |
download | mediapointer-dvb-s2-bce52916562346cea9474564c12897c762d87e46.tar.gz mediapointer-dvb-s2-bce52916562346cea9474564c12897c762d87e46.tar.bz2 |
af9015: avoid magically sized temporary buffer in eeprom_dump
From: Jan Nikitenko <jan.nikitenko@gmail.com>
Replace printing to magically sized temporary buffer with use
of KERN_CONT for continual printing of eeprom registers dump.
Since deb_info is defined as dprintk, which is conditionally defined
to printk without additional parameters, meaning that deb_info is equivalent
to direct printk (without adding KERN_ facility), we can use KERN_DEBUG and
KERN_CONT in there, eliminating the need for sprintf into temporary buffer
with not easily readable/magical size.
Though it's strange, that deb_info definition uses printk without KERN_
facility and callers don't use it either.
Signed-off-by: Jan Nikitenko <jan.nikitenko@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/hdpvr')
0 files changed, 0 insertions, 0 deletions