]> git.karo-electronics.de Git - linux-beck.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)
commit982dd1bdaab39185ccd55cafd3c099b7fee5f2dd
tree6980569b48a7fe9ecd1c91c952556bdf6acea664
parent51dec1f1abef9771d9085c2336234b28b3e78821
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