Skip to content
  1. Jun 03, 2011
  2. May 28, 2011
    • Linus Torvalds's avatar
      ALSA: fix hda AZX_DCAPS_NO_TCSEL quirk check in driver_caps · 46f2cc80
      Linus Torvalds authored
      Commit 9477c58e
      
       ("ALSA: hda - Reorganize controller quriks with bit
      flags") changed the driver type compares into various quirk bits.
      However, the check for AZX_DCAPS_NO_TCSEL got reverted: instead of
      clearing TCSEL for chipsets that have that standard capability, it
      cleared then when the NO_TCSEL bit was set.
      
      This can lead to noise and repeated sounds - a weird "echo" behavior.
      As the comment just above says: "Ensuring these bits are 0 clears
      playback static on some HD Audio codecs".  Which is definitely true at
      least on my Core i5 Westmere system.
      
      Cc: Takashi Iwai <tiwai@suse.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      46f2cc80
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6 · f23a5e14
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6:
        PM: Fix PM QOS's user mode interface to work with ASCII input
        PM / Hibernate: Update kerneldoc comments in hibernate.c
        PM / Hibernate: Remove arch_prepare_suspend()
        PM / Hibernate: Update some comments in core hibernate code
      f23a5e14
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6 · d24c2af4
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6:
        [CIFS] Follow on to cifsacl endian patch (__constant_cpu_to_le32 was required)
      d24c2af4
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable · a0c30610
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable: (58 commits)
        Btrfs: use the device_list_mutex during write_dev_supers
        Btrfs: setup free ino caching in a more asynchronous way
        btrfs scrub: don't coalesce pages that are logically discontiguous
        Btrfs: return -ENOMEM in clear_extent_bit
        Btrfs: add mount -o auto_defrag
        Btrfs: using rcu lock in the reader side of devices list
        Btrfs: drop unnecessary device lock
        Btrfs: fix the race between remove dev and alloc chunk
        Btrfs: fix the race between reading and updating devices
        Btrfs: fix bh leak on __btrfs_open_devices path
        Btrfs: fix unsafe usage of merge_state
        Btrfs: allocate extent state and check the result properly
        fs/btrfs: Add missing btrfs_free_path
        Btrfs: check return value of btrfs_inc_extent_ref()
        Btrfs: return error to caller if read_one_inode() fails
        Btrfs: BUG_ON is deleted from the caller of btrfs_truncate_item & btrfs_extend_item
        Btrfs: return error code to caller when btrfs_del_item fails
        Btrfs: return error code to caller when btrfs_previous_item fails
        btrfs: fix typo 'testeing' -> 'testing'
        btrfs: typo: 'btrfS' -> 'btrfs'
        ...
      a0c30610
    • Steve French's avatar
      [CIFS] Follow on to cifsacl endian patch (__constant_cpu_to_le32 was required) · 4f61258f
      Steve French authored
      As Jeff just pointed out, __constant_cpu_to_le32 was required instead of
      cpu_to_le32 in previous patch to cifsacl.c 383c5535
      
      
      (Fix endian error comparing authusers when cifsacl enabled)
      
      CC: Stable <stable@kernel.org>
      Reviewed-by: default avatarJeff Layton <jlayton@redhat.com>
      CC: Shirish Pargaonkar <shirishp@us.ibm.com>
      Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
      4f61258f
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 · 10799db6
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6:
        net: Kill ratelimit.h dependency in linux/net.h
        net: Add linux/sysctl.h includes where needed.
        net: Kill ether_table[] declaration.
        inetpeer: fix race in unused_list manipulations
        atm: expose ATM device index in sysfs
        IPVS: bug in ip_vs_ftp, same list heaad used in all netns.
        bug.h: Move ratelimit warn interfaces to ratelimit.h
        bonding: cleanup module option descriptions
        net:8021q:vlan.c Fix pr_info to just give the vlan fullname and version.
        net: davinci_emac: fix dev_err use at probe
        can: convert to %pK for kptr_restrict support
        net: fix ETHTOOL_SFEATURES compatibility with old ethtool_ops.set_flags
        netfilter: Fix several warnings in compat_mtw_from_user().
        netfilter: ipset: fix ip_set_flush return code
        netfilter: ipset: remove unused variable from type_pf_tdel()
        netfilter: ipset: Use proper timeout value to jiffies conversion
      10799db6
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ecryptfs/ecryptfs-2.6 · aaab1842
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ecryptfs/ecryptfs-2.6:
        MAINTAINERS: Update eCryptfs mailing list
        eCryptfs: Allow 2 scatterlist entries for encrypted filenames
        eCryptfs: Clear i_nlink in rmdir
      aaab1842
    • David S. Miller's avatar
      net: Kill ratelimit.h dependency in linux/net.h · c5c177b4
      David S. Miller authored
      
      
      Ingo Molnar noticed that we have this unnecessary ratelimit.h
      dependency in linux/net.h, which hid compilation problems from
      people doing builds only with CONFIG_NET enabled.
      
      Move this stuff out to a seperate net/net_ratelimit.h file and
      include that in the only two places where this thing is needed.
      
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      Acked-by: default avatarIngo Molnar <mingo@elte.hu>
      c5c177b4
    • David S. Miller's avatar
      net: Add linux/sysctl.h includes where needed. · bee95250
      David S. Miller authored
      
      
      Several networking headers were depending upon the implicit
      linux/sysctl.h include they get when including linux/net.h
      
      Add explicit includes.
      
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      bee95250
    • David S. Miller's avatar
      net: Kill ether_table[] declaration. · 9d931dd2
      David S. Miller authored
      
      
      This got missed back in 2006 when Jes Sorensen deleted
      net/ethernet/sysctl_net_ether.c
      
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      9d931dd2
    • Eric Dumazet's avatar
      inetpeer: fix race in unused_list manipulations · 686a7e32
      Eric Dumazet authored
      Several crashes in cleanup_once() were reported in recent kernels.
      
      Commit d6cc1d64
      
       (inetpeer: various changes) added a race in
      unlink_from_unused().
      
      One way to avoid taking unused_peers.lock before doing the list_empty()
      test is to catch 0->1 refcnt transitions, using full barrier atomic
      operations variants (atomic_cmpxchg() and atomic_inc_return()) instead
      of previous atomic_inc() and atomic_add_unless() variants.
      
      We then call unlink_from_unused() only for the owner of the 0->1
      transition.
      
      Add a new atomic_add_unless_return() static helper
      
      With help from Arun Sharma.
      
      Refs: https://bugzilla.kernel.org/show_bug.cgi?id=32772
      
      Reported-by: default avatarArun Sharma <asharma@fb.com>
      Reported-by: default avatarMaximilian Engelhardt <maxi@daemonizer.de>
      Reported-by: default avatarYann Dupont <Yann.Dupont@univ-nantes.fr>
      Reported-by: default avatarDenys Fedoryshchenko <denys@visp.net.lb>
      Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      686a7e32
    • Linus Torvalds's avatar
      Merge branch 'docs-move' of git://git.kernel.org/pub/scm/linux/kernel/git/rdunlap/linux-docs · e52e713e
      Linus Torvalds authored
      * 'docs-move' of git://git.kernel.org/pub/scm/linux/kernel/git/rdunlap/linux-docs:
        Create Documentation/security/, move LSM-, credentials-, and keys-related files from Documentation/   to Documentation/security/, add Documentation/security/00-INDEX, and update all occurrences of Documentation/<moved_file>   to Documentation/security/<moved_file>.
      e52e713e
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.dk/linux-2.6-block · bdf7cf1c
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.dk/linux-2.6-block:
        loop: export module parameters
        block: export blk_{get,put}_queue()
        block: remove unused variable in bio_attempt_front_merge()
        block: always allocate genhd->ev if check_events is implemented
        brd: export module parameters
        brd: fix comment on initial device creation
        brd: handle on-demand devices correctly
        brd: limit 'max_part' module param to DISK_MAX_PARTS
        brd: get rid of unused members from struct brd_device
        block: fix oops on !disk->queue and sysfs discard alignment display
      bdf7cf1c
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6 · 40efeb4d
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6:
        [CIFS] Fix endian error comparing authusers when cifsacl enabled
        [CIFS] Rename three structures to avoid camel case
        Fix extended security auth failure
        CIFS: Add rwpidforward mount option
        CIFS: Migrate to shared superblock model
        [CIFS] Migrate from prefixpath logic
        CIFS: Fix memory leak in cifs_do_mount
        [CIFS] When mandatory encryption on share, fail mount
        CIFS: Use pid saved from cifsFileInfo in writepages and set_file_size
        cifs: add cifs_async_writev
        cifs: clean up wsize negotiation and allow for larger wsize
        cifs: convert cifs_writepages to use async writes
        CIFS: Fix undefined behavior when mount fails
        cifs: don't call mid_q_entry->callback under the Global_MidLock (try #5)
        CIFS: Simplify mount code for further shared sb capability
        CIFS: Simplify connection structure search calls
        cifs: remove unused SMB2 config and mount options
        cifs: add ignore_pend flag to cifs_call_async
        cifs: make cifs_send_async take a kvec array
        cifs: consolidate SendReceive response checks
      40efeb4d
    • Linus Torvalds's avatar
      Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jlbec/ocfs2 · 81faae7f
      Linus Torvalds authored
      * 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jlbec/ocfs2:
        Ocfs2/move_extents: Validate moving goal after the adjustment.
        Ocfs2/move_extents: Avoid doing division in extent moving.
      81faae7f
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git390.marist.edu/pub/scm/linux-2.6 · 95948c31
      Linus Torvalds authored
      * 'for-linus' of git://git390.marist.edu/pub/scm/linux-2.6:
        [S390] mm: add ZONE_DMA to 31-bit config again
        [S390] mm: add page fault retry handling
        [S390] mm: handle kernel caused page fault oom situations
        [S390] delay: implement ndelay
        [S390] topology,sched: fix cpu_coregroup_mask/cpu_book_mask definitions
        [S390] hwsampler: allow cpu hotplug
        [S390] uaccess: turn __access_ok() into a define
        [S390] irq: merge irq.c and s390_ext.c
        [S390] irq: fix service signal external interrupt handling
        [S390] pfault: always enable service signal interrupt
      95948c31
    • Linus Torvalds's avatar
      Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc · 45acab01
      Linus Torvalds authored
      * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc:
        powerpc/fsl_rio: Error interrupt handler for sRIO on MPC85xx
        powerpc/fsl_rio: move machine_check handler
        powerpc/fsl_lbc: Add workaround for ELBC-A001 erratum
      45acab01
    • Linus Torvalds's avatar
      Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 · c0880dcd
      Linus Torvalds authored
      * 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6:
        [media] v1.88 DM04/QQBOX Move remote to use rc_core dvb-usb-remote
        [media] Add missing include guard to header file
        [media] Inlined functions should be static
        [media] Remove invalid parameter description
        [media] cpia2: fix warning about invalid trigraph sequence
        [media] s5p-csis: Add missing dependency on PLAT_S5P
        [media] gspca/kinect: wrap gspca_debug with GSPCA_DEBUG
        [media] fintek-cir: new driver for Fintek LPC SuperIO CIR function
        [media] uvcvideo: Connect video devices to media entities
        [media] uvcvideo: Register subdevices for each entity
        [media] uvcvideo: Register a v4l2_device
        [media] add V4L2-PIX-FMT-SRGGB12 & friends to docbook
        [media] Documentation/DocBook: Rename media fops xml files
        [media] Media DocBook: fix validation errors
        [media] wl12xx: g_volatile_ctrl fix: wrong field set
        [media] fix kconfig dependency warning for VIDEO_TIMBERDALE
        [media] dm1105: GPIO handling added, I2C on GPIO added, LNB control through GPIO reworked
        [media] Add support for M-5MOLS 8 Mega Pixel camera ISP
      c0880dcd
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lrg/voltage-2.6 · f7fc06e3
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lrg/voltage-2.6: (42 commits)
        regulator: Fix _regulator_get_voltage if get_voltage callback is NULL
        USB: TWL6025 allow different regulator name
        REGULATOR: TWL6025: add support to twl-regulator
        regulator: twl6030: do not write to _GRP for regulator disable
        regulator: twl6030: do not write to _GRP for regulator enable
        TPS65911: Comparator: Add comparator driver
        TPS65911: Add support for added GPIO lines
        GPIO: TPS65910: Move driver to drivers/gpio/
        TPS65911: Add new irq definitions
        regulator: tps65911: Add new chip version
        MFD: TPS65910: Add support for TPS65911 device
        regulator: Fix off-by-one value range checking for mc13xxx_regulator_get_voltage
        regulator: mc13892: Fix voltage unit in test case.
        regulator: Remove MAX8997_REG_BUCK1DVS/MAX8997_REG_BUCK2DVS/MAX8997_REG_BUCK5DVS macros
        mfd: Fix off-by-one value range checking for tps65910_i2c_write
        regulator: Only apply voltage constraints from consumers that set them
        regulator: If we can't configure optimum mode we're always in the best one
        regulator: max8997: remove useless code
        regulator: Fix memory leak in max8998_pmic_probe failure path
        regulator: Fix desc_id for tps65023/6507x/65910
        ...
      f7fc06e3
    • Linus Torvalds's avatar
      Merge git://git.infradead.org/battery-2.6 · ea0ca3a8
      Linus Torvalds authored
      * git://git.infradead.org/battery-2.6:
        PXA: Use dev_pm_ops in z2_battery
        ds2760_battery: Fix rated capacity of the hx4700 1800mAh battery
        ds2760_battery: Fix indexing of the 4 active full EEPROM registers
        power: Make test_power driver more dynamic.
        bq27x00_battery: Name of cycle count property
        max8903_charger: Add GENERIC_HARDIRQS as a dependency (fixes S390 build)
        ARM: RX-51: Enable isp1704 power on/off
        isp1704_charger: Allow board specific powering routine
        gpio-charger: Add gpio_charger_resume
        power_supply: Add driver for MAX8903 charger
      ea0ca3a8
    • Linus Torvalds's avatar
      Merge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/staging · 74e6392c
      Linus Torvalds authored
      * 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/staging:
        hwmon: (coretemp) Fix section mismatch
        hwmon: (pmbus) Initialize sysfs attributes
        hwmon: (coretemp) Update comments describing the handling of HT CPUs
        hwmon: (coretemp) Initialize sysfs attributes
      74e6392c
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 · 09cefbb6
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6: (26 commits)
        ASoC: Fix power down for widgetless per-card DAPM context case
        ASoC: wm1250-ev1: Define "WM1250 Output" with SND_SOC_DAPM_OUTPUT
        ASoC: Remove duplicate linux/delay.h inclusion.
        ASoC: sam9g20_wm8731: use the proper SYSCKL value
        ASoC: wm8731: fix wm8731_check_osc() connected condition
        ALSA: hda - Reorganize controller quriks with bit flags
        ALSA: hda - Use snd_printd() in snd_hda_parse_pin_def_config()
        ALSA: core: remove unused variables.
        ALSA: HDA: Increase MAX_HDMI_PINS
        ALSA: PCM - Don't check DMA time-out too shortly
        MAINTAINERS: add FireWire audio maintainer
        ALSA: usb-audio: more control quirks for M-Audio FastTrack devices
        ALSA: usb-audio: add new quirk type QUIRK_AUDIO_STANDARD_MIXER
        ALSA: usb-audio: export snd_usb_feature_unit_ctl
        ALSA: usb-audio: rework add_control_to_empty()
        ALSA: usb-audio: move assignment of chip->ctrl_intf
        ALSA: hda - Use model=auto for Lenovo G555
        ALSA: HDA: Unify HDMI hotplug handling.
        ALSA: hda - Force AD1988_6STACK_DIG for Asus M3N-HT Deluxe
        ASoC: core - remove superfluous new line.
        ...
      09cefbb6
    • Dan Williams's avatar
      atm: expose ATM device index in sysfs · e7a46b4d
      Dan Williams authored
      
      
      It's currently exposed only through /proc which, besides requiring
      screen-scraping, doesn't allow userspace to distinguish between two
      identical ATM adapters with different ATM indexes.  The ATM device index
      is required when using PPPoATM on a system with multiple ATM adapters.
      
      Signed-off-by: default avatarDan Williams <dcbw@redhat.com>
      Reviewed-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
      Tested-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
      Cc: stable@kernel.org
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      e7a46b4d
    • David S. Miller's avatar
    • Tyler Hicks's avatar
      MAINTAINERS: Update eCryptfs mailing list · a058bfbb
      Tyler Hicks authored
      
      
      The eCryptfs mailing list has moved from lists.launchpad.net to
      vger.kernel.org.
      
      Signed-off-by: default avatarTyler Hicks <tyhicks@linux.vnet.ibm.com>
      a058bfbb
    • Tyler Hicks's avatar
      eCryptfs: Allow 2 scatterlist entries for encrypted filenames · 8d08dab7
      Tyler Hicks authored
      
      
      The buffers allocated while encrypting and decrypting long filenames can
      sometimes straddle two pages. In this situation, virt_to_scatterlist()
      will return -ENOMEM, causing the operation to fail and the user will get
      scary error messages in their logs:
      
      kernel: ecryptfs_write_tag_70_packet: Internal error whilst attempting
      to convert filename memory to scatterlist; expected rc = 1; got rc =
      [-12]. block_aligned_filename_size = [272]
      kernel: ecryptfs_encrypt_filename: Error attempting to generate tag 70
      packet; rc = [-12]
      kernel: ecryptfs_encrypt_and_encode_filename: Error attempting to
      encrypt filename; rc = [-12]
      kernel: ecryptfs_lookup: Error attempting to encrypt and encode
      filename; rc = [-12]
      
      The solution is to allow up to 2 scatterlist entries to be used.
      
      Signed-off-by: default avatarTyler Hicks <tyhicks@linux.vnet.ibm.com>
      Cc: <stable@kernel.org>
      8d08dab7
    • Tyler Hicks's avatar
      eCryptfs: Clear i_nlink in rmdir · 07850552
      Tyler Hicks authored
      
      
      eCryptfs wasn't clearing the eCryptfs inode's i_nlink after a successful
      vfs_rmdir() on the lower directory. This resulted in the inode evict and
      destroy paths to be missed.
      
      https://bugs.launchpad.net/ecryptfs/+bug/723518
      
      Signed-off-by: default avatarTyler Hicks <tyhicks@linux.vnet.ibm.com>
      Cc: <stable@kernel.org>
      07850552
  3. May 27, 2011