1. 28 Jul, 2017 9 commits
    • Armin Schoenlieb's avatar
      Staging: rtl8188eu: core: fix brace coding style issue in rtw_mlme_ext.c · c6117298
      Armin Schoenlieb authored
      This is a patch to the rtw_mlme_ext.c file that fixes up a brace error
      found by the checkpatch.pl tool
      Signed-off-by: default avatarArmin Schoenlieb <armetallica@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      c6117298
    • Colin Ian King's avatar
      staging: rtl8192u: fix spelling mistake: "Senondary" -> "Secondary" · 00074ad3
      Colin Ian King authored
      Trivial fix to spelling mistake in IEEE80211_DEBUG message
      Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      00074ad3
    • Colin Ian King's avatar
      staging: rtl8192u: fix incorrect mask and shift on u8 data · d8acde4d
      Colin Ian King authored
      The cfg_action bit comes from the high bit of pmsg[4] so the
      current mask and shift are in correct and always result in
      zero.  Fix this by using the correct mask and shif to get the
      correct cfg_action bit value.
      
      Detected by CoverityScan, CID#142890 ("Operands don't affect result")
      Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      d8acde4d
    • Munir Contractor's avatar
      staging: rtl8188eu: Move { after function to new line · ce2b0f56
      Munir Contractor authored
      Fix an error detected by checkpatch.pl on line 75 and move the opening
      brace after the function signature to a new line.
      Signed-off-by: default avatarMunir Contractor <munircontractor@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      ce2b0f56
    • Deb McLemore's avatar
      staging: greybus: Fix coding style issue for column width · 03b7b689
      Deb McLemore authored
      checkpatch.pl line over 80 characters so fix the formatting
      for coding style compliance.
      Signed-off-by: default avatarDeb McLemore <debmc@linux.vnet.ibm.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      03b7b689
    • Amitoj Kaur Chawla's avatar
      staging: greybus: Remove unnecessary platform_set_drvdata · 100330ec
      Amitoj Kaur Chawla authored
      Unnecessary platform_set_drvdata() has been removed since the driver
      core clears the driver data to NULL after device release or on
      probe failure. There is no need to manually clear the device
      driver data to NULL.
      
      The Coccinelle semantic patch used to make this change is as follows:
      //<smpl>
      @@
      struct platform_device *pdev;
      @@
      - platform_set_drvdata(pdev, NULL);
      //</smpl>
      Signed-off-by: default avatarAmitoj Kaur Chawla <amitoj1606@gmail.com>
      Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      100330ec
    • Diwakar Sharma's avatar
      staging: greybus: fix parenthesis alignments · 0c85ae28
      Diwakar Sharma authored
      Parenthesis alignment issues reported by checkpatch,
      fixed here.
      Signed-off-by: default avatarDiwakar Sharma <sharmalxmail@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      0c85ae28
    • Arvind Yadav's avatar
      staging: unisys: visorbus: Constify attribute_group structures. · 1722270b
      Arvind Yadav authored
      attribute_group are not supposed to change at runtime. All functions
      working with attribute_group provided by <linux/sysfs.h> work
      with const attribute_group. So mark the non-const structs as const.
      Signed-off-by: default avatarArvind Yadav <arvind.yadav.cs@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      1722270b
    • Greg Kroah-Hartman's avatar
      Merge tag 'iio-for-4.14a' of... · 98c2f10d
      Greg Kroah-Hartman authored
      Merge tag 'iio-for-4.14a' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-next
      
      Jonathan writes:
      
      First round of IIO new device support, features and cleanups for the 4.14 cycle.
      
      4 completely new drivers in this set and plenty of other stuff.
      
      One ABI change due to a silly mistake a long time back. Hopefully no
      one will notice.  It effects the numerical order of consumer device
      channels which was the reverse of the obvious.  It's going the slow
      way to allow us some margin to spot if we have broken userspace or
      not (seems unlikely)
      
      New Device Support
      * ccs811
        - new driver for the Volatile Organic Compounds (VOC) sensor.
      * dln2 adc
        - new driver for the ADC on this flexible usb board.
      * EP93xx
        - new driver for this Cirrus logic SoC ADC.
      * ltc2471
        - new ADC driver support the ltc2471 and ltc2473
      * st_accel
        - add trivial table entries to support H3LIS331DL, LIS331DL, LIS3LV02DL.
      * st_gyro
        - add L3GD20H support (again) having fixed the various things that were
          broken in the first try.  Includes devicetree binding.
      * stm32 dac
        - add support for the DACs in the STM32F4 series
      
      Features
      * Documentation
        - add missing power attribute documentation to the ABI docs.
      * at91-sama5d2
        - add hardware trigger and buffered capture support with bindings.
        - suspend and resume functionality.
      * bmc150
        - support for the BOSC0200 ACPI device id seen on some tablets.
      * hdc100x
        - devicetree bindings
        - document supported devices
        - match table and device ids.
      * hts221
        - support active low interrupts (with bindings)
        - open drain mode with bindings.
      * htu21
        - OF match table and bindings.
      * lsm6dsx
        - open drain mode with bindings
      * ltc2497
        - add support for board file based consumer mapping.
      * ms5367
        - OF match table and bindings.
      * mt7622
        - binding document and OF match table.
        - suspend and resume support.
      * rpr0521
        - triggered buffer support.
      * tsys01
        - OF match table and bindings.
      
      Cleanups and minor fixes
      * core
        - fix ordering of IIO channels to entry numbers when using
          iio_map_array_register rather than reversing them.
        - use the new %pOF format specifier rather than full name for the
          device tree nodes.
      * ad7280a
        - fix potential issue with macro argument reuse.
      * ad7766
        - drop a pointless NULL value check as it's done in the gpiod code.
      * adis16400
        - unsigned -> unsigned int.
      * at91 adc
        - make some init data static to reduce code size.
      * at91-sama5d2 ADC
        - make some init data static to reduce code size.
      * da311
        - make some init data static to reduce code size.
      * hid-sensor-rotation
        - drop an unnecessary static.
      * hts221
        - refactor the write_with_mask code.
        - move the BDU configuration to probe time as there is no reason for it
          to change.
        - avoid overwriting reserved data during power-down.  This is a fix, but
          the infrastructure need was too invasive to send it to mainline except
          in a merge window.  It's not a regression as it was always wrong.
        - avoid reconfigure the sampling frequency multiple times by just
          doing it in the write_raw function directly.
        - refactor the power_on/off calls into a set_enable.
        - move the dry-enable logic into trig_set_state as that is the only
          place it was used.
      * ina219
        - fix polling of ina226 conversion ready flag.
      * imx7d
        - add vendor name in kconfig for consistency with similar parts.
      * mcp3422
        - Change initial channel to 0 as it feels more logical.
        - Check for some errors in probe.
      * meson-saradc
        - add a check of of_match_device return value.
      * mpu3050
        - allow open drain for any interrupt type.
      * rockchip adc
        - add check on of_match_device return value.
      * sca3000
        - drop a trailing whitespace.
      * stm32 adc
        - make array stm32h7_adc_ckmodes_spec static.
      * stm32 dac
        - fix an error message.
      * stm32 timers
        - fix clock name in docs to match reality after changes.
      * st_accel
        - explicit OF table (spi).
        - add missing entries to OF table (i2c).
        - rename of_device_id table to drop the part name.
        - adding missing lis3l02dq entry to bindings.
        - rename H3LIS331DL_DRIVER_NAME to line up with similar entries in driver.
      * st_gyro
        - explicit OF table (spi).
      * st_magn
        - explicit OF table (spi).
        - enable multiread for lis3mdl.
      * st_pressure
        - explicit OF table (spi).
      * st_sensors common.
        - move st_sensors_of_i2c_probe and rename to make it available for spi
        drivers.
      * tsc3472
        - don't write an extra byte when writing the ATIME register.
        - add a link to the datasheet.
      * tsl2x7x - continued staging cleanups
        - add of_match_table.
        - drop redundant power_state sysfs attribute.
        - drop wrapper tsl2x7x_i2c_read.
        - clean up i2c calls made in tsl2x7x_als_calibrate.
        - refactor the read and write _event_value callbacks to handle additional
          elements.
        - use usleep_range instead of mdelay.
        - check return value from tsl2x7x_invoke_change.
      * zpa2326
        - add some newline to the end of logging macros.
      98c2f10d
  2. 25 Jul, 2017 4 commits
  3. 24 Jul, 2017 1 commit
  4. 23 Jul, 2017 8 commits
  5. 22 Jul, 2017 16 commits
  6. 21 Jul, 2017 2 commits
    • Linus Torvalds's avatar
      Merge tag 'nfs-for-4.13-2' of git://git.linux-nfs.org/projects/anna/linux-nfs · 505d5c11
      Linus Torvalds authored
      Pull NFS client bugfixes from Anna Schumaker:
       "Stable bugfix:
         - Fix error reporting regression
      
        Bugfixes:
         - Fix setting filelayout ds address race
         - Fix subtle access bug when using ACLs
         - Fix setting mnt3_counts array size
         - Fix a couple of pNFS commit races"
      
      * tag 'nfs-for-4.13-2' of git://git.linux-nfs.org/projects/anna/linux-nfs:
        NFS/filelayout: Fix racy setting of fl->dsaddr in filelayout_check_deviceid()
        NFS: Be more careful about mapping file permissions
        NFS: Store the raw NFS access mask in the inode's access cache
        NFSv3: Convert nfs3_proc_access() to use nfs_access_set_mask()
        NFS: Refactor NFS access to kernel access mask calculation
        net/sunrpc/xprt_sock: fix regression in connection error reporting.
        nfs: count correct array for mnt3_counts array size
        Revert commit 722f0b89 ("pNFS: Don't send COMMITs to the DSes if...")
        pNFS/flexfiles: Handle expired layout segments in ff_layout_initiate_commit()
        NFS: Fix another COMMIT race in pNFS
        NFS: Fix a COMMIT race in pNFS
        mount: copy the port field into the cloned nfs_server structure.
        NFS: Don't run wake_up_bit() when nobody is waiting...
        nfs: add export operations
      505d5c11
    • Linus Torvalds's avatar
      Merge branch 'overlayfs-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs · 99313414
      Linus Torvalds authored
      Pull overlayfs fixes from Miklos Szeredi:
       "This fixes a crash with SELinux and several other old and new bugs"
      
      * 'overlayfs-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs:
        ovl: check for bad and whiteout index on lookup
        ovl: do not cleanup directory and whiteout index entries
        ovl: fix xattr get and set with selinux
        ovl: remove unneeded check for IS_ERR()
        ovl: fix origin verification of index dir
        ovl: mark parent impure on ovl_link()
        ovl: fix random return value on mount
      99313414