06 Apr, 2009

8 commits


04 Apr, 2009

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (28 commits)
    trivial: Update my email address
    trivial: NULL noise: drivers/mtd/tests/mtd_*test.c
    trivial: NULL noise: drivers/media/dvb/frontends/drx397xD_fw.h
    trivial: Fix misspelling of "Celsius".
    trivial: remove unused variable 'path' in alloc_file()
    trivial: fix a pdlfush -> pdflush typo in comment
    trivial: jbd header comment typo fix for JBD_PARANOID_IOFAIL
    trivial: wusb: Storage class should be before const qualifier
    trivial: drivers/char/bsr.c: Storage class should be before const qualifier
    trivial: h8300: Storage class should be before const qualifier
    trivial: fix where cgroup documentation is not correctly referred to
    trivial: Give the right path in Documentation example
    trivial: MTD: remove EOL from MODULE_DESCRIPTION
    trivial: Fix typo in bio_split()'s documentation
    trivial: PWM: fix of #endif comment
    trivial: fix typos/grammar errors in Kconfig texts
    trivial: Fix misspelling of firmware
    trivial: cgroups: documentation typo and spelling corrections
    trivial: Update contact info for Jochen Hein
    trivial: fix typo "resgister" -> "register"
    ...

    Linus Torvalds
     

31 Mar, 2009

1 commit

  • Setting ->owner as done currently (pde->owner = THIS_MODULE) is racy
    as correctly noted at bug #12454. Someone can lookup entry with NULL
    ->owner, thus not pinning enything, and release it later resulting
    in module refcount underflow.

    We can keep ->owner and supply it at registration time like ->proc_fops
    and ->data.

    But this leaves ->owner as easy-manipulative field (just one C assignment)
    and somebody will forget to unpin previous/pin current module when
    switching ->owner. ->proc_fops is declared as "const" which should give
    some thoughts.

    ->read_proc/->write_proc were just fixed to not require ->owner for
    protection.

    rmmod'ed directories will be empty and return "." and ".." -- no harm.
    And directories with tricky enough readdir and lookup shouldn't be modular.
    We definitely don't want such modular code.

    Removing ->owner will also make PDE smaller.

    So, let's nuke it.

    Kudos to Jeff Layton for reminding about this, let's say, oversight.

    http://bugzilla.kernel.org/show_bug.cgi?id=12454

    Signed-off-by: Alexey Dobriyan

    Alexey Dobriyan
     

30 Mar, 2009

3 commits


29 Mar, 2009

2 commits

  • * 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm: (422 commits)
    [ARM] 5435/1: fix compile warning in sanity_check_meminfo()
    [ARM] 5434/1: ARM: OMAP: Fix mailbox compile for 24xx
    [ARM] pxa: fix the bad assumption that PCMCIA sockets always start with 0
    [ARM] pxa: fix Colibri PXA300 and PXA320 LCD backlight pins
    imxfb: Fix TFT mode
    i.MX21/27: remove ifdef CONFIG_FB_IMX
    imxfb: add clock support
    mxc: add arch_reset() function
    clkdev: add possibility to get a clock based on the device name
    i.MX1: remove fb support from mach-imx
    [ARM] pxa: build arch/arm/plat-pxa/mfp.c only when PXA3xx or ARCH_MMP defined
    Gemini: Add support for Teltonika RUT100
    Gemini: gpiolib based GPIO support v2
    MAINTAINERS: add myself as Gemini architecture maintainer
    ARM: Add Gemini architecture v3
    [ARM] OMAP: Fix compile for omap2_init_common_hw()
    MAINTAINERS: Add myself as Faraday ARM core variant maintainer
    ARM: Add support for FA526 v2
    [ARM] acorn,ebsa110,footbridge,integrator,sa1100: Convert asm/io.h to linux/io.h
    [ARM] collie: fix two minor formatting nits
    ...

    Linus Torvalds
     
  • Conflicts:
    sound/soc/pxa/pxa2xx-i2s.c

    Russell King
     

28 Mar, 2009

1 commit


27 Mar, 2009

4 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k:
    m68k: irq_node.handler() should return irqreturn_t
    m68k: section mismatch fixes: Atari SCSI
    m68k: section mismatch fixes: DMAsound for Atari
    MAINTAINERS: Replace dead link to m68k CVS repository by link to new git repository
    m68k: mac - Add SWIM floppy support
    m68k: mac - Add a new entry in mac_model to identify the floppy controller type.
    m68k: Add install target

    Linus Torvalds
     
  • * 'bkl-removal' of git://git.lwn.net/linux-2.6:
    Rationalize fasync return values
    Move FASYNC bit handling to f_op->fasync()
    Use f_lock to protect f_flags
    Rename struct file->f_ep_lock

    Linus Torvalds
     
  • add __initdata to driver presets struct

    Signed-off-By: Michael Schmitz
    Signed-off-by: Geert Uytterhoeven

    Michael Schmitz
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6: (96 commits)
    sh: add support for SMSC Polaris platform
    sh: fix the HD64461 level-triggered interrupts handling
    sh: sh-rtc wakeup support
    sh: sh-rtc invalid time rework
    sh: sh-rtc carry interrupt rework
    sh: disallow kexec virtual entry
    sh: kexec jump: fix for ftrace.
    sh: kexec: Drop SR.BL bit toggling.
    sh: add kexec jump support
    sh: rework kexec segment code
    sh: simplify kexec vbr code
    sh: Flush only the needed range when unmapping a VMA.
    sh: Update debugfs ASID dumping for 16-bit ASID support.
    sh: tlb-pteaex: Kill off legacy PTEA updates.
    sh: Support for extended ASIDs on PTEAEX-capable SH-X3 cores.
    sh: sh7763rdp: Change IRQ number for sh_eth of sh7763rdp
    sh: espt-giga board support
    sh: dma: Make G2 DMA configurable.
    sh: dma: Make PVR2 DMA configurable.
    sh: Move IRQ multi definition of DMAC to defconfig
    ...

    Linus Torvalds
     

26 Mar, 2009

1 commit


24 Mar, 2009

19 commits