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
30 May, 2016
1 commit
-
Add a device managed API for reset_controller_register().
This helps in reducing code in .remove callbacks and sometimes
dropping .remove callbacks entirely.Signed-off-by: Masahiro Yamada
Acked-by: Laxman Dewangan
Signed-off-by: Philipp Zabel
30 Mar, 2016
1 commit
-
Now that struct reset_control no longer stores the device pointer for
the device calling reset_control_get we can share a single struct
reset_control when multiple calls to reset_control_get are made for
the same reset line (same id / index).This is a preparation patch for adding support for shared reset lines.
Signed-off-by: Hans de Goede
Signed-off-by: Philipp Zabel
25 Jan, 2016
1 commit
-
The ops pointer is holding a pointer to a structure that is usually not
modified. Make it const.Signed-off-by: Maxime Ripard
Signed-off-by: Philipp Zabel
20 Oct, 2014
1 commit
-
There are cases where a system will want to read a reset status bit before
doing any other toggling. Add a reset_control_status helper function to the
reset controller API.Signed-off-by: Dinh Nguyen
Signed-off-by: Philipp Zabel
17 Jan, 2014
1 commit
-
If a user of doesn't include
before including reset-controller.h they'll get a
warning as follows:include/linux/reset-controller.h:44:17:
warning: 'struct of_phandle_args' declared inside parameter listThis is because of_phandle_args is not forward declared. Add the
declaration to silence this warning.Acked-by: Philipp Zabel
Signed-off-by: Stephen Boyd
Signed-off-by: Mike Turquette
12 Apr, 2013
1 commit
-
This adds a simple API for devices to request being reset
by separate reset controller hardware and implements the
reset signal device tree binding.Signed-off-by: Philipp Zabel
Reviewed-by: Stephen Warren
Reviewed-by: Shawn Guo
Reviewed-by: Marek Vasut
Reviewed-by: Pavel Machek