1. 28 Jul, 2017 6 commits
    • 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 5 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
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.dk/linux-block · 0151ef00
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
       "A small set of fixes for -rc2 - two fixes for BFQ, documentation and
        code, and a removal of an unused variable in nbd. Outside of that, a
        small collection of fixes from the usual crew on the nvme side"
      
      * 'for-linus' of git://git.kernel.dk/linux-block:
        nvmet: don't report 0-bytes in serial number
        nvmet: preserve controller serial number between reboots
        nvmet: Move serial number from controller to subsystem
        nvmet: prefix version configfs file with attr
        nvme-pci: Fix an error handling path in 'nvme_probe()'
        nvme-pci: Remove nvme_setup_prps BUG_ON
        nvme-pci: add another device ID with stripe quirk
        nvmet-fc: fix byte swapping in nvmet_fc_ls_create_association
        nvme: fix byte swapping in the streams code
        nbd: kill unused ret in recv_work
        bfq: dispatch request to prevent queue stalling after the request completion
        bfq: fix typos in comments about B-WF2Q+ algorithm
      0151ef00
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma · bb236dbe
      Linus Torvalds authored
      Pull more rdma fixes from Doug Ledford:
       "As per my previous pull request, there were two drivers that each had
        a rather large number of legitimate fixes still to be sent.
      
        As it turned out, I also missed a reasonably large set of fixes from
        one person across the stack that are all important fixes. All in all,
        the bnxt_re, i40iw, and Dan Carpenter are 3/4 to 2/3rds of this pull
        request.
      
        There were some other random fixes that I didn't send in the last pull
        request that I added to this one. This catches the rdma stack up to
        the fixes from up to about the beginning of this week. Any more fixes
        I'll wait and batch up later in the -rc cycle. This will give us a
        good base to start with for basing a for-next branch on -rc2.
      
        Summary:
      
         - i40iw fixes
      
         - bnxt_re fixes
      
         - Dan Carpenter bugfixes across stack
      
         - ten more random fixes, no more than two from any one person"
      
      * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma: (37 commits)
        RDMA/core: Initialize port_num in qp_attr
        RDMA/uverbs: Fix the check for port number
        IB/cma: Fix reference count leak when no ipv4 addresses are set
        RDMA/iser: don't send an rkey if all data is written as immadiate-data
        rxe: fix broken receive queue draining
        RDMA/qedr: Prevent memory overrun in verbs' user responses
        iw_cxgb4: don't use WR keys/addrs for 0 byte reads
        IB/mlx4: Fix CM REQ retries in paravirt mode
        IB/rdmavt: Setting of QP timeout can overflow jiffies computation
        IB/core: Fix sparse warnings
        RDMA/bnxt_re: Fix the value reported for local ack delay
        RDMA/bnxt_re: Report MISSED_EVENTS in req_notify_cq
        RDMA/bnxt_re: Fix return value of poll routine
        RDMA/bnxt_re: Enable atomics only if host bios supports
        RDMA/bnxt_re: Specify RDMA component when allocating stats context
        RDMA/bnxt_re: Fixed the max_rd_atomic support for initiator and destination QP
        RDMA/bnxt_re: Report supported value to IB stack in query_device
        RDMA/bnxt_re: Do not free the ctx_tbl entry if delete GID fails
        RDMA/bnxt_re: Fix WQE Size posted to HW to prevent it from throwing error
        RDMA/bnxt_re: Free doorbell page index (DPI) during dealloc ucontext
        ...
      bb236dbe
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-for-v4.13-rc2' of git://people.freedesktop.org/~airlied/linux · 24a1635a
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "A bunch of fixes for rc2: two imx regressions, vc4 fix, dma-buf fix,
        some displayport mst fixes, and an amdkfd fix.
      
        Nothing too crazy, I assume we just haven't see much rc1 testing yet"
      
      * tag 'drm-fixes-for-v4.13-rc2' of git://people.freedesktop.org/~airlied/linux:
        drm/mst: Avoid processing partially received up/down message transactions
        drm/mst: Avoid dereferencing a NULL mstb in drm_dp_mst_handle_up_req()
        drm/mst: Fix error handling during MST sideband message reception
        drm/imx: parallel-display: Accept drm_of_find_panel_or_bridge failure
        drm/imx: fix typo in ipu_plane_formats[]
        drm/vc4: Fix VBLANK handling in crtc->enable() path
        dma-buf/fence: Avoid use of uninitialised timestamp
        drm/amdgpu: Remove unused field kgd2kfd_shared_resources.num_mec
        drm/radeon: Remove initialization of shared_resources.num_mec
        drm/amdkfd: Remove unused references to shared_resources.num_mec
        drm/amdgpu: Fix KFD oversubscription by tracking queues correctly
      24a1635a