Re: [PATCH] media: pt1: fix strncmp() size warning

2018-05-05 Thread Andy Shevchenko
On Sat, May 5, 2018 at 2:33 PM, Mauro Carvalho Chehab wrote: > As warned by smatch: > drivers/media/pci/pt1/pt1.c:213 config_demod() error: strncmp() > '"tc90522sat"' too small (11 vs 20) > > Use the same strncmp() syntax as pt1_init_frontends() does. > +

[PATCH] media: pt1: fix strncmp() size warning

2018-05-05 Thread Mauro Carvalho Chehab
As warned by smatch: drivers/media/pci/pt1/pt1.c:213 config_demod() error: strncmp() '"tc90522sat"' too small (11 vs 20) Use the same strncmp() syntax as pt1_init_frontends() does. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/pci/pt1/pt1.c | 3 ++-