summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/osst.c
diff options
context:
space:
mode:
authorJan Nikitenko <jan.nikitenko@gmail.com>2009-07-27 19:05:19 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-09-12 12:18:13 -0300
commit43f8de7ac6d504dea159d7842724857e9e020964 (patch)
tree2573ec170d00e6075c783ec85da0f5293fc4bd65 /drivers/scsi/osst.c
parent1420d498fd8890bbd878d261f317f9d64544ce0b (diff)
V4L/DVB (12342): af9015: avoid magically sized temporary buffer in eeprom_dump
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 'drivers/scsi/osst.c')
0 files changed, 0 insertions, 0 deletions