06 Jun, 2013

1 commit

  • Since we have at least one user of this function outside of CONFIG_NET
    scope, we have to provide this function independently. The proposed
    solution is to move it under lib/net_utils.c with corresponding
    configuration variable and select wherever it is needed.

    Signed-off-by: Andy Shevchenko
    Reported-by: Arnd Bergmann
    Acked-by: David S. Miller
    Acked-by: Arnd Bergmann
    Signed-off-by: Greg Kroah-Hartman

    Andy Shevchenko
     

04 Jun, 2013

9 commits

  • We have mac_pton() helper to parse MAC addresses.

    Signed-off-by: Andy Shevchenko
    Acked-by: Arnd Bergmann
    Signed-off-by: Greg Kroah-Hartman

    Andy Shevchenko
     
  • Fix to return a negative error code in the clk_get_sys() and clk_enable()
    error handling case instead of 0, as done elsewhere in this function.

    Signed-off-by: Wei Yongjun
    Acked-by: Arnd Bergmann
    Signed-off-by: Greg Kroah-Hartman

    Wei Yongjun
     
  • Close "fd" file descriptor when is goes out of scope so it does
    not leak.

    Signed-off-by: Tomas Hozza
    Acked-by: K. Y. Srinivasan
    Signed-off-by: Greg Kroah-Hartman

    Tomas Hozza
     
  • Check return value of strchr call and dereference it only if it is
    not NULL.

    Signed-off-by: Tomas Hozza
    Acked-by: K. Y. Srinivasan
    Signed-off-by: Greg Kroah-Hartman

    Tomas Hozza
     
  • Check return value of poll call and if it fails print error
    to the system log. If errno is EINVAL then exit with non-zero
    value otherwise continue the while loop and call poll again.

    Signed-off-by: Tomas Hozza
    Acked-by: K. Y. Srinivasan
    Signed-off-by: Greg Kroah-Hartman

    Tomas Hozza
     
  • Check return value of setsockopt call and if it fails print error
    to the system log and exit with non-zero value.

    Signed-off-by: Tomas Hozza
    Acked-by: K. Y. Srinivasan
    Signed-off-by: Greg Kroah-Hartman

    Tomas Hozza
     
  • In preparation for supporting synthetic Fiber Channel device, add the GUID for
    this service.

    Signed-off-by: K. Y. Srinivasan
    Reviewed-by: Haiyang Zhang
    Signed-off-by: Greg Kroah-Hartman

    K. Y. Srinivasan
     
  • Starting with Win8, the host supports multiple sub-channels for a given
    device. As in the past, the initial channel offer specifies the device and
    is associated with both the type and the instance GUIDs. For performance
    critical devices, the host may support multiple sub-channels. The sub-channels
    share the same type and instance GUID as the primary channel. The number of
    sub-channels offerrred to the guest depends on the number of virtual CPUs
    assigned to the guest. The guest can request the creation of these sub-channels
    and once created and opened, the guest can distribute the traffic across all
    the channels (the primary and the sub-channels). A request sent on a sub-channel
    will have the response delivered on the same sub-channel.

    At channel (sub-channel) creation we bind the channel interrupt to a CPU and
    with this sub-channel support we will be able to spread the interrupt load
    of a given device across all available CPUs.

    Signed-off-by: K. Y. Srinivasan
    Reviewed-by: Haiyang Zhang
    Signed-off-by: Greg Kroah-Hartman

    K. Y. Srinivasan
     
  • This patch allows the 1-wire bus to autoload the corresponding module
    for each slave being attached.
    This works similar to bluetooth protocols.

    Signed-off-by: Alexander Stein
    Signed-off-by: Greg Kroah-Hartman

    Alexander Stein
     

30 May, 2013

22 commits


27 May, 2013

7 commits

  • We want the changes in here.

    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     
  • Linus Torvalds
     
  • do_smart_update_queue() is called when an operation (semop,
    semctl(SETVAL), semctl(SETALL), ...) modified the array. It must check
    which of the sleeping tasks can proceed.

    do_smart_update_queue() missed a few wakeups:
    - if a sleeping complex op was completed, then all per-semaphore queues
    must be scanned - not only those that were modified by *sops
    - if a sleeping simple op proceeded, then the global queue must be
    scanned again

    And:
    - the test for "|sops == NULL) before scanning the global queue is not
    required: If the global queue is empty, then it doesn't need to be
    scanned - regardless of the reason for calling do_smart_update_queue()

    The patch is not optimized, i.e. even completing a wait-for-zero
    operation causes a rescan. This is done to keep the patch as simple as
    possible.

    Signed-off-by: Manfred Spraul
    Acked-by: Davidlohr Bueso
    Cc: Rik van Riel
    Cc: Andrew Morton
    Signed-off-by: Linus Torvalds

    Manfred Spraul
     
  • Pull NFS client bugfixes from Trond Myklebust:

    - Stable fix to prevent an rpc_task wakeup race
    - Fix a NFSv4.1 session drain deadlock
    - Fix a NFSv4/v4.1 mount regression when not running rpc.gssd
    - Ensure auth_gss pipe detection works in namespaces
    - Fix SETCLIENTID fallback if rpcsec_gss is not available

    * tag 'nfs-for-3.10-3' of git://git.linux-nfs.org/projects/trondmy/linux-nfs:
    NFS: Fix SETCLIENTID fallback if GSS is not available
    SUNRPC: Prevent an rpc_task wakeup race
    NFSv4.1 Fix a pNFS session draining deadlock
    SUNRPC: Convert auth_gss pipe detection to work in namespaces
    SUNRPC: Faster detection if gssd is actually running
    SUNRPC: Fix a bug in gss_create_upcall

    Linus Torvalds
     
  • Pull amd64 edac fix from Borislav Petkov:
    "A sysfs file permissions correction"

    * tag 'edac_fixes_for_3.10' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp:
    amd64_edac: Fix bogus sysfs file permissions

    Linus Torvalds
     
  • Pull parisc fixes from Helge Deller:
    "This time we made the kernel- and interruption stack allocation
    reentrant which fixed some strange kernel crashes (specifically
    protection ID traps).

    Furthemore this patchset fixes the interrupt stack in UP and SMP
    configurations by using native locking instructions. And finally
    usage of floating point calculations on parisc were disabled in the
    MPILIB."

    * 'parisc-for-3.10' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux:
    parisc: fix irq stack on UP and SMP
    parisc/superio: Use module_pci_driver to register driver
    parisc: make interrupt and interruption stack allocation reentrant
    parisc: show number of FPE and unaligned access handler calls in /proc/interrupts
    parisc: add additional parisc git tree to MAINTAINERS file
    parisc: use PAGE_SHIFT instead of hardcoded value 12 in pacache.S
    parisc: add rp5470 entry to machine database
    MPILIB: disable usage of floating point registers on parisc

    Linus Torvalds
     
  • Pull xfs fixes from Ben Myers:
    "Here are fixes for corruption on 512 byte filesystems, a rounding
    error, a use-after-free, some flags to fix lockdep reports, and
    several fixes related to CRCs. We have a somewhat larger post -rc1
    queue than usual due to fixes related to the CRC feature we merged for
    3.10:

    - Fix for corruption with FSX on 512 byte blocksize filesystems
    - Fix rounding error in xfs_free_file_space
    - Fix use-after-free with extent free intents
    - Add several missing KM_NOFS flags to fix lockdep reports
    - Several fixes for CRC related code"

    * tag 'for-linus-v3.10-rc3' of git://oss.sgi.com/xfs/xfs:
    xfs: remote attribute lookups require the value length
    xfs: xfs_attr_shortform_allfit() does not handle attr3 format.
    xfs: xfs_da3_node_read_verify() doesn't handle XFS_ATTR3_LEAF_MAGIC
    xfs: fix missing KM_NOFS tags to keep lockdep happy
    xfs: Don't reference the EFI after it is freed
    xfs: fix rounding in xfs_free_file_space
    xfs: fix sub-page blocksize data integrity writes

    Linus Torvalds
     

26 May, 2013

1 commit

  • Pull bettery fixes from Anton Vorontsov:
    "Last minute one-liners: wrong kfree usage fix, module alias fixup and
    kconfig adjustments"

    * tag 'for-v3.10-fixes' of git://git.infradead.org/battery-2.6:
    pm2301_charger: Fix module alias prefix
    wm831x_backup: Fix wrong kfree call for devdata->backup.name
    bq27x00: Fix I2C dependency in KConfig
    lp8788-charger: Fix kconfig dependency

    Linus Torvalds