01 Aug, 2007

23 commits

  • Yan Zheng wrote:

    > I think I found a bug in ext4/extents.c, "ext4_ext_put_in_cache" uses
    > "__u32" to receive physical block number. "ext4_ext_put_in_cache" is
    > used in "ext4_ext_get_blocks", it sets ext4 inode's extent cache
    > according most recently tree lookup (higher 16 bits of saved physical
    > block number are always zero). when serving a mapping request,
    > "ext4_ext_get_blocks" first check whether the logical block is in
    > inode's extent cache. if the logical block is in the cache and the
    > cached region isn't a gap, "ext4_ext_get_blocks" gets physical block
    > number by using cached region's physical block number and offset in
    > the cached region. as described above, "ext4_ext_get_blocks" may
    > return wrong result when there are physical block numbers bigger than
    > 0xffffffff.
    >

    You are right. Thanks for reporting this!

    Signed-off-by: Mingming Cao
    Cc: Yan Zheng
    Cc:
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Mingming Cao
     
  • The previous DEBUG_SHIRQ patch missed one case. The console doesn't
    set its host descriptors non-blocking.

    Signed-off-by: Jeff Dike
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jeff Dike
     
  • http://bugzilla.kernel.org/show_bug.cgi?id=8821 reports a might_sleep()
    warning due to parport_pc_exit() running platform_device_unregister() while
    holding ports_lock.

    Just remove the locking: nobody else can access ports_list during module_exit.

    Cc: "Mike Sharkey"
    Cc: Tim Waugh
    Cc: Stas Sergeev
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andrew Morton
     
  • Add some casts to the LZO compression algorithm after they were removed
    during cleanup and shouldn't have been.

    Signed-off-by: Richard Purdie
    Cc: Edward Shishkin
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Richard Purdie
     
  • Add framebuffer support for the AMD Geode LX graphics engine.

    Signed-off-by: Jordan Crouse
    Signed-off-by: Antonino Daplas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jordan Crouse
     
  • - tell what APIC (by request), MTD, & PARIDE mean
    - correct some source file names
    - remove IA64 "llsc*=" (seems to have been removed from source tree)
    - removel SCSI "53c7xx=" (driver already removed)

    Signed-off-by: Randy Dunlap
    Acked-by: Jesper Juhl
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     
  • Lack of pdata is not a fatal omission. The driver can still be used even
    if we do not know the screen dimensions.

    Signed-off-by: Grant Likely
    Cc: Andrei Konovalov
    Signed-off-by: Antonino Daplas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Grant Likely
     
  • xilinxfb_drv_probe refers to both tables, but it cannot be initdata.

    Signed-off-by: Grant Likely
    Cc: Andrei Konovalov
    Signed-off-by: Antonino Daplas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Grant Likely
     
  • The implicit mapping has been removed from the arch
    as this should be handled in the driver, this patch
    fixes the s3c2410_fb driver to ioremap() the necessary
    registers.

    Signed-off-by: Ben Dooks
    Acked-by: Arnaud Patard
    Signed-off-by: Antonino Daplas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ben Dooks
     
  • The VGA16 logo (bpp = 4) and monochrome logo (bpp = 1) do not contain any
    color information (no CLUT). If the fb depth is > logo depth, these logo's
    will not properly display. Fix by using the console palette instead of
    creating a new one.

    Signed-off-by: Antonino Daplas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Antonino A. Daplas
     
  • Reported in: Bugzilla Bug 8727

    Fix typo and bogus logic in get_default_font(). The bug results in
    get_default_font() returning a font that may not be displayed properly by a
    framebuffer driver.

    Signed-off-by: Antonino Daplas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Antonino A. Daplas
     
  • Fix transmit DMA stall when write() called in window after previous
    transmit DMA completes but before previous serial transmission completes.

    Signed-off-by: Paul Fulghum
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Paul Fulghum
     
  • Since the commit 4f640efb3170dbcf99a37a3cc99060647b95428c, "%lx" is not
    suitable for p->mapbase (resource_size_t) in 32-bit. This patch fixes a
    compiler warning caused by the mismatch.

    Signed-off-by: Atsushi Nemoto
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Atsushi Nemoto
     
  • Fix section mismatch warnings:
    these functions are called only from __init functions.

    WARNING: vmlinux.o(.text+0x1861c): Section mismatch: reference to .init.text:free_bootmem (between 'free_tce_table' and 'build_tce_table')
    WARNING: vmlinux.o(.text+0x187e5): Section mismatch: reference to .init.text:__alloc_bootmem_low (between 'alloc_tce_table' and 'kretprobe_trampoline_holder')

    Signed-off-by: Randy Dunlap
    Signed-off-by: Muli Ben-Yehuda
    Cc: Andi Kleen
    Cc: Sam Ravnborg
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     
  • In badness(), the automatic variable 'points' is unsigned long. Print it
    as such.

    Signed-off-by: David Rientjes
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Rientjes
     
  • Prevent the RTC driver from returning ENOIOCTLCMD to userspace.

    Signed-off-by: Thomas Hommel
    Acked-by: Alessandro Zummo
    Cc: David Brownell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Thomas Hommel
     
  • out_of_memory() may be called when an allocation is failing and the direct
    reclaim is not making any progress. This does not take into account the
    requested order of the allocation. If the request if for an order larger
    than PAGE_ALLOC_COSTLY_ORDER, it is reasonable to fail the allocation
    because the kernel makes no guarantees about those allocations succeeding.

    This false OOM situation can occur if a user is trying to grow the hugepage
    pool in a script like;

    #!/bin/bash
    REQUIRED=$1
    echo 1 > /proc/sys/vm/hugepages_treat_as_movable
    echo $REQUIRED > /proc/sys/vm/nr_hugepages
    ACTUAL=`cat /proc/sys/vm/nr_hugepages`
    while [ $REQUIRED -ne $ACTUAL ]; do
    echo Huge page pool at $ACTUAL growing to $REQUIRED
    echo $REQUIRED > /proc/sys/vm/nr_hugepages
    ACTUAL=`cat /proc/sys/vm/nr_hugepages`
    sleep 1
    done

    This is a reasonable scenario when ZONE_MOVABLE is in use but triggers OOM
    easily on 2.6.23-rc1. This patch will fail an allocation for an order above
    PAGE_ALLOC_COSTLY_ORDER instead of killing processes and retrying.

    Signed-off-by: Mel Gorman
    Acked-by: Andy Whitcroft
    Cc: David Rientjes
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Mel Gorman
     
  • Fixup the changes from moving around the arch support for s3c24xx based
    systems.

    Signed-off-by: Ben Dooks
    Acked-by: Alessandro Zummo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ben Dooks
     
  • Make Bruce Fields (co-)maintainer of kNFSDd

    Signed-off-by: Neil Brown
    Cc: "J. Bruce Fields"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Neil Brown
     
  • The local variable "covered" is used without initialization in i386
    acpi-cpufreq driver. The initial value of covered should be 0. The bug
    will cause memory leak when hit. The following patch fixes this bug.

    Signed-off-by: Fenghua Yu
    Cc: Venkatesh Pallipadi
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Fenghua Yu
     
  • Updates based on recent .gitignore updates:

    *.o.*: Says Alexey Dobriyan:
    These are presumably temporary gcc files, which aren't interesting.

    setup.bin, setup.elf: new x86 boot code files (from Matthew Wilcox)

    Signed-off-by: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     
  • Somehow I ended up with the following in tree:

    $ git status
    ...
    # Untracked files:
    # (use "git add ..." to include in what will be committed)
    #
    # fs/proc/root.o.FuMxJQ
    # net/ipv4/tcp_minisocks.o.geCDYR

    These are presumably temporary gcc files, which aren't interesting.

    Signed-off-by: Alexey Dobriyan
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alexey Dobriyan
     
  • Fix the SYSV IPC SHM to work with the changes applied by the new fault handler
    patches when CONFIG_MMU=n.

    Signed-off-by: David Howells
    Cc: Nick Piggin
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Howells
     

31 Jul, 2007

17 commits

  • * master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6.23:
    sh: Fix fs.h removal from mm.h regressions.
    sh: fix get_wchan() for SH kernels without framepointers
    sh: arch/sh/boot - fix shell usage
    rtc: rtc-sh: Correct sh_rtc_set_time() for some SH-3 parts.
    sh: remove support for sh7300 and solution engine 7300
    sh: Add sh to the CC_OPTIMIZE_FOR_SIZE dependencies.
    sh: Kill off virt_to_bus()/bus_to_virt().
    sh: sh-sci - fix SH7708 support
    sh: Restrict DSP support to specific CPUs.
    sh: Silence sq compile warning on sh4 nommu.
    sh: Kill the rest of the SE73180 cruft.
    sh: remove support for sh73180 and solution engine 73180
    sh: remove old broken pint code
    sh: Reclaim beginning of P3 space for vmalloc area.
    sh: Fix Dreamcast DMA issues.
    sh: Add kmap_coherent()/kunmap_coherent() interface for SH-4.

    Linus Torvalds
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh64-2.6:
    sh64: Kill off virt_to_bus()/bus_to_virt().
    sh64: Fix irq_intc build failure.
    sh64: Fix fs.h removal from mm.h regressions.

    Linus Torvalds
     
  • Follows the SH change.

    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • Needs interrupt.h:

    CC arch/sh64/kernel/irq_intc.o
    arch/sh64/kernel/irq_intc.c: In function 'make_intc_irq':
    arch/sh64/kernel/irq_intc.c:179: error: implicit declaration of function 'disable_irq_nosync'
    make[1]: *** [arch/sh64/kernel/irq_intc.o] Error 1

    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • Signed-off-by: Paul Mundt

    Paul Mundt
     
  • Signed-off-by: Paul Mundt

    Paul Mundt
     
  • * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6:
    Fix a potential NULL pointer dereference in mace_interrupt() in drivers/net/pcmcia/nmclan_cs.c
    PATCH kernel 2.6.22] PCMCIA-NETDEV : modify smc91c92_cs.c to become SMP safe
    S2io: Increment received packet count correctly
    S2io: Fix crash when resetting adapter
    S2io: Mask spurious interrupts
    S2IO: Implementing review comments from old patches
    S2IO: Checking for the return value of pci map function
    S2IO: Removing MSI support from driver
    S2IO: Removing 3 buffer mode support from the driver
    netxen: drop redudant spinlock
    netxen: Fix interrupt handling for multiport adapters
    netxen: re-init station address after h/w init
    tulip: Remove tulip maintainer
    forcedeth: mac address correct
    gfar: Fix modpost warning
    lib8390: comment on locking by Alan Cox
    Fix a potential NULL pointer dereference in write_bulk_callback() in drivers/net/usb/pegasus.c

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband:
    IB/ipath: Workaround problem of errormask register being overwritten
    IB/ipath: Fix some issues with buffer cancel and sendctrl register update
    IB/ipath: Use faster put_tid_2 routine after initialization
    IB/ipath: Remove unsafe fastrcvint code from interrupt handler
    IB/ehca: Move extern declarations from .c files to .h files
    IB/mlx4: Whitespace fix
    IB/ehca: Fix include order to better match kernel style
    mlx4_core: Remove kfree() in mlx4_mr_alloc() error flow
    RDMA/amso1100: Initialize the wait_queue_head_t in the c2_qp structure

    Linus Torvalds
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6:
    modules: better error messages when modules fail to load due to a sysfs problem.
    kobject: update documentation
    kset: kernel-doc cleanups
    driver core: revert "device" link creation check
    stable_api_nonsense.txt: Disambiguate the use of "this" by using "that" to refer to the syscall interface
    Fix Doc/sysfs-rules typos
    kernel-doc fixes for PCI and drivers/base/
    kobject: put kobject_actions in kobject.h
    kobject: fix link error when CONFIG_HOTPLUG is disabled
    HOWTO: sync Japanese HOWTO
    HOWTO: adjust translation header of Japanese stable_api_nonsense.txt

    Linus Torvalds
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6:
    USB: "sparse" cleanups for usb gadgets
    usb-serial: Fix edgeport regression on non-EPiC devices
    USB: more pxa2xx_udc dead code removal
    USB: NIKON D50 is an unusual device
    USB: drivers/usb/serial/sierra.c: make 3 functions static
    USB: fix BUG: sleeping function called from invalid context at /home/jeremy/hg/xen/paravirt/linux/drivers/usb/core/urb.c:524, in_atomic():1, irqs_disabled():0
    USB: mct_u232: Convert to proper speed handling API
    digi_acceleport: Drag the driver kicking and screaming into coding style
    cp2101: Remove broken termios optimisation, use proper speed API
    USB: Fix a bug in usb_start_wait_urb
    USB: fix scatterlist PIO case (IOMMU)
    USB: fix usb_serial_suspend(): buggy code
    USB: yet another quirky device
    USB: Add CanonScan LiDE30 to the quirk list
    USB: even more quirks
    USB: usb.h kernel-doc additions
    USB: more quirky devices
    USB: Don't let usb-storage steal Blackberry Pearl
    USB: devices misc: Trivial patch to build the IOWARRIOR when it is selected in Kconfig

    Linus Torvalds
     
  • This helps people when debugging problems like the ones that were in the
    recent -mm releases.

    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     
  • Update kobject documentation:

    - Update structure definitions.
    - Remove documentation of removed struct subsystem.

    (First shot, uevent_ops probably need some documentation as well.)

    Signed-off-by: Cornelia Huck
    Signed-off-by: Greg Kroah-Hartman

    Cornelia Huck
     
  • Removed kernel-doc marker (/**) from struct kset -- each struct member
    still needs annotation.

    Corrected one parameter name so that kernel-doc matches the macro.

    Signed-off-by: Randy Dunlap
    Signed-off-by: Greg Kroah-Hartman

    Randy Dunlap
     
  • driver core: revert "device" link creation check

    Commit 2ee97caf0a6602f749ddbfdb1449e383e1212707 introduced an extra
    check on when to create the "device" symlink. Unfortunately, this
    breaks input, so let's revert to the old behaviour.

    Signed-off-by: Cornelia Huck
    Acked-by: Kay Sievers
    Signed-off-by: Greg Kroah-Hartman

    Cornelia Huck
     
  • … to the syscall interface

    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    Juan Lang
     
  • Fix typos only (spelling, grammar, duplicate words, etc.).

    Signed-off-by: Randy Dunlap
    Cc: Kay Sievers

    Randy Dunlap
     
  • Fix undocumented function parameters in PCI and drivers/base.

    Warning(linux-2.6.23-rc1//drivers/pci/pci.c:1526): No description found for parameter 'rq'
    Warning(linux-2.6.23-rc1//drivers/base/firmware_class.c:245): No description found for parameter 'bin_attr'

    Signed-off-by: Randy Dunlap
    Signed-off-by: Greg Kroah-Hartman

    Randy Dunlap