1. 14 Aug, 2014 1 commit
  2. 08 Aug, 2014 1 commit
  3. 07 Aug, 2014 14 commits
  4. 02 Aug, 2014 3 commits
    • Teodora Baluta's avatar
      staging: iio: adis16240: fix sparse warnings regarding incorrect argument type · 7557138a
      Teodora Baluta authored
      Silence the following sparse warnings by changing cast from u16 to
      __be16:
      
        CHECK   drivers/staging/iio/accel/adis16240_core.c
      drivers/staging/iio/accel/adis16240_core.c:128:51: warning: incorrect
      type in argument 3 (different signedness)
      drivers/staging/iio/accel/adis16240_core.c:128:51:    expected unsigned
      short [usertype] *val
      drivers/staging/iio/accel/adis16240_core.c:128:51:    got signed short
      *<noident>
      drivers/staging/iio/accel/adis16240_core.c:142:51: warning: incorrect
      type in argument 3 (different signedness)
      drivers/staging/iio/accel/adis16240_core.c:142:51:    expected unsigned
      short [usertype] *val
      drivers/staging/iio/accel/adis16240_core.c:142:51:    got signed short
      *<noident>
      Signed-off-by: default avatarTeodora Baluta <teodora.baluta@intel.com>
      Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
      7557138a
    • Teodora Baluta's avatar
      staging: iio: isl29018: fix sparse warning regarding incorrect type (different signedness) · 18210923
      Teodora Baluta authored
      Fix the following sparse warning:
      
      drivers/staging/iio/light/isl29018.c:508:50: warning: incorrect type in
      argument 3 (different signedness)
      drivers/staging/iio/light/isl29018.c:508:50:    expected unsigned int
      *conf_adc_bit
      drivers/staging/iio/light/isl29018.c:508:50:    got int *<noident>
      Signed-off-by: default avatarTeodora Baluta <teodora.baluta@intel.com>
      Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
      18210923
    • Teodora Baluta's avatar
      staging: iio: hmc5843_core: fix sparse warnings · 883fc268
      Teodora Baluta authored
      Fix the following sparse warnings:
      
       CHECK   drivers/staging/iio/magnetometer/hmc5843_core.c
      drivers/staging/iio/magnetometer/hmc5843_core.c:138:70: warning:
      incorrect type in argument 3 (different signedness)
      drivers/staging/iio/magnetometer/hmc5843_core.c:138:70:    expected
      unsigned int *val
      drivers/staging/iio/magnetometer/hmc5843_core.c:138:70:    got int
      *<noident>
      drivers/staging/iio/magnetometer/hmc5843_core.c:215:64: warning:
      incorrect type in argument 3 (different signedness)
      drivers/staging/iio/magnetometer/hmc5843_core.c:215:64:    expected
      unsigned int *val
      drivers/staging/iio/magnetometer/hmc5843_core.c:215:64:    got int
      *<noident>
      drivers/staging/iio/magnetometer/hmc5843_core.c:354:72: warning:
      incorrect type in argument 3 (different signedness)
      drivers/staging/iio/magnetometer/hmc5843_core.c:354:72:    expected
      unsigned int *val
      drivers/staging/iio/magnetometer/hmc5843_core.c:354:72:    got int
      *<noident>
      drivers/staging/iio/magnetometer/hmc5843_core.c:362:72: warning:
      incorrect type in argument 3 (different signedness)
      drivers/staging/iio/magnetometer/hmc5843_core.c:362:72:    expected
      unsigned int *val
      drivers/staging/iio/magnetometer/hmc5843_core.c:362:72:    got int
      *<noident>
      Signed-off-by: default avatarTeodora Baluta <teodora.baluta@intel.com>
      Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
      883fc268
  5. 01 Aug, 2014 1 commit
  6. 27 Jul, 2014 5 commits
    • Lars-Peter Clausen's avatar
      iio: buffer: Use roundup() instead of open-coding it · 61072dbc
      Lars-Peter Clausen authored
      Makes the code slightly shorter and a bit easier to understand.
      Signed-off-by: default avatarLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
      61072dbc
    • Teodora Baluta's avatar
      staging: iio: ad5933: fix sparse warnings · 7ddebf54
      Teodora Baluta authored
      Fix the following sparse warnings:
      
        CHECK   drivers/staging/iio/impedance-analyzer/ad5933.c
      drivers/staging/iio/impedance-analyzer/ad5933.c:241:17: warning:
      incorrect type in assignment (different base types)
      drivers/staging/iio/impedance-analyzer/ad5933.c:241:17:    expected
      unsigned int [unsigned] [usertype] d32
      drivers/staging/iio/impedance-analyzer/ad5933.c:241:17:    got
      restricted __be32 [usertype] <noident>
      drivers/staging/iio/impedance-analyzer/ad5933.c:263:13: warning:
      incorrect type in assignment (different base types)
      drivers/staging/iio/impedance-analyzer/ad5933.c:263:13:    expected
      unsigned short [unsigned] dat
      drivers/staging/iio/impedance-analyzer/ad5933.c:263:13:    got
      restricted __be16 [usertype] <noident>
      drivers/staging/iio/impedance-analyzer/ad5933.c:271:13: warning:
      incorrect type in assignment (different base types)
      drivers/staging/iio/impedance-analyzer/ad5933.c:271:13:    expected
      unsigned short [unsigned] [addressable] dat
      drivers/staging/iio/impedance-analyzer/ad5933.c:271:13:    got
      restricted __be16 [usertype] <noident>
      drivers/staging/iio/impedance-analyzer/ad5933.c:310:19: warning: cast to
      restricted __be32
      drivers/staging/iio/impedance-analyzer/ad5933.c:310:19: warning: cast to
      restricted __be32
      drivers/staging/iio/impedance-analyzer/ad5933.c:310:19: warning: cast to
      restricted __be32
      drivers/staging/iio/impedance-analyzer/ad5933.c:310:19: warning: cast to
      restricted __be32
      drivers/staging/iio/impedance-analyzer/ad5933.c:310:19: warning: cast to
      restricted __be32
      drivers/staging/iio/impedance-analyzer/ad5933.c:310:19: warning: cast to
      restricted __be32
      drivers/staging/iio/impedance-analyzer/ad5933.c:446:21: warning:
      incorrect type in assignment (different base types)
      drivers/staging/iio/impedance-analyzer/ad5933.c:446:21:    expected
      unsigned short [unsigned] dat
      drivers/staging/iio/impedance-analyzer/ad5933.c:446:21:    got
      restricted __be16 [usertype] <noident>
      drivers/staging/iio/impedance-analyzer/ad5933.c:454:21: warning:
      incorrect type in assignment (different base types)
      drivers/staging/iio/impedance-analyzer/ad5933.c:454:21:    expected
      unsigned short [unsigned] [addressable] dat
      drivers/staging/iio/impedance-analyzer/ad5933.c:454:21:    got
      restricted __be16 [usertype] <noident>
      drivers/staging/iio/impedance-analyzer/ad5933.c:548:23: warning: cast to
      restricted __be16
      drivers/staging/iio/impedance-analyzer/ad5933.c:548:23: warning: cast to
      restricted __be16
      drivers/staging/iio/impedance-analyzer/ad5933.c:548:23: warning: cast to
      restricted __be16
      drivers/staging/iio/impedance-analyzer/ad5933.c:548:23: warning: cast to
      restricted __be16
      Signed-off-by: default avatarTeodora Baluta <teodora.baluta@intel.com>
      Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
      7ddebf54
    • Philippe Reynes's avatar
      iio: add support of the max5821 · 47298897
      Philippe Reynes authored
      Signed-off-by: default avatarPhilippe Reynes <tremyfr@yahoo.fr>
      Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
      47298897
    • Reyad Attiyat's avatar
      iio: hid-sensor-magn-3d: Fix build warning · 03d79558
      Reyad Attiyat authored
      Fix build warning, sizeof() called on dynamically
      sized pointer, by removing the call and the dependent
      function parameter. It is not needed or used in this
      driver, when pushing values to an iio buffer.
      
      Changes from v1
      - Fix mistake in varible name
      Signed-off-by: default avatarReyad Attiyat <reyad.attiyat@gmail.com>
      Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
      03d79558
    • Cihangir Akturk's avatar
      staging: gdm724x: fix misplaced open braces · e010a2a0
      Cihangir Akturk authored
      This patch fixes the following checkpatch.pl issues in gdm_usb.c:
      ERROR: that open brace { should be on the previous line
      Signed-off-by: default avatarCihangir Akturk <cakturk@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      e010a2a0
  7. 26 Jul, 2014 1 commit
    • Jeff Oczek's avatar
      staging: rtl8188eu: Fix static symbol sparse warnings · 45c2fc82
      Jeff Oczek authored
      Fix sparse warnings:
      drivers/staging/rtl8188eu/core/rtw_cmd.c:52:5: warning:
        symbol '_rtw_enqueue_cmd' was not declared. Should it be static?
      drivers/staging/rtl8188eu/core/rtw_wlan_util.c:1225:5: warning:
        symbol 'wifirate2_ratetbl_inx' was not declared. Should it be static?
      drivers/staging/rtl8188eu/hal/HalPhyRf_8188e.c:25:4: warning:
        symbol 'ODM_GetRightChnlPlaceforIQK' was not declared. Should it be static?
      drivers/staging/rtl8188eu/os_dep/ioctl_linux.c:3109:5: warning:
        symbol 'rtw_ioctl' was not declared. Should it be static?
      Signed-off-by: default avatarJeff Oczek <jeffoczek@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      45c2fc82
  8. 24 Jul, 2014 14 commits