1. 01 May, 2015 3 commits
  2. 30 Apr, 2015 32 commits
  3. 28 Apr, 2015 5 commits
    • Hans Verkuil's avatar
      [media] radio-bcm2048: fix compiler warning · bb17141c
      Hans Verkuil authored
      radio-bcm2048.c: In function 'bcm2048_i2c_driver_probe':
      radio-bcm2048.c:2597:11: warning: variable 'skip_release' set but not used [-Wunused-but-set-variable]
        int err, skip_release = 0;
                   ^
      Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
      bb17141c
    • Mauro Carvalho Chehab's avatar
      [media] dib8000: fix compiler warning · 21de82e3
      Mauro Carvalho Chehab authored
      In file included from include/uapi/linux/posix_types.h:4:0,
                       from include/uapi/linux/types.h:13,
                       from include/linux/types.h:5,
                       from include/uapi/linux/sysinfo.h:4,
                       from include/uapi/linux/kernel.h:4,
                       from include/linux/cache.h:4,
                       from include/linux/time.h:4,
                       from include/linux/input.h:11,
                       from drivers/media/usb/dvb-usb/dvb-usb.h:13,
                       from drivers/media/usb/dvb-usb/dib0700.h:13,
                       from drivers/media/usb/dvb-usb/dib0700_devices.c:9:
      drivers/media/dvb-frontends/dib8000.h: In function 'dib8000_attach':
      include/linux/stddef.h:8:14: warning: return makes integer from pointer without a cast [-Wint-conversion]
       #define NULL ((void *)0)
                    ^
      drivers/media/dvb-frontends/dib8000.h:72:9: note: in expansion of macro 'NULL'
        return NULL;
               ^
      Reported-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
      21de82e3
    • Hans Verkuil's avatar
      [media] cx24123/mb86a20s/s921: fix compiler warnings · 8b012fc9
      Hans Verkuil authored
      In file included from drivers/media/common/b2c2/flexcop-fe-tuner.c:13:0:
      drivers/media/dvb-frontends/cx24123.h:54:2: warning: 'cx24123_get_tuner_i2c_adapter' defined but not used [-Wunused-function]
        cx24123_get_tuner_i2c_adapter(struct dvb_frontend *fe)
        ^
      In file included from drivers/media/usb/em28xx/em28xx-dvb.c:46:0:
      drivers/media/dvb-frontends/s921.h:40:2: warning: 's921_get_tuner_i2c_adapter' defined but not used [-Wunused-function]
        s921_get_tuner_i2c_adapter(struct dvb_frontend *fe)
        ^
      In file included from drivers/media/usb/em28xx/em28xx-dvb.c:55:0:
      drivers/media/dvb-frontends/mb86a20s.h:49:2: warning: 'mb86a20s_get_tuner_i2c_adapter' defined but not used [-Wunused-function]
        mb86a20s_get_tuner_i2c_adapter(struct dvb_frontend *fe)
        ^
      In file included from drivers/media/usb/cx231xx/cx231xx-dvb.c:35:0:
      drivers/media/dvb-frontends/mb86a20s.h:49:2: warning: 'mb86a20s_get_tuner_i2c_adapter' defined but not used [-Wunused-function]
        mb86a20s_get_tuner_i2c_adapter(struct dvb_frontend *fe)
        ^
      Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
      8b012fc9
    • Hans Verkuil's avatar
      [media] s3c-camif: fix compiler warnings · 7e0d4e92
      Hans Verkuil authored
      Fix these compiler warnings that appeared after switching to gcc-5.1.0:
      
      drivers/media/platform/s3c-camif/camif-capture.c: In function 'sensor_set_power':
      drivers/media/platform/s3c-camif/camif-capture.c:118:10: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
        if (!on == camif->sensor.power_count)
                ^
      drivers/media/platform/s3c-camif/camif-capture.c: In function 'sensor_set_streaming':
      drivers/media/platform/s3c-camif/camif-capture.c:134:10: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
        if (!on == camif->sensor.stream_count)
                ^
      Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
      Cc: Kamil Debski <k.debski@samsung.com>
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
      7e0d4e92
    • Hans Verkuil's avatar
      [media] s5c73m3/s5k5baf/s5k6aa: fix compiler warnings · 874c65f0
      Hans Verkuil authored
      Fix these compiler warnings that appeared after switching to gcc-5.1.0:
      
      drivers/media/i2c/s5k5baf.c: In function 's5k5baf_set_power':
      drivers/media/i2c/s5k5baf.c:1057:10: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
        if (!on != state->power)
                ^
      drivers/media/i2c/s5k6aa.c: In function 's5k6aa_set_power':
      drivers/media/i2c/s5k6aa.c:878:10: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
        if (!on == s5k6aa->power) {
                ^
      drivers/media/i2c/s5c73m3/s5c73m3-core.c: In function 's5c73m3_oif_set_power':
      drivers/media/i2c/s5c73m3/s5c73m3-core.c:1456:17: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
        } else if (!on == state->power) {
                       ^
      Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
      Cc: Kamil Debski <k.debski@samsung.com>
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
      874c65f0