1. 27 Jul, 2014 4 commits
    • 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
  2. 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
  3. 24 Jul, 2014 35 commits