02 Nov, 2017

1 commit

  • Many source files in the tree are missing licensing information, which
    makes it harder for compliance tools to determine the correct license.

    By default all files without license information are under the default
    license of the kernel, which is GPL version 2.

    Update the files which contain no license information with the 'GPL-2.0'
    SPDX license identifier. The SPDX identifier is a legally binding
    shorthand, which can be used instead of the full boiler plate text.

    This patch is based on work done by Thomas Gleixner and Kate Stewart and
    Philippe Ombredanne.

    How this work was done:

    Patches were generated and checked against linux-4.14-rc6 for a subset of
    the use cases:
    - file had no licensing information it it.
    - file was a */uapi/* one with no licensing information in it,
    - file was a */uapi/* one with existing licensing information,

    Further patches will be generated in subsequent months to fix up cases
    where non-standard license headers were used, and references to license
    had to be inferred by heuristics based on keywords.

    The analysis to determine which SPDX License Identifier to be applied to
    a file was done in a spreadsheet of side by side results from of the
    output of two independent scanners (ScanCode & Windriver) producing SPDX
    tag:value files created by Philippe Ombredanne. Philippe prepared the
    base worksheet, and did an initial spot review of a few 1000 files.

    The 4.13 kernel was the starting point of the analysis with 60,537 files
    assessed. Kate Stewart did a file by file comparison of the scanner
    results in the spreadsheet to determine which SPDX license identifier(s)
    to be applied to the file. She confirmed any determination that was not
    immediately clear with lawyers working with the Linux Foundation.

    Criteria used to select files for SPDX license identifier tagging was:
    - Files considered eligible had to be source code files.
    - Make and config files were included as candidates if they contained >5
    lines of source
    - File already had some variant of a license header in it (even if
    Reviewed-by: Philippe Ombredanne
    Reviewed-by: Thomas Gleixner
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

17 Nov, 2013

1 commit


02 Nov, 2011

1 commit

  • * kill duplicates with drivers/char/Kconfig
    * take watchdog one into drivers/watchdog/Kconfig
    * take mmapper to arch/um/Kconfig.um
    * rename Kconfig.char menu to "UML Character Devices"

    Signed-off-by: Al Viro
    Signed-off-by: Richard Weinberger

    Al Viro
     

29 Aug, 2008

1 commit

  • sound/sound_core.c implements soundcore.ko and contains two parts -
    sound_class which is shared by both ALSA and OSS and device
    redirection support for OSS. It's always compiled when any sound
    support is enabled although it's necessary only when OSS (the actual
    one or emulation) is enabled. This is slightly wasteful and as device
    redirection always registers character device region for major 14, it
    prevents alternative implementation.

    This patch introduces a new config SOUND_OSS_CORE which is selected
    iff OSS support is actually necessary and build the OSS core part
    conditionally.

    If OSS is disabled, soundcore merely contains sound_class but leaving
    it that way seems to be the simplest approach as otherwise sound_class
    should be in ALSA core file if OSS is disabled but should be in
    soundcore if OSS is enabled. Also, there's also the user confusion
    factor.

    Signed-off-by: Tejun Heo
    Signed-off-by: Takashi Iwai
    Signed-off-by: Jaroslav Kysela

    Tejun Heo
     

13 May, 2008

1 commit

  • Add the BLOCK dependency for RAW_DRIVER, to match what's in
    drivers/char/Kconfig. Also, while we're there, update the alleged
    obsolesence of RAW_DRIVER since it doesn't seem to be going away any
    time soon.

    Signed-off-by: Robert P. J. Day
    Signed-off-by: Jeff Dike
    Cc: WANG Cong
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Robert P. J. Day
     

06 Feb, 2008

1 commit


17 Oct, 2007

2 commits

  • Formatting changes in the files which have been changed in the
    tt-removal patchset so far. These include:
    copyright updates
    header file trimming
    style fixes
    adding severity to printks
    indenting Kconfig help according to the predominant kernel style

    These changes should be entirely non-functional.

    Signed-off-by: Jeff Dike
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jeff Dike
     
  • This patchset throws out tt mode, which has been non-functional for a while.

    This is done in phases, interspersed with code cleanups on the affected files.

    The removal is done as follows:
    remove all code, config options, and files which depend on
    CONFIG_MODE_TT
    get rid of the CHOOSE_MODE macro, which decided whether to
    call tt-mode or skas-mode code, and replace invocations with their
    skas portions
    replace all now-trivial procedures with their skas equivalents

    There are now a bunch of now-redundant pieces of data structures, including
    mode-specific pieces of the thread structure, pt_regs, and mm_context. These
    are all replaced with their skas-specific contents.

    As part of the ongoing style compliance project, I made a style pass over all
    files that were changed. There are three such patches, one for each phase,
    covering the files affected by that phase but no later ones.

    I noticed that we weren't freeing the LDT state associated with a process when
    it exited, so that's fixed in one of the later patches.

    The last patch is a tidying patch which I've had for a while, but which caused
    inexplicable crashes under tt mode. Since that is no longer a problem, this
    can now go in.

    This patch:

    Start getting rid of tt mode support.

    This patch throws out CONFIG_MODE_TT and all config options, code, and files
    which depend on it.

    CONFIG_MODE_SKAS is gone and everything that depends on it is included
    unconditionally.

    The few changed lines are in re-written Kconfig help, lines which needed
    something skas-related removed from them, and a few more which weren't
    strictly deletions.

    Signed-off-by: Jeff Dike
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jeff Dike
     

02 Mar, 2007

1 commit

  • Add the RAW device driver options to the UML Kconfig.char file so that you may
    use them in UML.

    Signed-off-by: Allan Graves
    Signed-off-by: Jeff Dike
    Cc: Paolo 'Blaisorblade' Giarrusso
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Allan Graves
     

21 Oct, 2006

1 commit


05 Sep, 2005

1 commit

  • To the extent that sub-Kconfig files exist elsewhere in the tree, they are
    named Kconfig.foo, rather than the Kconfig_foo that UML has. This patch
    brings the names in line with the rest of the tree.

    Signed-off-by: Jeff Dike
    Cc: Paolo 'Blaisorblade' Giarrusso
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jeff Dike