[PATCH v2 4/4] dt-bindings: usb: use preferred license tag
Greg Kroah-Hartman
gregkh at linuxfoundation.org
Sat Oct 10 05:50:52 EDT 2020
On Sat, Oct 10, 2020 at 04:43:14PM +0800, Chunfeng Yun wrote:
> This is used to fix the checkpach.pl WARNING:SPDX_LICENSE_TAG
>
> See bindings/submitting-patches.rst:
> "DT binding files should be dual licensed. The preferred license tag is
> (GPL-2.0-only OR BSD-2-Clause)."
>
> Signed-off-by: Chunfeng Yun <chunfeng.yun at mediatek.com>
> ---
> v2: new patch
> ---
> Documentation/devicetree/bindings/usb/usb-hcd.yaml | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/usb/usb-hcd.yaml b/Documentation/devicetree/bindings/usb/usb-hcd.yaml
> index 42b295afdf32..11b9b9ee2b54 100644
> --- a/Documentation/devicetree/bindings/usb/usb-hcd.yaml
> +++ b/Documentation/devicetree/bindings/usb/usb-hcd.yaml
> @@ -1,4 +1,4 @@
> -# SPDX-License-Identifier: GPL-2.0
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Are you sure you are allowed to change the license of this file? Last I
checked, you did not write this file, and so, you can't change the
license of it. You need to get the owners of the file to do so.
thanks,
greg k-h
More information about the Linux-mediatek
mailing list