1. 07 8月, 2014 11 次提交
  2. 03 8月, 2014 3 次提交
    • T
      staging: iio: adis16240: fix sparse warnings regarding incorrect argument type · 7557138a
      Teodora Baluta 提交于
      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: NTeodora Baluta <teodora.baluta@intel.com>
      Signed-off-by: NJonathan Cameron <jic23@kernel.org>
      7557138a
    • T
      staging: iio: isl29018: fix sparse warning regarding incorrect type (different signedness) · 18210923
      Teodora Baluta 提交于
      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: NTeodora Baluta <teodora.baluta@intel.com>
      Signed-off-by: NJonathan Cameron <jic23@kernel.org>
      18210923
    • T
      staging: iio: hmc5843_core: fix sparse warnings · 883fc268
      Teodora Baluta 提交于
      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: NTeodora Baluta <teodora.baluta@intel.com>
      Signed-off-by: NJonathan Cameron <jic23@kernel.org>
      883fc268
  3. 02 8月, 2014 1 次提交
  4. 28 7月, 2014 1 次提交
  5. 27 7月, 2014 5 次提交
    • T
      staging: iio: ad5933: fix sparse warnings · 7ddebf54
      Teodora Baluta 提交于
      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: NTeodora Baluta <teodora.baluta@intel.com>
      Signed-off-by: NJonathan Cameron <jic23@kernel.org>
      7ddebf54
    • P
      iio: add support of the max5821 · 47298897
      Philippe Reynes 提交于
      Signed-off-by: NPhilippe Reynes <tremyfr@yahoo.fr>
      Signed-off-by: NJonathan Cameron <jic23@kernel.org>
      47298897
    • R
      iio: hid-sensor-magn-3d: Fix build warning · 03d79558
      Reyad Attiyat 提交于
      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: NReyad Attiyat <reyad.attiyat@gmail.com>
      Signed-off-by: NJonathan Cameron <jic23@kernel.org>
      03d79558
    • C
      staging: gdm724x: fix misplaced open braces · e010a2a0
      Cihangir Akturk 提交于
      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: NCihangir Akturk <cakturk@gmail.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      e010a2a0
    • J
      staging: rtl8188eu: Fix static symbol sparse warnings · 45c2fc82
      Jeff Oczek 提交于
      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: NJeff Oczek <jeffoczek@gmail.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      45c2fc82
  6. 25 7月, 2014 19 次提交