• H
    V4L/DVB (7746): pvrusb2: make signed one-bit bitfields unsigned · 0e3cbe81
    Harvey Harrison 提交于
    Single-bit signed bitfields can only take 0/-1 rather than 0/1 as the
    drivers seems to assume...add unsigned.
    Noticed by sparse:
    drivers/media/video/pvrusb2/pvrusb2-devattr.h:107:34: error: dubious one-bit signed bitfield
    drivers/media/video/pvrusb2/pvrusb2-devattr.h:114:37: error: dubious one-bit signed bitfield
    drivers/media/video/pvrusb2/pvrusb2-devattr.h:117:30: error: dubious one-bit signed bitfield
    drivers/media/video/pvrusb2/pvrusb2-devattr.h:120:23: error: dubious one-bit signed bitfield
    drivers/media/video/pvrusb2/pvrusb2-devattr.h:124:24: error: dubious one-bit signed bitfield
    drivers/media/video/pvrusb2/pvrusb2-devattr.h:128:23: error: dubious one-bit signed bitfield
    drivers/media/video/pvrusb2/pvrusb2-devattr.h:138:36: error: dubious one-bit signed bitfield
    drivers/media/video/pvrusb2/pvrusb2-devattr.h:143:24: error: dubious one-bit signed bitfield
    drivers/media/video/pvrusb2/pvrusb2-devattr.h:144:28: error: dubious one-bit signed bitfield
    drivers/media/video/pvrusb2/pvrusb2-devattr.h:145:26: error: dubious one-bit signed bitfield
    drivers/media/video/pvrusb2/pvrusb2-devattr.h:146:23: error: dubious one-bit signed bitfield
    Signed-off-by: NHarvey Harrison <harvey.harrison@gmail.com>
    Signed-off-by: NMike Isely <isely@pobox.com>
    Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
    0e3cbe81
pvrusb2-devattr.h 5.6 KB