1. 27 3月, 2008 1 次提交
  2. 26 3月, 2008 1 次提交
  3. 25 3月, 2008 21 次提交
  4. 24 3月, 2008 5 次提交
    • G
      [POWERPC] mpc5200-fec: Fix possible NULL dereference in mdio driver · b8c19eb1
      Grant Likely 提交于
      If the reg property is missing from the phy node (unlikely, but possible),
      then the kernel will oops with a NULL pointer dereference.  This fixes
      it by checking the pointer first.
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      b8c19eb1
    • E
      connector: convert to single-threaded workqueue · 4b1b3667
      Evgeniy Polyakov 提交于
      From: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
      
      We don't need one cqueue thread for each CPU.  cqueue is used for
      receiving userspace datagrams, which are very rare and thus will
      happily live with a single queue.
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4b1b3667
    • R
      i2c: Fix docbook problem · 8c07e46f
      Randy Dunlap 提交于
      Sometimes kernel-doc and xmlto conspire to create output that is invalid
      and causes problems.  Until I know a real/better solution, change the
      source code that causes this.
      
      If anyone has better fixes or can just explain what is happening here,
      that would be great.
      
      xmlto: input does not validate (status 1)
      mmotm-2008-0314-1449/Documentation/DocBook/kernel-api.xml:71468: parser error : Opening and ending tag mismatch: programlisting line 71464 and para
         </para><para>
                ^
      mmotm-2008-0314-1449/Documentation/DocBook/kernel-api.xml:71480: parser error : Opening and ending tag mismatch: para line 71473 and programlisting
      </programlisting></informalexample>
                       ^
      make[1]: *** [Documentation/DocBook/kernel-api.html] Error 1
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      8c07e46f
    • T
      i2c-omap: Fix unhandled fault · f08ac4e7
      Tony Lindgren 提交于
      If an I2C interrupt happens between disabling interface clock
      and functional clock, the interrupt handler will produce an
      external abort on non-linefetch error when trying to access
      driver registers while interface clock is disabled.
      
      This patch fixes the problem by saving and disabling i2c-omap
      interrupt before turning off the clocks. Also disable functional
      clock before the interface clock as suggested by Paul Walmsley.
      
      Patch also renames enable/disable_clocks functions to unidle/idle
      functions. Note that the driver is currently not taking advantage
      of the idle interrupts. To use the idle interrupts, driver would
      have to enable interface clock based on the idle interrupt
      and dev->idle flag.
      
      This patch has been tested in linux-omap tree with various omaps.
      
      Cc: Paul Walmsley <paul@pwsan.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      f08ac4e7
    • B
      i2c-bfin-twi: Disable BF54x support for now · 70849251
      Bryan Wu 提交于
      The i2c-bfin-twi driver doesn't support BF54x for now due to
      missing header definitions causing the build to fail. Exclude
      it for now, it will be enabled again later.
      Signed-off-by: NBryan Wu <cooloney@kernel.org>
      Signed-off-by: NJean Delvare <khali@linux-fr.org>
      70849251
  5. 23 3月, 2008 4 次提交
  6. 22 3月, 2008 6 次提交
  7. 21 3月, 2008 2 次提交
    • J
      [NET] ifb: set separate lockdep classes for queue locks · 94833dfb
      Jarek Poplawski 提交于
      [   10.536424] =======================================================
      [   10.536424] [ INFO: possible circular locking dependency detected ]
      [   10.536424] 2.6.25-rc3-devel #3
      [   10.536424] -------------------------------------------------------
      [   10.536424] swapper/0 is trying to acquire lock:
      [   10.536424]  (&dev->queue_lock){-+..}, at: [<c0299b4a>] 
      dev_queue_xmit+0x175/0x2f3
      [   10.536424]
      [   10.536424] but task is already holding lock:
      [   10.536424]  (&p->tcfc_lock){-+..}, at: [<f8a67154>] tcf_mirred+0x20/0x178 
      [act_mirred]
      [   10.536424]
      [   10.536424] which lock already depends on the new lock.
      
      lockdep warns of locking order while using ifb with sch_ingress and
      act_mirred: ingress_lock, tcfc_lock, queue_lock (usually queue_lock
      is at the beginning). This patch is only to tell lockdep that ifb is
      a different device (e.g. from eth) and has its own pair of queue
      locks. (This warning is a false-positive in common scenario of using
      ifb; yet there are possible situations, when this order could be
      dangerous; lockdep should warn in such a case.) (With suggestions by
      David S. Miller)
      Reported-and-tested-by: NDenys Fedoryshchenko <denys@visp.net.lb>
      Signed-off-by: NJarek Poplawski <jarkao2@gmail.com>
      Acked-by: NJamal Hadi Salim <hadi@cyberus.ca>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      94833dfb
    • D
      [TG3]: Fix build warning on sparc32. · 7582a335
      David S. Miller 提交于
      Sparc MAC address support should be protected consistently
      with CONFIG_SPARC, but there was a stray CONFIG_SPARC64
      case.
      
      Bump driver version and release date.
      
      Reported by Andrew Morton.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      7582a335