diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-04-06 14:45:59 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-04-17 05:49:58 -0400 |
commit | 65c1167373449c60708109b89e3117edf0074c62 (patch) | |
tree | a1441c43a9b6d0a365b9f521eb99a799ad231837 /drivers/zorro/zorro.c | |
parent | 90d53d199ae19d5e71d57660d12a46544a503184 (diff) | |
download | linux-65c1167373449c60708109b89e3117edf0074c62.tar.gz linux-65c1167373449c60708109b89e3117edf0074c62.tar.bz2 linux-65c1167373449c60708109b89e3117edf0074c62.zip |
media: staging: atomisp: fix string comparation logic
it makes no sense to use strncmp() with a size with is
bigger than the string we're comparing with.
Fix those warnings:
drivers/staging/media/atomisp/pci/atomisp2/atomisp_fops.c:776 atomisp_open() error: strncmp() '"ATOMISP ISP ACC"' too small (16 vs 32)
drivers/staging/media/atomisp/pci/atomisp2/atomisp_fops.c:913 atomisp_release() error: strncmp() '"ATOMISP ISP ACC"' too small (16 vs 32)
drivers/staging/media/atomisp/pci/atomisp2/atomisp_ioctl.c:2751 atomisp_vidioc_default() error: strncmp() '"ATOMISP ISP ACC"' too small (16 vs 32)
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/zorro/zorro.c')
0 files changed, 0 insertions, 0 deletions