1. 09 Nov, 2005 8 commits
    • Dmitry Torokhov's avatar
      [PATCH] Input: fix 'uniq' reporting in hotplug handler · 08de1f04
      Dmitry Torokhov authored
      Input: fix 'uniq' reporting in hotplug handler
      Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      08de1f04
    • Andrew Morton's avatar
      [PATCH] mtd: onenand_base needs sched.h · 015953d7
      Andrew Morton authored
      drivers/mtd/onenand/onenand_base.c: In function `onenand_wait':
      drivers/mtd/onenand/onenand_base.c:293: error: `jiffies' undeclared (first use in this function)
      drivers/mtd/onenand/onenand_base.c:293: error: (Each undeclared identifier is reported only once
      drivers/mtd/onenand/onenand_base.c:293: error: for each function it appears in.)
      drivers/mtd/onenand/onenand_base.c:293: error: implicit declaration of function `msecs_to_jiffies'
      drivers/mtd/onenand/onenand_base.c:294: error: implicit declaration of function `time_before'
      drivers/mtd/onenand/onenand_base.c:301: error: implicit declaration of function `cond_resched'
      drivers/mtd/onenand/onenand_base.c: In function `onenand_get_device':
      drivers/mtd/onenand/onenand_base.c:522: error: implicit declaration of function `set_current_state'
      drivers/mtd/onenand/onenand_base.c:522: error: `TASK_UNINTERRUPTIBLE' undeclared (first use in this function)
      drivers/mtd/onenand/onenand_base.c:525: error: implicit declaration of function `schedule'
      drivers/mtd/onenand/onenand_base.c: In function `onenand_release_device':
      drivers/mtd/onenand/onenand_base.c:545: error: `TASK_UNINTERRUPTIBLE' undeclared (first use in this function)
      drivers/mtd/onenand/onenand_base.c:545: error: `TASK_INTERRUPTIBLE' undeclared (first use in this function)
      
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      015953d7
    • Andrew Morton's avatar
      [PATCH] mtd: rfd_ftl build fix · b80b5832
      Andrew Morton authored
      drivers/mtd/rfd_ftl.c: In function `find_free_block':
      drivers/mtd/rfd_ftl.c:528: error: `jiffies' undeclared (first use in this function)
      drivers/mtd/rfd_ftl.c:528: error: (Each undeclared identifier is reported only once
      drivers/mtd/rfd_ftl.c:528: error: for each function it appears in.)
      
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      b80b5832
    • Andrew Morton's avatar
      [PATCH] vx_hwdep.c needs vmalloc.h · 409ef74a
      Andrew Morton authored
      sound/drivers/vx/vx_hwdep.c: In function `free_fw':
      sound/drivers/vx/vx_hwdep.c:144: error: implicit declaration of function `vfree'
      sound/drivers/vx/vx_hwdep.c: In function `vx_hwdep_dsp_load':
      sound/drivers/vx/vx_hwdep.c:163: error: implicit declaration of function `vmalloc'
      
      Cc: Jaroslav Kysela <perex@suse.cz>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      409ef74a
    • Anton Blanchard's avatar
      [PATCH] quieten softlockup at boot · 3aef1bde
      Anton Blanchard authored
      On a large SMP box we get a lot of softlockup thread XX started lines.
      Signed-off-by: default avatarAnton Blanchard <anton@samba.org>
      Acked-by: default avatarIngo Molnar <mingo@elte.hu>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      3aef1bde
    • Ashok Raj's avatar
      [PATCH] cpu hotplug: fix locking in cpufreq drivers · 90d45d17
      Ashok Raj authored
      When calling target drivers to set frequency, we take cpucontrol lock.
      When we modified the code to accomodate CPU hotplug, there was an attempt
      to take a double lock of cpucontrol leading to a deadlock.  Since the
      current thread context is already holding the cpucontrol lock, we dont need
      to make another attempt to acquire it.
      
      Now we leave a trace in current->flags indicating current thread already is
      under cpucontrol lock held, so we dont attempt to do this another time.
      
      Thanks to Andrew Morton for the beating:-)
      
      From: Brice Goglin <Brice.Goglin@ens-lyon.org>
      
        Build fix
      
      (akpm: this patch is still unpleasant.  Ashok continues to look for a cleaner
      solution, doesn't he?  ;))
      Signed-off-by: default avatarAshok Raj <ashok.raj@intel.com>
      Signed-off-by: default avatarBrice Goglin <Brice.Goglin@ens-lyon.org>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      90d45d17
    • Al Viro's avatar
      [PATCH] Fix sysctl unregistration oops (CVE-2005-2709) · 330d57fb
      Al Viro authored
      You could open the /proc/sys/net/ipv4/conf/<if>/<whatever> file, then
      wait for interface to go away, try to grab as much memory as possible in
      hope to hit the (kfreed) ctl_table.  Then fill it with pointers to your
      function.  Then do read from file you've opened and if you are lucky,
      you'll get it called as ->proc_handler() in kernel mode.
      
      So this is at least an Oops and possibly more.  It does depend on an
      interface going away though, so less of a security risk than it would
      otherwise be.
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      330d57fb
    • Linus Torvalds's avatar
      8546df6f
  2. 08 Nov, 2005 32 commits