Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tag: v2.6.27-rc2
Commits on Aug 6, 2008
  1. @torvalds

    Linux 2.6.27-rc2

    torvalds authored
  2. @torvalds

    Re-introduce "[SCSI] extend the last_sector_bug flag to cover more se…

    torvalds authored
    …ctors"
    
    This re-introduces commit 2b14290,
    which was reverted due to the regression it caused by commit
    fca082c.
    
    That regression was not root-caused by the original commit, it was just
    uncovered by it, and the real fix was done by Alan Stern in commit
    580da34 ("Fix USB storage hang on
    command abort").
    
    We can thus re-introduce the change that was confirmed by Alan Jenkins
    to be still required by his odd card reader.
    
    Cc: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
    Cc: Alan Stern <stern@rowland.harvard.edu>
    Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  3. @torvalds

    Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6

    torvalds authored
    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (78 commits)
      AX.25: Fix sysctl registration if !CONFIG_AX25_DAMA_SLAVE
      pktgen: mac count
      pktgen: random flow 
      bridge: Eliminate unnecessary forward delay
      bridge: fix compile warning in net/bridge/br_netfilter.c
      ipv4: remove unused field in struct flowi (include/net/flow.h).
      tg3: Fix 'scheduling while atomic' errors
      net: Kill plain NET_XMIT_BYPASS.
      net_sched: Add qdisc __NET_XMIT_BYPASS flag
      net_sched: Add qdisc __NET_XMIT_STOLEN flag
      iwl3945: fix merge mistake for packet injection
      iwlwifi: grap nic access before accessing periphery registers
      iwlwifi: decrement rx skb counter in scan abort handler
      iwlwifi: fix unhandled interrupt when HW rfkill is on
      iwlwifi: implement iwl5000_calc_rssi
      iwlwifi: memory allocation optimization
      iwlwifi: HW bug fixes
      p54: Fix potential concurrent access to private data
      rt2x00: Disable link tuning in rt2500usb
      iwlwifi: Don't use buffer allocated on the stack for led names
      ...
  4. @ralfbaechle @davem330

    AX.25: Fix sysctl registration if !CONFIG_AX25_DAMA_SLAVE

    ralfbaechle authored davem330 committed
    Since 49ffcf8 ("sysctl: update
    sysctl_check_table") setting struct ctl_table.procname = NULL does no
    longer work as it used to the way the AX.25 code is expecting it to
    resulting in the AX.25 sysctl registration code to break if
    CONFIG_AX25_DAMA_SLAVE was not set as in some distribution kernels.
    Kernel releases from 2.6.24 are affected.
    
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    Signed-off-by: David S. Miller <davem@davemloft.net>
  5. @davem330

    pktgen: mac count

    Robert Olsson authored davem330 committed
    dst_mac_count and src_mac_count patch from Eneas Hunguana
    We have sent one mac address to much.
    
    Signed-off-by: Robert Olsson <robert.olsson@its.uu.se>
    Signed-off-by: David S. Miller <davem@davemloft.net>
  6. @davem330

    pktgen: random flow

    Robert Olsson authored davem330 committed
    Random flow generation has not worked. This fixes it.
    
    Signed-off-by: Robert Olsson <robert.olsson@its.uu.se>
    Signed-off-by: David S. Miller <davem@davemloft.net>
  7. @davem330

    bridge: Eliminate unnecessary forward delay

    Stephen Hemminger authored davem330 committed
    From: Stephen Hemminger <shemminger@vyatta.com>
    
    Based upon original patch by Herbert Xu, which contained
    the following problem description:
    
    --------------------
    When the forward delay is set to zero, we still delay the setting
    of the forwarding state by one or possibly two timers depending
    on whether STP is enabled.  This could either turn out to be
    instantaneous, or horribly slow depending on the load of the
    machine.
    
    As there is nothing preventing us from enabling forwarding straight
    away, this patch eliminates this potential delay by executing the
    code directly if the forward delay is zero.
    
    The effect of this problem is that immediately after the carrier
    comes on a port, the bridge will drop all packets received from
    that port until it enters forwarding mode, thus causing unnecessary
    packet loss.
    
    Note that this patch doesn't fully remove the delay due to the
    link watcher.  We should also check the carrier state when we
    are about to drop an incoming packet because the port is disabled.
    But that's for another patch.
    --------------------
    
    This version of the fix takes a different approach, in that
    it just does the state change directly.
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
Commits on Aug 5, 2008
  1. @torvalds

    docbook: fix s390 fatal error after header files moved

    Randy Dunlap authored torvalds committed
    Fix (fatal error) s390 docbook file to handle renamed header files.
    
    Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
    cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  2. @torvalds

    drivers/media/video/vino.c needs v4l2-ioctl.h

    Andrew Morton authored torvalds committed
    mips allmodconfig:
    
      drivers/media/video/vino.c: In function `vino_free_buffer_with_count':
      drivers/media/video/vino.c:811: warning: passing arg 1 of `virt_to_phys' makes pointer from integer without a cast
      drivers/media/video/vino.c: In function `vino_allocate_buffer':
      drivers/media/video/vino.c:889: warning: passing arg 1 of `virt_to_phys' makes pointer from integer without a cast
      drivers/media/video/vino.c: In function `vino_ioctl':
      drivers/media/video/vino.c:4364: error: implicit declaration of function `video_usercopy'
    
    The patch fixes the error, but not the warnings.
    
    Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
    Cc: Hans Verkuil <hverkuil@xs4all.nl>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  3. @torvalds

    mm: fix uninitialized variables for find_vma_prepare callers

    Benny Halevy authored torvalds committed
    gcc 4.3.0 correctly emits the following warnings.
    When a vma covering addr is found, find_vma_prepare indeed returns without
    setting pprev, rb_link, and rb_parent.
    
      mm/mmap.c: In function `insert_vm_struct':
      mm/mmap.c:2085: warning: `rb_parent' may be used uninitialized in this function
      mm/mmap.c:2085: warning: `rb_link' may be used uninitialized in this function
      mm/mmap.c:2084: warning: `prev' may be used uninitialized in this function
      mm/mmap.c: In function `copy_vma':
      mm/mmap.c:2124: warning: `rb_parent' may be used uninitialized in this function
      mm/mmap.c:2124: warning: `rb_link' may be used uninitialized in this function
      mm/mmap.c:2123: warning: `prev' may be used uninitialized in this function
      mm/mmap.c: In function `do_brk':
      mm/mmap.c:1951: warning: `rb_parent' may be used uninitialized in this function
      mm/mmap.c:1951: warning: `rb_link' may be used uninitialized in this function
      mm/mmap.c:1949: warning: `prev' may be used uninitialized in this function
      mm/mmap.c: In function `mmap_region':
      mm/mmap.c:1092: warning: `rb_parent' may be used uninitialized in this function
      mm/mmap.c:1092: warning: `rb_link' may be used uninitialized in this function
      mm/mmap.c:1089: warning: `prev' may be used uninitialized in this function
    
    Hugh adds: in fact, none of find_vma_prepare's callers use those values
    when a vma is found to be already covering addr, it's either an error or
    an occasion to munmap and repeat.  Okay, let's quieten the compiler (but I
    would prefer it if pprev, rb_link and rb_parent were meaningful in that
    case, rather than whatever's in them from descending the tree).
    
    Signed-off-by: Benny Halevy <bhalevy@panasas.com>
    Signed-off-by: Hugh Dickins <hugh@veritas.com>
    Cc: "Ryan Hope" <rmh3093@gmail.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  4. @hughsie @torvalds

    pm_qos: spelling fixes

    hughsie authored torvalds committed
    A documentation cleanup patch.  With a minor tweak to clarify units for
    kbs.
    
    [akpm@linux-foundation.org: coding-style fixes]
    Signed-off-by: mark gross <mgross@linux.intel.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  5. @alexb0 @torvalds

    proc: fix warnings

    alexb0 authored torvalds committed
    proc: fix warnings
    
     fs/proc/base.c:2429: warning: format '%llu' expects type 'long long unsigned int', but argument 3 has type 'u64'
     fs/proc/base.c:2429: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type 'u64'
     fs/proc/base.c:2429: warning: format '%llu' expects type 'long long unsigned int', but argument 5 has type 'u64'
     fs/proc/base.c:2429: warning: format '%llu' expects type 'long long unsigned int', but argument 6 has type 'u64'
     fs/proc/base.c:2429: warning: format '%llu' expects type 'long long unsigned int', but argument 7 has type 'u64'
     fs/proc/base.c:2429: warning: format '%llu' expects type 'long long unsigned int', but argument 8 has type 'u64'
     fs/proc/base.c:2429: warning: format '%llu' expects type 'long long unsigned int', but argument 9 has type 'u64'
    
    Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
    Acked-by: Andrea Righi <righi.andrea@gmail.com>
    Cc: Oleg Nesterov <oleg@tv-sign.ru>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  6. @torvalds

    drivers/misc/sgi-gru/grutlbpurge.c: removed duplicated #include

    Huang Weiyi authored torvalds committed
    Removed duplicated include <linux/delay.h> in
    drivers/misc/sgi-gru/grutlbpurge.c.
    
    Signed-off-by: Huang Weiyi <weiyi.huang@gmail.com>
    Cc: Jack Steiner <steiner@sgi.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  7. @alexb0 @torvalds

    omfs: fix warning

    alexb0 authored torvalds committed
    fs/omfs/inode.c:495: warning: format '%llx' expects type 'long long
    	unsigned int', but argument 2 has type 'u64'
    fs/omfs/inode.c:495: warning: format '%llx' expects type 'long
    	long unsigned int', but argument 3 has type '__be64'
    
    Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
    Acked-by: Bob Copeland <me@bobcopeland.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  8. @torvalds

    kernel-doc: skip nested struct/union cleanly

    Randy Dunlap authored torvalds committed
    Fix handling of nested structs or unions.  The regex to strip (eliminate)
    nested structs or unions was limited to only 0 or 1 matches.  This can
    cause an uneven number of left/right braces to be stripped, which causes
    this:
    
    Warning(linux-2.6.27-rc1-git2//include/net/mac80211.h:336): No description found for parameter '}'
    
    Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  9. @torvalds

    dma: fix order calculation in dma_mark_declared_memory_occupied()

    Jan Beulich authored torvalds committed
    get_order() takes byte-sized input, not a page-granular one.
    
    Irrespective of this fix I'm inclined to believe that this doesn't work
    right anyway - bitmap_allocate_region() has an implicit assumption of
    'pos' being suitable for 'order', which this function doesn't seem to
    enforce (and since it's being called with a byte-granular value there's no
    reason to believe that the callers would make sure device_addr is passed
    accordingly - it's also not documented that way).
    
    Signed-off-by: Jan Beulich <jbeulich@novell.com>
    Cc: James E.J. Bottomley <James.Bottomley@HansenPartnership.com>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: Dmitry Baryshkov <dbaryshkov@gmail.com>
    Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  10. @alexb0 @torvalds

    atyfb_base.c: fix warning

    alexb0 authored torvalds committed
    drivers/video/aty/atyfb_base.c:2663: warning: 'aty_resume_chip' defined
    but not used
    
    Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
    Cc: Ville Syrjala <syrjala@sci.fi>
    Cc: Antonino A. Daplas <adaplas@pol.net>
    Cc: Mark Asselstine <asselsm@gmail.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  11. @JuliaLawall @torvalds

    drivers/video/fsl-diu-fb.c: add missing of_node_put

    JuliaLawall authored torvalds committed
    of_node_put is needed before discarding a value received from
    of_find_node_by_type, eg in error handling code.
    
    The semantic patch that makes the change is as follows:
    (http://www.emn.fr/x-info/coccinelle/)
    
    // <smpl>
    @@
    struct device_node *n;
    struct device_node *n1;
    struct device_node *n2;
    statement S;
    identifier f1,f2;
    expression E1,E2;
    constant C;
    @@
    
    n = of_find_node_by_type(...)
    ...
    if (!n) S
    ... when != of_node_put(n)
        when != n1 = f1(n,...)
        when != E1 = n
        when any
        when strict
    (
    + of_node_put(n);
      return -C;
    |
      of_node_put(n);
    |
      n2 = f2(n,...)
    |
      E2 = n
    |
      return ...;
    )
    // </smpl>
    
    Signed-off-by: Julia Lawall <julia@diku.dk>
    Acked-by: Krzysztof Helt <krzysztof.h1@wp.pl>
    Cc: Timur Tabi <timur@freescale.com>
    Cc: York Sun <yorksun@freescale.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  12. @torvalds

    radeonfb: give i2c buses nicer names

    Jean Delvare authored torvalds committed
    The name of the i2c buses shows in the output of "i2cdetect -l", so
    it's important to give informative names.
    
    Signed-off-by: Jean Delvare <khali@linux-fr.org>
    Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  13. @torvalds

    fbcon: fix scrolling after logo is cleared

    Krzysztof Helt authored torvalds committed
    If the 'clear' command is used on the frame buffer with a logo the upper
    area is filled by few lines but not scrolled anymore.
    
    Fix this by removing the protected area for the logo if any part of the
    logo is cleared.
    
    Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  14. @davem330 @torvalds

    radeon: misc corrections

    davem330 authored torvalds committed
    I have a new PCI-E radeon RV380 series card (PCI device ID 5b64) that
    hangs in my sparc64 boxes when the init scripts set the font.  The problem
    goes away if I disable acceleration.
    
    I haven't figured out that bug yet, but along the way I found some
    corrections to make based upon some auditing.
    
    1) The RB2D_DC_FLUSH_ALL value used by the kernel fb driver
       and the XORG video driver differ.  I've made the kernel
       match what XORG is using.
    
    2) In radeonfb_engine_reset() we have top-level code structure
       that roughly looks like:
    
    	if (family is 300, 350, or V350)
    		do this;
    	else
    		do that;
    	...
    	if (family is NOT 300, OR
    	    family is NOT 350, OR
    	    family is NOT V350)
    		do another thing;
    
       this last conditional makes no sense, is always true,
       and obviously was likely meant to be "family is NOT
       300, 350, or V350".  So I've made the code match the
       intent.
    
    Signed-off-by: David S. Miller <davem@davemloft.net>
    Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Tested-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  15. @torvalds

    Remove the deprecated cli() sti() functions

    Mark Asselstine authored torvalds committed
    These functions have been deprecated for some time now but remained until
    all legacy callers could be removed.  With a few commits in 2.6.26 this
    has happened so now we can remove these deprecated functions.
    
    Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
    Reviewed-by: Matthew Wilcox <willy@linux.intel.com>
    Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
    Cc: Ingo Molnar <mingo@elte.hu>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  16. @torvalds

    backlight: add MODULE_ALIAS() to pwm_backlight driver

    Ben Dooks authored torvalds committed
    Add the missing MODULE_ALIAS() to the pwm_backlight driver.
    
    Cc: Russell King <rmk@arm.linux.org.uk>
    Signed-off-by: Ben Dooks <ben-linux@fluff.org>
    Cc: Richard Purdie <rpurdie@rpsys.net>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  17. @torvalds

    backlight: add more information output to pwm_backlight

    Ben Dooks authored torvalds committed
    Make the error paths in the pwm_backlight driver more informative in the
    probe path, especially for the times that it finds an error.
    
    Cc: Russell King <rmk@arm.linux.org.uk>
    Signed-off-by: Ben Dooks <ben-linux@fluff.org>
    Cc: Richard Purdie <rpurdie@rpsys.net>
    Acked-by: Krzysztof Helt <krzysztof.h1@wp.pl>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  18. @torvalds

    blackfin RTC driver: drop PIE/stopwatch code since the hardware can o…

    Mike Frysinger authored torvalds committed
    …nly do a max of 1HZ and this same functionality is provided by UIE
    
    Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>
    Cc: David Brownell <david-b@pacbell.net>
    Cc: Alessandro Zummo <a.zummo@towertech.it>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  19. @torvalds

    blackfin RTC driver: convert PIE handling to irq_set_state() as point…

    Mike Frysinger authored torvalds committed
    …ed out by David Brownell
    
    Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>
    Cc: David Brownell <david-b@pacbell.net>
    Cc: Alessandro Zummo <a.zummo@towertech.it>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  20. @torvalds

    blackfin RTC driver: wait for the write complete interrupt complete b…

    Mike Frysinger authored torvalds committed
    …efore sleeping
    
    Since we use the write complete interrupt, wait for it
    to complete before sleeping so we don't wake right back up due to it
    
    Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>
    Cc: David Brownell <david-b@pacbell.net>
    Cc: Alessandro Zummo <a.zummo@towertech.it>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  21. @torvalds

    blackfin RTC driver: disable the write complete irq upon close

    Mike Frysinger authored torvalds committed
    Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>
    Cc: David Brownell <david-b@pacbell.net>
    Cc: Alessandro Zummo <a.zummo@towertech.it>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  22. @torvalds

    blackfin RTC driver: don't bother passing the rtc struct down to bfin…

    Mike Frysinger authored torvalds committed
    …_rtc_int_{set,clear} since it isnt needed (shaves off ~100bytes)
    
    Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
    Signed-off-by: Bryan Wu <bryan.wu@analog.com>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>
    Cc: David Brownell <david-b@pacbell.net>
    Cc: Alessandro Zummo <a.zummo@towertech.it>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  23. @torvalds

    blackfin RTC driver: add support for power management framework

    Mike Frysinger authored torvalds committed
    Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
    Signed-off-by: Bryan Wu <bryan.wu@analog.com>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>
    Cc: David Brownell <david-b@pacbell.net>
    Cc: Alessandro Zummo <a.zummo@towertech.it>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  24. @sonicz @torvalds

    blackfin RTC driver: Fix bug Only RTC interrupt can wake up deeper sl…

    sonicz authored torvalds committed
    …eep core
    
    Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
    Signed-off-by: Bryan Wu <bryan.wu@analog.com>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>
    Cc: David Brownell <david-b@pacbell.net>
    Cc: Alessandro Zummo <a.zummo@towertech.it>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  25. @torvalds

    blackfin RTC driver: if we dont define irq_set_freq, the common rtc-d…

    Mike Frysinger authored torvalds committed
    …ev layer will give us the same behavior of returning ENOTTY
    
    Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
    Signed-off-by: Bryan Wu <bryan.wu@analog.com>
    Signed-off-by: Bryan Wu <cooloney@kernel.org>
    Cc: David Brownell <david-b@pacbell.net>
    Cc: Alessandro Zummo <a.zummo@towertech.it>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  26. @torvalds

    genirq: better warning on irqchip->set_type() failure

    David Brownell authored torvalds committed
    While I'm glad to finally see the hole fixed whereby passing an invalid
    IRQ trigger type to request_irq() would be ignored, the current diagnostic
    isn't quite useful.  Fixed by also listing the trigger type which was
    rejected.
    
    Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
    Acked-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  27. @torvalds

    semaphore: __down_common: use signal_pending_state()

    Oleg Nesterov authored torvalds committed
    Change __down_common() to use signal_pending_state() instead of open
    coding.
    
    The changes in kernel/semaphore.o are just artifacts, the state checks are
    optimized away.
    
    Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: Matthew Wilcox <matthew@wil.cx>
    Cc: Roland McGrath <roland@redhat.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  28. @zanussi @torvalds

    relay: fix "full buffer with exactly full last subbuffer" accounting …

    zanussi authored torvalds committed
    …problem
    
    In relay's current read implementation, if the buffer is completely full
    but hasn't triggered the buffer-full condition (i.e. the last write
    didn't cross the subbuffer boundary) and the last subbuffer is exactly
    full, the subbuffer accounting code erroneously finds nothing available.
    This patch fixes the problem.
    
    Signed-off-by: Tom Zanussi <tzanussi@gmail.com>
    Cc: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
    Cc: Pekka Enberg <penberg@cs.helsinki.fi>
    Cc: Jens Axboe <jens.axboe@oracle.com>
    Cc: Mathieu Desnoyers <compudj@krystal.dyndns.org>
    Cc: Andrea Righi <righi.andrea@gmail.com>
    Cc: <stable@kernel.org>		[2.6.25.x, 2.6.26.x]
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Something went wrong with that request. Please try again.