1. 17 7月, 2012 1 次提交
    • P
      staging: wlags49_h2: remove vi modelines · 4e76a28d
      Paul Bolle 提交于
      Opening drivers/staging/wlags49_h2/dhf.h with vim triggered this
      warning:
      "drivers/staging/wlags49_h2/dhf.h" 226L, 8428C
      Error detected while processing modelines:
      line    2:
      E518: Unknown option: */
      Press ENTER or type command to continue
      
      Since the Linux kernel coding style disallows modelines this invalid
      modeline can simply be removed. And since we're touching this file we
      might as well remove all vim modelines from this driver.
      
      vim tested only.
      Signed-off-by: NPaul Bolle <pebolle@tiscali.nl>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      4e76a28d
  2. 13 6月, 2012 1 次提交
  3. 15 5月, 2012 1 次提交
  4. 10 5月, 2012 1 次提交
  5. 20 4月, 2012 1 次提交
  6. 19 4月, 2012 1 次提交
  7. 11 4月, 2012 2 次提交
  8. 29 3月, 2012 2 次提交
    • L
      Merge tag 'split-asm_system_h-for-linus-20120328' of... · c2d3027c
      Linus Torvalds 提交于
      Merge tag 'split-asm_system_h-for-linus-20120328' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-asm_system
      
      Pull "Disintegrate and delete asm/system.h" from David Howells:
       "Here are a bunch of patches to disintegrate asm/system.h into a set of
        separate bits to relieve the problem of circular inclusion
        dependencies.
      
        I've built all the working defconfigs from all the arches that I can
        and made sure that they don't break.
      
        The reason for these patches is that I recently encountered a circular
        dependency problem that came about when I produced some patches to
        optimise get_order() by rewriting it to use ilog2().
      
        This uses bitops - and on the SH arch asm/bitops.h drags in
        asm-generic/get_order.h by a circuituous route involving asm/system.h.
      
        The main difficulty seems to be asm/system.h.  It holds a number of
        low level bits with no/few dependencies that are commonly used (eg.
        memory barriers) and a number of bits with more dependencies that
        aren't used in many places (eg.  switch_to()).
      
        These patches break asm/system.h up into the following core pieces:
      
          (1) asm/barrier.h
      
              Move memory barriers here.  This already done for MIPS and Alpha.
      
          (2) asm/switch_to.h
      
              Move switch_to() and related stuff here.
      
          (3) asm/exec.h
      
              Move arch_align_stack() here.  Other process execution related bits
              could perhaps go here from asm/processor.h.
      
          (4) asm/cmpxchg.h
      
              Move xchg() and cmpxchg() here as they're full word atomic ops and
              frequently used by atomic_xchg() and atomic_cmpxchg().
      
          (5) asm/bug.h
      
              Move die() and related bits.
      
          (6) asm/auxvec.h
      
              Move AT_VECTOR_SIZE_ARCH here.
      
        Other arch headers are created as needed on a per-arch basis."
      
      Fixed up some conflicts from other header file cleanups and moving code
      around that has happened in the meantime, so David's testing is somewhat
      weakened by that.  We'll find out anything that got broken and fix it..
      
      * tag 'split-asm_system_h-for-linus-20120328' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-asm_system: (38 commits)
        Delete all instances of asm/system.h
        Remove all #inclusions of asm/system.h
        Add #includes needed to permit the removal of asm/system.h
        Move all declarations of free_initmem() to linux/mm.h
        Disintegrate asm/system.h for OpenRISC
        Split arch_align_stack() out from asm-generic/system.h
        Split the switch_to() wrapper out of asm-generic/system.h
        Move the asm-generic/system.h xchg() implementation to asm-generic/cmpxchg.h
        Create asm-generic/barrier.h
        Make asm-generic/cmpxchg.h #include asm-generic/cmpxchg-local.h
        Disintegrate asm/system.h for Xtensa
        Disintegrate asm/system.h for Unicore32 [based on ver #3, changed by gxt]
        Disintegrate asm/system.h for Tile
        Disintegrate asm/system.h for Sparc
        Disintegrate asm/system.h for SH
        Disintegrate asm/system.h for Score
        Disintegrate asm/system.h for S390
        Disintegrate asm/system.h for PowerPC
        Disintegrate asm/system.h for PA-RISC
        Disintegrate asm/system.h for MN10300
        ...
      c2d3027c
    • D
      Remove all #inclusions of asm/system.h · f6526439
      David Howells 提交于
      Remove all #inclusions of asm/system.h preparatory to splitting and killing
      it.  Performed with the following command:
      
      perl -p -i -e 's!^#\s*include\s*<asm/system[.]h>.*\n!!' `grep -Irl '^#\s*include\s*<asm/system[.]h>' *`
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      f6526439
  9. 25 3月, 2012 1 次提交
    • L
      Merge tag 'bug-for-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux · 2462f4e5
      Linus Torvalds 提交于
      Pull <linux/bug.h> cleanup from Paul Gortmaker:
       "The changes shown here are to unify linux's BUG support under the one
        <linux/bug.h> file.  Due to historical reasons, we have some BUG code
        in bug.h and some in kernel.h -- i.e.  the support for BUILD_BUG in
        linux/kernel.h predates the addition of linux/bug.h, but old code in
        kernel.h wasn't moved to bug.h at that time.  As a band-aid, kernel.h
        was including <asm/bug.h> to pseudo link them.
      
        This has caused confusion[1] and general yuck/WTF[2] reactions.  Here
        is an example that violates the principle of least surprise:
      
            CC      lib/string.o
            lib/string.c: In function 'strlcat':
            lib/string.c:225:2: error: implicit declaration of function 'BUILD_BUG_ON'
            make[2]: *** [lib/string.o] Error 1
            $
            $ grep linux/bug.h lib/string.c
            #include <linux/bug.h>
            $
      
        We've included <linux/bug.h> for the BUG infrastructure and yet we
        still get a compile fail! [We've not kernel.h for BUILD_BUG_ON.] Ugh -
        very confusing for someone who is new to kernel development.
      
        With the above in mind, the goals of this changeset are:
      
        1) find and fix any include/*.h files that were relying on the
           implicit presence of BUG code.
        2) find and fix any C files that were consuming kernel.h and hence
           relying on implicitly getting some/all BUG code.
        3) Move the BUG related code living in kernel.h to <linux/bug.h>
        4) remove the asm/bug.h from kernel.h to finally break the chain.
      
        During development, the order was more like 3-4, build-test, 1-2.  But
        to ensure that git history for bisect doesn't get needless build
        failures introduced, the commits have been reorderd to fix the problem
        areas in advance.
      
      	[1]  https://lkml.org/lkml/2012/1/3/90
      	[2]  https://lkml.org/lkml/2012/1/17/414"
      
      Fix up conflicts (new radeon file, reiserfs header cleanups) as per Paul
      and linux-next.
      
      * tag 'bug-for-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux:
        kernel.h: doesn't explicitly use bug.h, so don't include it.
        bug: consolidate BUILD_BUG_ON with other bug code
        BUG: headers with BUG/BUG_ON etc. need linux/bug.h
        bug.h: add include of it to various implicit C users
        lib: fix implicit users of kernel.h for TAINT_WARN
        spinlock: macroize assert_spin_locked to avoid bug.h dependency
        x86: relocate get/set debugreg fcns to include/asm/debugreg.
      2462f4e5
  10. 01 3月, 2012 1 次提交
  11. 25 2月, 2012 1 次提交
  12. 10 1月, 2012 1 次提交
    • L
      Merge branch 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging · 4c8da658
      Linus Torvalds 提交于
      * 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (466 commits)
        net/hyperv: Add support for jumbo frame up to 64KB
        net/hyperv: Add NETVSP protocol version negotiation
        net/hyperv: Remove unnecessary kmap_atomic in netvsc driver
        staging/rtl8192e: Register against lib80211
        staging/rtl8192e: Convert to lib80211_crypt_info
        staging/rtl8192e: Convert to lib80211_crypt_data and lib80211_crypt_ops
        staging/rtl8192e: Add lib80211.h to rtllib.h
        staging/mei: add watchdog device registration wrappers
        drm/omap: GEM, deal with cache
        staging: vt6656: int.c, int.h: Change return of function to void
        staging: usbip: removed unused definitions from header
        staging: usbip: removed dead code from receive function
        staging:iio: Drop {mark,unmark}_in_use callbacks
        staging:iio: Drop buffer mark_param_change callback
        staging:iio: Drop the unused buffer enable() and is_enabled() callbacks
        staging:iio: Drop buffer busy flag
        staging:iio: Make sure a device is only opened once at a time
        staging:iio: Disallow modifying buffer size when buffer is enabled
        staging:iio: Disallow changing scan elements in all buffered modes
        staging:iio: Use iio_buffer_enabled instead of open coding it
        ...
      
      Fix up conflict in drivers/staging/iio/adc/ad799x_core.c (removal of
      module_init due to using module_i2c_driver() helper, next to removal of
      MODULE_ALIAS due to using MODULE_DEVICE_TABLE instead).
      4c8da658
  13. 02 1月, 2012 1 次提交
  14. 28 11月, 2011 1 次提交
  15. 01 11月, 2011 1 次提交
  16. 26 10月, 2011 1 次提交
    • L
      Merge branch 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging · 7989cec9
      Linus Torvalds 提交于
      * 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (1519 commits)
        staging: et131x: Remove redundant check and return statement
        staging: et131x: Mainly whitespace changes to appease checkpatch
        staging: et131x: Remove last of the forward declarations
        staging: et131x: Remove even more forward declarations
        staging: et131x: Remove yet more forward declarations
        staging: et131x: Remove more forward declarations
        staging: et131x: Remove forward declaration of et131x_adapter_setup
        staging: et131x: Remove some forward declarations
        staging: et131x: Remove unused rx_ring.recv_packet_pool
        staging: et131x: Remove call to find pci pm capability
        staging: et131x: Remove redundant et131x_reset_recv() call
        staging: et131x: Remove unused rx_ring.recv_buffer_pool
        Staging: bcm: Fix three initialization errors in InterfaceDld.c
        Staging: bcm: Fix coding style issues in InterfaceDld.c
        staging:iio:dac: Add AD5360 driver
        staging:iio:trigger:bfin-timer: Fix compile error
        Staging: vt6655: add some range checks before memcpy()
        Staging: vt6655: whitespace fixes to iotcl.c
        Staging: vt6656: add some range checks before memcpy()
        Staging: vt6656: whitespace cleanups in ioctl.c
        ...
      
      Fix up conflicts in:
       - drivers/{Kconfig,Makefile}, drivers/staging/{Kconfig,Makefile}:
      	vg driver movement
       - drivers/staging/brcm80211/brcmfmac/{dhd_linux.c,mac80211_if.c}:
      	driver removal vs now stale changes
       - drivers/staging/rtl8192e/r8192E_core.c:
      	driver removal vs now stale changes
       - drivers/staging/et131x/et131*:
      	driver consolidation into one file, tried to do fixups
      7989cec9
  17. 19 10月, 2011 1 次提交
  18. 18 10月, 2011 7 次提交
  19. 05 10月, 2011 3 次提交
  20. 27 9月, 2011 4 次提交
  21. 21 9月, 2011 2 次提交
  22. 17 9月, 2011 5 次提交