• M
    [media] ivtv: fix two smatch warnings · 5cbe9f3a
    Mauro Carvalho Chehab 提交于
    Smatch currently produces two warnings:
    	drivers/media/pci/ivtv/ivtv-fileops.c:901 ivtv_v4l2_close() warn: suspicious bitop condition
    	drivers/media/pci/ivtv/ivtv-fileops.c:1026 ivtv_open() warn: suspicious bitop condition
    
    Those are false positives, but it is not hard to get rid of them by
    using a different way to evaluate the macro, splitting the logical
    boolean evaluation from the bitmap one.
    Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
    5cbe9f3a
ivtv-driver.h 30.1 KB