]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (5360): Dvb-pll: Use sizeof() to get name length
authorTrent Piepho <xyzzy@speakeasy.org>
Fri, 27 Apr 2007 15:31:27 +0000 (12:31 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 27 Apr 2007 18:44:00 +0000 (15:44 -0300)
commitafdc608a2e4dde64e5bbb05d7be3a9208683c82c
tree6980569b48a7fe9ecd1c91c952556bdf6acea664
parent26e8137de3eda7c0f3a65462ea87e87b8feb1818
V4L/DVB (5360): Dvb-pll: Use sizeof() to get name length

Better to use sizeof() to get the size of the output buffer for the tuner
name, instead of just hard coding 128.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/frontends/dvb-pll.c