1. 30 Apr, 2003 13 commits
    • Andrew Morton's avatar
      [PATCH] proc_file_read fix · 72007d2d
      Andrew Morton authored
      From: Miklos.Szeredi@eth.ericsson.se (Miklos Szeredi)
      
      This fixes a problem with method 0 of proc_file_read (when the whole file
      is copied to the page).  The calculation of the final bytecount is wrong,
      and hence smaller then page size reads will give a truncated file.
      
      Current 2.4 kernels do it this way as well.
      72007d2d
    • Andrew Morton's avatar
      [PATCH] generic HDLC module API update · 3bf1ad5d
      Andrew Morton authored
      From: Krzysztof Halasa <khc@pm.waw.pl>
      
      Updates the HDLC drivers to the approved module API.
      3bf1ad5d
    • Andrew Morton's avatar
      [PATCH] allow modular JBD · 748b3ebb
      Andrew Morton authored
      From: Paul Clements <Paul.Clements@SteelEye.com>
      
      Currently, when I build ext3 as a module, jbd gets built into the kernel
      proper.  This trivial patch allows jbd to be built as a module when ext3 is
      also modular.  I believe this is the intention, as this is how it works in
      2.4.  I've built and tested with modular jbd and ext3 on 2.5.68.
      748b3ebb
    • Andi Kleen's avatar
    • Andrew Morton's avatar
      [PATCH] DAC960 patch to entry points with a new fix · 946f68b9
      Andrew Morton authored
      From: Dave Olien <dmo@osdl.org>
      
      Christoph submitted a patch to linus last week fixing up some DAC960 driver
      entry points.  That patch will OOPS during boot on version 2 controller
      types.  Christoph's version of the disk_size() function was dereferencing
      a NULL pointer in it's "else" clause.
      
      Christoph's patch hasn't appeared in linus's BK tree yet.  So, I'm
      resending Christoph's orignal patch with my fix to disk_size() included.
      This patch can be applied to the driver in Linus's BK tree from April 28.
      
      Here's Christoph's original description of his patch:
      
      Some grepping showed that DAC960's open routine was duplicating parts
      of check_disk_change().  I went on fixing this by implementing a
      media_changed method and making DAC960_Open use it.  While looking
      at the surrounding code I noticed that
      
        (a) all methods weren't using the private data the upperlayer
            hands to it properly, but instead using kdev_t-based indexes
        (b) DAC960_Open/DAC960_Release was keeping never used counters
        (c) DAC960_Open was doing tons of checks the upperlayer already does
        (d) DAC960_Release was entirely superflous.
      
      The patch below corrects that and rewrites the block entry points
      into readable code - 100 LOC are gone and the same amount replaced
      by readable code.
      946f68b9
    • Andrew Morton's avatar
      [PATCH] Fix warnings in xd.c · 9af8670a
      Andrew Morton authored
      Fix a few unused var warnings in drivers/block/xd.c
      9af8670a
    • Andrew Morton's avatar
      [PATCH] APM locking fix · b86904dd
      Andrew Morton authored
      From: Manfred Spraul <manfred@colorfullife.com>
      
      apm.c:suspend() calls set_system_power_state() under (effectively)
      spin_lock_irq(i8253_lock).
      
      But set_system_power_state() unconditionally enables interrupts, in
      apm_bios_call_simple().  This generates nasty warnings from the uniprocessor
      spinlock debugging code, and would be deadlocky if APM worked on SMP.
      
      So drop the locks around the set_system_power_state() call.
      b86904dd
    • Andrew Morton's avatar
      [PATCH] irqs: bttv · f01c92ba
      Andrew Morton authored
      Update bttv driver to the new IRQ API.
      f01c92ba
    • Andrew Morton's avatar
      [PATCH] Fix slab-vs-gfp bitflag clash · e5ded0b1
      Andrew Morton authored
      Fixes a bug spotted by Alexey Mahotkin <alexm@hsys.msk.ru>: the slab-internal
      SLAB_NO_GROW bit clashes with __GFP_NORETRY.
      
      Fix that up so it won't happen again by moving the bit layout into gfp.h.
      e5ded0b1
    • Andrew Morton's avatar
      [PATCH] irqs: IRDA · c007c1ed
      Andrew Morton authored
      Some IRQ udpates for IRDA which seemed to get lost.
      c007c1ed
    • Andrew Morton's avatar
      [PATCH] irqs: i2c · 6e9f0111
      Andrew Morton authored
      IRQ API udpate in i2c-elektor.c
      6e9f0111
    • Rusty Russell's avatar
      [PATCH] __module_get · fbf7eda6
      Rusty Russell authored
      Introduces __module_get for places where we know we already hold
      a reference and ignoring the fact that the module is being "rmmod --wait"ed
      is simpler.
      fbf7eda6
    • Rusty Russell's avatar
      [PATCH] complete modinfo section · 67ac5b86
      Rusty Russell authored
      Restores .modinfo section, and uses it to store license and vermagic.
      67ac5b86
  2. 29 Apr, 2003 6 commits
  3. 28 Apr, 2003 11 commits
  4. 29 Apr, 2003 2 commits
  5. 28 Apr, 2003 8 commits