1. 26 Nov, 2013 3 commits
    • Malcolm Priestley's avatar
      staging: vt6656: Remove unused variable bLongHeader · 078d0cfd
      Malcolm Priestley authored
      Remove dead bLongHeader code.
      
      In s_vFillTxKey use ieee80211_has_a4 to detect long headers for future use.
      Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      078d0cfd
    • Peng Tao's avatar
      staging/lustre: fix build error on i386-randconfig · ac550511
      Peng Tao authored
      kbuild test robot reported:
      
      All error/warnings:
      
         In file included from drivers/staging/lustre/lustre/llite/llite_internal.h:41:0,
                          from drivers/staging/lustre/lustre/llite/dcache.c:48:
      >> drivers/staging/lustre/lustre/llite/../include/lustre_disk.h:499:28: error: field 'lsi_bdi' has incomplete type
           struct backing_dev_info   lsi_bdi;     /* each client mountpoint needs
                                     ^
      --
         In file included from drivers/staging/lustre/lustre/llite/llite_lib.c:51:0:
      >> drivers/staging/lustre/lustre/llite/../include/lustre_disk.h:499:28: error: field 'lsi_bdi' has incomplete type
           struct backing_dev_info   lsi_bdi;     /* each client mountpoint needs
                                     ^
         drivers/staging/lustre/lustre/llite/llite_lib.c: In function 'll_bdi_register':
      >> drivers/staging/lustre/lustre/llite/llite_lib.c:953:5: error: dereferencing pointer to incomplete type
           bdi->name = "lustre";
              ^
      >> drivers/staging/lustre/lustre/llite/llite_lib.c:954:2: error: implicit declaration of function 'bdi_register' [-Werror=implicit-function-declaration]
           return bdi_register(bdi, NULL, "lustre-%d",
           ^
         drivers/staging/lustre/lustre/llite/llite_lib.c: In function 'll_fill_super':
      >> drivers/staging/lustre/lustre/llite/llite_lib.c:990:2: error: implicit declaration of function 'bdi_init' [-Werror=implicit-function-declaration]
           err = bdi_init(&lsi->lsi_bdi);
           ^
      >> drivers/staging/lustre/lustre/llite/llite_lib.c:994:30: error: 'BDI_CAP_MAP_COPY' undeclared (first use in this function)
           lsi->lsi_bdi.capabilities = BDI_CAP_MAP_COPY;
                                       ^
         drivers/staging/lustre/lustre/llite/llite_lib.c:994:30: note: each undeclared identifier is reported only once for each function it appears in
         drivers/staging/lustre/lustre/llite/llite_lib.c: In function 'll_put_super':
      >> drivers/staging/lustre/lustre/llite/llite_lib.c:1101:3: error: implicit declaration of function 'bdi_destroy' [-Werror=implicit-function-declaration]
            bdi_destroy(&lsi->lsi_bdi);
            ^
         cc1: some warnings being treated as errors
      Reported-by: default avatarFengguang Wu <fengguang.wu@intel.com>
      Cc: Andreas Dilger <andreas.dilger@intel.com>
      Signed-off-by: default avatarPeng Tao <bergwolf@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      ac550511
    • Greg Kroah-Hartman's avatar
      Merge tag 'iio-for-3.14a' of... · 3ce5ae8d
      Greg Kroah-Hartman authored
      Merge tag 'iio-for-3.14a' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-next
      
      Jonathan writes:
      
      First set of new features, drivers and cleanups for IIO in the 3.14 cycle.
      This mostly consists of patches that didn't quite make the last cycle. Lots
      of interesting things under review currently.
      
      Core:
      - Add devm_iio_device_register/unregister.  I took some convincing on whether
        there would be many devices that really were simple enough to need no
        explicit actions on removal.  Turns out there are some.
      - Move some stray docs to above the relevant implemenation.
      - Drop a redundant repeated check on the fact the trigger has actually changed
        when there is a userspace attempt change it.
      
      Drivers:
      New drivers
      - Freescale MPL3115A2 Pressure / temperature sensor
      
      New functionality
      - hid_sensors: add sensitivity support.
      
      DT bindings
      - tsl2563
      - hmc5843
      
      Cleanups
      - Drop unused scan_type from viperboard adc driver.
      - devm_iio_device_register used in viperboard, ad5421, ad5755, adis16130,
        adxrs450, vcnl4000, adis16220, ad7816, lpc32xx, adt7316, adis16060, isl29018
        and ad2s1200.  Note that this was proposed in a number of other drivers
        and this revealed a number of missorderings in remove functions.  Also for
        now I have blocked this on any device that any hardware suspend suport on
        the basis that we probably want to power down devices if they have no driver
        support loaded.
      3ce5ae8d
  2. 25 Nov, 2013 37 commits