1. 14 Aug, 2003 40 commits
    • Randy Dunlap's avatar
      [PATCH] janitor: ad1816: don't init statics to 0 · bce27b43
      Randy Dunlap authored
      From: Eugene Teo <eugene.teo@eugeneteo.net>
      
      Removed initialisation to zero on static variables in
      sound/oss/ad1816.c.
      bce27b43
    • Randy Dunlap's avatar
      [PATCH] janitor: remove bogus locking · f8fa11b2
      Randy Dunlap authored
      From: Domen Puncer <domen@coderock.org>
      
      Matthew Wilcox wrote:
      >
      > This routine looks to be bogus to begin with.  i'd just remove the
      > save_flags, cli and restore_flags calls entirely.
      f8fa11b2
    • Randy Dunlap's avatar
      [PATCH] janitor: [sound] don't init statics to 0 · cfc7fe00
      Randy Dunlap authored
      From: Leann Ogasawara <ogasawara@osdl.org>
      
         Uninitialize static variables initialized to 0
         so they are pushed to the .bss instead of .data.
      cfc7fe00
    • Randy Dunlap's avatar
      [PATCH] janitor: use -Evalues in cpufreq/speedstep · a9c2d07b
      Randy Dunlap authored
      From: Maximilian Attems <janitor@sternwelten.at>
      a9c2d07b
    • Randy Dunlap's avatar
      [PATCH] janitor: scsi ioctl error handling · 462335fa
      Randy Dunlap authored
      From: Daniele Bellucci <bellucda@tiscali.it>
      462335fa
    • Randy Dunlap's avatar
      [PATCH] janitor: scsi/qlogicfc error handling · ab6e2e1d
      Randy Dunlap authored
      From: Leann Ogasawara <ogasawara@osdl.org>
      ab6e2e1d
    • Randy Dunlap's avatar
      [PATCH] janitor: scsi/gdth error handling · 272a411e
      Randy Dunlap authored
      From: Daniele Bellucci <bellucda@tiscali.it>
      272a411e
    • Ingo Molnar's avatar
      [PATCH] More timer race fixes · d563c54e
      Ingo Molnar authored
      Patch from Julie DeWandel.
      
      This patch has solved the crashes observed during TPC-C runs on the
      16-way box.  (I'm confident it will fix the other reported cases as
      well.)
      
      The race is the setting of timer->base to NULL, by del_timer() or
      __run_timers().  If new_base == old_base in __mod_timer() then we do not
      re-check timer->base after getting the lock.  (the only case where we do
      not have to re-check the base is in the !old_base case, but the else
      branch also includes the old_base==new_base case.)
      
      The __run_timers() case made the lock_timer() patch not work fully - we
      cannot use lock_timer() in __run_timers() due to lock ordering.
      d563c54e
    • Linus Torvalds's avatar
      00ed8a2c
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net//home/mochel/linux-2.5-power · 9508edb0
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      9508edb0
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net//home/mochel/linux-2.5-core · 7490aafb
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      7490aafb
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/davem/net-2.5 · 293f3e3f
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      293f3e3f
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/davem/sparc-2.5 · 2472e908
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      2472e908
    • Andrew Morton's avatar
      [PATCH] Add SELinux entry to MAINTAINERS · c865e976
      Andrew Morton authored
      From: Stephen Smalley <sds@epoch.ncsc.mil>
      
      This patch adds a SELINUX entry to the MAINTAINERS file.
      c865e976
    • Andrew Morton's avatar
      [PATCH] SELinux inode security init · 573429e3
      Andrew Morton authored
      From: Stephen Smalley <sds@epoch.ncsc.mil>
      
      This patch reworks the SELinux module code that handles inodes initialized
      before the policy is initially loaded to also cover the case where a pseudo
      filesystem such as selinuxfs or nfsd directly populate themselves.
      
      The list of inode security structures is split into per-superblock lists
      associated with each superblock security structure, and the initialization
      is performed by superblock_doinit.
      573429e3
    • Andrew Morton's avatar
      [PATCH] opl3 use-after-free fix · b99f2adc
      Andrew Morton authored
      From: Shawn Starr <spstarr@sh0n.net>
      
      opl3 use-after-free fix
      b99f2adc
    • Andrew Morton's avatar
      [PATCH] Docbook: Make mandocs output more terse · 6e88ebdf
      Andrew Morton authored
      From: Michael Still <mikal@stillhq.com>
      
      This patch takes into account requests from various LKML members for the
      mandocs output to be more terse.  Information about the copyright, and
      formatting of the man page is moved into a comment at the start of the
      groff output.
      
      Sample output can be found at:
        http://www.stillhq.com/linux/mandocs/2.6.0-test3-bk1/
      6e88ebdf
    • Andrew Morton's avatar
      [PATCH] uinput oops and panic fix · b0489fd7
      Andrew Morton authored
      From: Aristeu Sergio Rozanski Filho <aris@cathedrallabs.org>
      
      verify maximum number of bits before using set_bit
      b0489fd7
    • Andrew Morton's avatar
      [PATCH] Use mark_page_accessed() in follow_page() · a6bc080d
      Andrew Morton authored
      Touching a page via follow_page() counts as a reference so we should be
      either setting the referenced bit in the pte or running mark_page_accessed().
      
      Altering the pte is tricky because we haven't implemented an atomic
      pte_mkyoung().  And mark_page_accessed() is better anyway because it has more
      aging state: it can move the page onto the active list.
      a6bc080d
    • Andrew Morton's avatar
      [PATCH] access_process_vm() needs to dirty the page · 597536e3
      Andrew Morton authored
      If POKETEXT modifies the page it needs to tell the VM about it.
      597536e3
    • Andrew Morton's avatar
      [PATCH] dnotify documentation update · da8ac8ea
      Andrew Morton authored
      From: Stephen Rothwell <sfr@canb.auug.org.au>
      
      Fix the dnotify documentation and code example to reflect reality.
      da8ac8ea
    • Andrew Morton's avatar
      [PATCH] bugfix for initialization bug in adm1021 driver · 548373bb
      Andrew Morton authored
      From: Rusty Lynch <rusty@linux.co.intel.com>
      
      While initializing the adm1021 device, the driver is performing a conversion
      from fixed point to Celcius on values that were declaired as Celcius.  On my
      Dell Precision 220 this results in a shutdown after a couple of minutes
      running.
      
      The latch simply removes the conversion.
      548373bb
    • Andrew Morton's avatar
      [PATCH] Better argument size tracking in fs/exec.c · 5e46b7f3
      Andrew Morton authored
      From: Matthew Wilcox <willy@debian.org>
      
      Introduce a new variable "arg_size" and set it appropriately in each arm of
      the CONFIG_STACK_GROWSUP.  This patch fixes a bug for PA-RISC and makes the
      code cleaner for everyone.
      5e46b7f3
    • Andrew Morton's avatar
      [PATCH] Fix DAC960 oops · 0e4b3163
      Andrew Morton authored
      From: Dave Olien <dmo@osdl.org>
      
      The dynamic queue allocation appears to have exposed a long-standing bug.
      0e4b3163
    • Andrew Morton's avatar
      [PATCH] nls Makefile fix · 229326a9
      Andrew Morton authored
      From: Todor Todorov <ttodorov@web.de>
      
      A missig line fs/nls/Makefile prevents codepage 1250 from compiling and
      installing whatever the .config value.
      229326a9
    • Andrew Morton's avatar
      [PATCH] Fix strncpy off-by-one error · b33d0943
      Andrew Morton authored
      From: Yoshinori Sato <ysato@users.sourceforge.jp>
      
      It writes one too many zeroes when nulling out the destination.
      b33d0943
    • Andrew Morton's avatar
      [PATCH] Make 16-way x440's boot · 54d8435b
      Andrew Morton authored
      From: Matthew Dobson <colpatch@us.ibm.com>
      
      16 proc x440 boxen aren't booting mainline kernels right now for many valid
      configs.  This patch makes sure NUMA codepaths aren't executed for SMP
      configs.  It also adds some sane error messages to the code, and cleans up
      some #ifdefs.
      54d8435b
    • Andrew Morton's avatar
      [PATCH] jffs statfs fix · 0f9ba494
      Andrew Morton authored
      From: Josh Boyer <jwboyer@charter.net>
      
      jffs was missed in the statfs64 conversions.
      0f9ba494
    • Andrew Morton's avatar
      [PATCH] state request_firmware() maintainership. · e53988f7
      Andrew Morton authored
      From: Manuel Estrada Sainz <ranty@debian.org>
      
      Add Manuel to MAINTAINERS for request_firmware().
      e53988f7
    • Andrew Morton's avatar
      [PATCH] more documentation for request_firmware() · 86ae4503
      Andrew Morton authored
      From: Manuel Estrada Sainz <ranty@debian.org>
      
      Add some higher level docs to Documentation/firmware_class/README.
      86ae4503
    • Andrew Morton's avatar
      [PATCH] hugetlbfs - 'recovering' too many blocks on failure · 2e710fbb
      Andrew Morton authored
      From: Zwane Mwaikambo <zwane@linuxpower.ca>
      
      The code appears to be able to add too many blocks back to
      sbinfo->free_blocks in the failure path. We first do;
      
      len = vma->vm_end - vma->vm_start;
      sbinfo->free_blocks -= len;
      
      but then later do;
      len = (vma->vm_end - vma->vma_start) + (vma->vm_pgoff << HPAGE_SHIFT)
      
      error:
      sbinfo->free_blocks += len;
      2e710fbb
    • Andrew Morton's avatar
      [PATCH] ipmi_kcs_intf.c compile warning · b6a040f5
      Andrew Morton authored
      From: Zwane Mwaikambo <zwane@linuxpower.ca>
      
      drivers/char/ipmi/ipmi_kcs_intf.c: In function `acpi_find_bmc':
      drivers/char/ipmi/ipmi_kcs_intf.c:1088: warning: long unsigned int format, different type arg (arg 2)
      drivers/char/ipmi/ipmi_kcs_intf.c:1088: warning: long unsigned int format, different type arg (arg 2)
      b6a040f5
    • Andrew Morton's avatar
      [PATCH] fix [un]likely(), add ptr support · 2e0623e3
      Andrew Morton authored
      From: Albert Cahalan <albert@users.sourceforge.net>
      
      1. allows likely() and unlikely() to work for pointers
      
      2. fixes likely() (in C, any non-zero value is true)
      2e0623e3
    • Andrew Morton's avatar
      [PATCH] keyboard.c warning fix · ca5c021c
      Andrew Morton authored
      drivers/char/keyboard.c: In function `k_fn':
      drivers/char/keyboard.c:665: warning: comparison is always true due
      to limited range of data type
      
      I didn't want to just delete the code because one day the size of func_table
      may get smaller, or the type of `value' may get larger.  When that happens,
      the test becomes valid again.
      ca5c021c
    • Andrew Morton's avatar
      [PATCH] kill warning in jbd/revoke.c · 1c6e67fc
      Andrew Morton authored
      From: Peter Chubb <peterc@gelato.unsw.edu.au>
      
      If you need a long long format, then cast to long long, not u64.  u64 is
      long on 64-bit architectures.
      1c6e67fc
    • Andrew Morton's avatar
      [PATCH] Kill warning in drivers/input/misc/uinput.c on IA64 · 02cb6f3d
      Andrew Morton authored
      From: Peter Chubb <peterc@gelato.unsw.edu.au>
      
      Attached patch kills a warning when compiling on a 64-bit architecture
      (ssize_t is long, not int)
      02cb6f3d
    • Andrew Morton's avatar
      [PATCH] request_firmware fix · ef628dc9
      Andrew Morton authored
      From: Manuel Estrada Sainz <ranty@debian.org>
      
      - undo recent change, made in the believe that "buffer" was the size of
        the whole file, it is just PAGE_SIZE in size.  This was causing kernel
        memory corruption.
      
        - Since files are allowed to have unknown sizes, by setting their
          size to 0, we can't preallocate a buffer of their size on open.
      
      - Adapt request_firmware() to the sysfs change.
      
      - Adapt drivers/pci/pci-sysfs.c to the sysfs change.
      ef628dc9
    • Andrew Morton's avatar
      [PATCH] loop oops fix · 534d8695
      Andrew Morton authored
      loop-on-file oopses during unmount.  This is because lo_queue is now freed
      during lo_ioctl(LOOP_CLR_FD).  I think the scenario is:
      
      1: umount(8) opens /dev/loop0
      
      2: umount(8) runs lo_ioctl(LOOP_CLR_FD) (this frees the queue)
      
      3: umount(8) closes the /dev/loop0 handle.  The blockdev layer syncs the
         blockdev, but its mapping->backing_dev_info now points into la-la-land.
      
      We shouldn't be freeing the queue until all refs to it have gone away.  This
      patch gives the queue the same lifetime as the controlling loop_device
      itself.  It also makes the loop driver's queue appear in sysfs again.
      
      It would be better to free the queue when the device is not in use, but I'm
      not sure how we can hook into the blockdev layer to do that.
      534d8695
    • Andrew Morton's avatar
      [PATCH] Kill warning in minix filesystem on 64-bit archs · 2afe8ba3
      Andrew Morton authored
      From: Peter Chubb <peterc@gelato.unsw.edu.au>
      
      On 64-bit architectures, ino_t is int, not long, so the attached patch
      is needed to prevent a warning.
      2afe8ba3
    • Andrew Morton's avatar
      [PATCH] fix hugetlbfs slab corruption on umount · 1befd7a5
      Andrew Morton authored
      From: Zwane Mwaikambo <zwane@linuxpower.ca>
      
      hugetlbfs was accessing super_block->s_fs_info after free'ing it.  This was
      because it was being free'd prematurely.  I have deferred free until
      ->put_super().  I have also removed hugetlbfs_kill_super since it now is
      simply a kill_litter_super.
      1befd7a5