1. 11 10月, 2008 1 次提交
  2. 28 8月, 2008 1 次提交
  3. 27 7月, 2008 4 次提交
  4. 11 7月, 2008 1 次提交
  5. 03 7月, 2008 1 次提交
  6. 29 4月, 2008 2 次提交
  7. 21 4月, 2008 1 次提交
  8. 07 2月, 2008 2 次提交
  9. 15 1月, 2008 1 次提交
  10. 30 11月, 2007 1 次提交
  11. 24 10月, 2007 1 次提交
  12. 17 10月, 2007 1 次提交
  13. 23 8月, 2007 1 次提交
  14. 21 7月, 2007 1 次提交
  15. 20 7月, 2007 1 次提交
  16. 17 7月, 2007 1 次提交
  17. 13 5月, 2007 1 次提交
  18. 10 5月, 2007 1 次提交
  19. 09 5月, 2007 4 次提交
  20. 07 5月, 2007 1 次提交
  21. 03 5月, 2007 1 次提交
    • J
      PCI: Cleanup the includes of <linux/pci.h> · 6473d160
      Jean Delvare 提交于
      I noticed that many source files include <linux/pci.h> while they do
      not appear to need it. Here is an attempt to clean it all up.
      
      In order to find all possibly affected files, I searched for all
      files including <linux/pci.h> but without any other occurence of "pci"
      or "PCI". I removed the include statement from all of these, then I
      compiled an allmodconfig kernel on both i386 and x86_64 and fixed the
      false positives manually.
      
      My tests covered 66% of the affected files, so there could be false
      positives remaining. Untested files are:
      
      arch/alpha/kernel/err_common.c
      arch/alpha/kernel/err_ev6.c
      arch/alpha/kernel/err_ev7.c
      arch/ia64/sn/kernel/huberror.c
      arch/ia64/sn/kernel/xpnet.c
      arch/m68knommu/kernel/dma.c
      arch/mips/lib/iomap.c
      arch/powerpc/platforms/pseries/ras.c
      arch/ppc/8260_io/enet.c
      arch/ppc/8260_io/fcc_enet.c
      arch/ppc/8xx_io/enet.c
      arch/ppc/syslib/ppc4xx_sgdma.c
      arch/sh64/mach-cayman/iomap.c
      arch/xtensa/kernel/xtensa_ksyms.c
      arch/xtensa/platform-iss/setup.c
      drivers/i2c/busses/i2c-at91.c
      drivers/i2c/busses/i2c-mpc.c
      drivers/media/video/saa711x.c
      drivers/misc/hdpuftrs/hdpu_cpustate.c
      drivers/misc/hdpuftrs/hdpu_nexus.c
      drivers/net/au1000_eth.c
      drivers/net/fec_8xx/fec_main.c
      drivers/net/fec_8xx/fec_mii.c
      drivers/net/fs_enet/fs_enet-main.c
      drivers/net/fs_enet/mac-fcc.c
      drivers/net/fs_enet/mac-fec.c
      drivers/net/fs_enet/mac-scc.c
      drivers/net/fs_enet/mii-bitbang.c
      drivers/net/fs_enet/mii-fec.c
      drivers/net/ibm_emac/ibm_emac_core.c
      drivers/net/lasi_82596.c
      drivers/parisc/hppb.c
      drivers/sbus/sbus.c
      drivers/video/g364fb.c
      drivers/video/platinumfb.c
      drivers/video/stifb.c
      drivers/video/valkyriefb.c
      include/asm-arm/arch-ixp4xx/dma.h
      sound/oss/au1550_ac97.c
      
      I would welcome test reports for these files. I am fine with removing
      the untested files from the patch if the general opinion is that these
      changes aren't safe. The tested part would still be nice to have.
      
      Note that this patch depends on another header fixup patch I submitted
      to LKML yesterday:
        [PATCH] scatterlist.h needs types.h
        http://lkml.org/lkml/2007/3/01/141Signed-off-by: NJean Delvare <khali@linux-fr.org>
      Cc: Badari Pulavarty <pbadari@us.ibm.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      6473d160
  22. 02 5月, 2007 1 次提交
  23. 26 4月, 2007 1 次提交
  24. 13 4月, 2007 3 次提交
  25. 15 2月, 2007 1 次提交
    • T
      [PATCH] remove many unneeded #includes of sched.h · cd354f1a
      Tim Schmielau 提交于
      After Al Viro (finally) succeeded in removing the sched.h #include in module.h
      recently, it makes sense again to remove other superfluous sched.h includes.
      There are quite a lot of files which include it but don't actually need
      anything defined in there.  Presumably these includes were once needed for
      macros that used to live in sched.h, but moved to other header files in the
      course of cleaning it up.
      
      To ease the pain, this time I did not fiddle with any header files and only
      removed #includes from .c-files, which tend to cause less trouble.
      
      Compile tested against 2.6.20-rc2 and 2.6.20-rc2-mm2 (with offsets) on alpha,
      arm, i386, ia64, mips, powerpc, and x86_64 with allnoconfig, defconfig,
      allmodconfig, and allyesconfig as well as a few randconfigs on x86_64 and all
      configs in arch/arm/configs on arm.  I also checked that no new warnings were
      introduced by the patch (actually, some warnings are removed that were emitted
      by unnecessarily included header files).
      Signed-off-by: NTim Schmielau <tim@physik3.uni-rostock.de>
      Acked-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      cd354f1a
  26. 13 2月, 2007 2 次提交
  27. 03 2月, 2007 1 次提交
  28. 08 12月, 2006 1 次提交
    • N
      [PATCH] Correct misc_register return code handling in several drivers · 5d469ec0
      Neil Horman 提交于
      Clean up several code points in which the return code from misc_register is
      not handled properly.
      
      Several modules failed to deregister various hooks when misc_register fails,
      and this patch cleans them up.  Also there are a few modules that legitimately
      don't care about the failure status of misc register.  These drivers however
      unilaterally call misc_deregister on module unload.
      
      Since misc_register doesn't initialize the list_head in the init_routine if it
      fails, the deregister operation is at risk for oopsing when list_del is
      called.  The initial solution was to manually init the list in the miscdev
      structure in each of those modules, but the consensus in this thread was to
      consolodate and do that universally inside misc_register.
      Signed-off-by: NNeil Horman <nhorman@tuxdriver.com>
      Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
      Cc: Kylene Jo Hall <kjhall@us.ibm.com>
      Cc: Dmitry Torokhov <dtor@mail.ru>
      Cc: Olaf Hering <olh@suse.de>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      5d469ec0
  29. 04 12月, 2006 1 次提交