Skip to content

Commit 618b5dc

Browse files
horiagherbertx
authored andcommitted
crypto: caam - add SPDX license identifier to all files
Previously, a tree-wide change added SPDX license identifiers to files lacking licensing information: b244131 ("License cleanup: add SPDX GPL-2.0 license identifier to files with no license") To be consistent update the rest of the files: -files with license specified by means of MODULE_LICENSE() -files with complete license text -Kconfig Signed-off-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1 parent 29e83c7 commit 618b5dc

File tree

11 files changed

+11
-57
lines changed

11 files changed

+11
-57
lines changed

drivers/crypto/caam/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# SPDX-License-Identifier: GPL-2.0
12
config CRYPTO_DEV_FSL_CAAM_COMMON
23
tristate
34

drivers/crypto/caam/caamalg.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0+
12
/*
23
* caam - Freescale FSL CAAM support for crypto API
34
*

drivers/crypto/caam/caamalg_desc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0+
12
/*
23
* Shared descriptors for aead, skcipher algorithms
34
*

drivers/crypto/caam/caamalg_qi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0+
12
/*
23
* Freescale FSL CAAM support for crypto API over QI backend.
34
* Based on caamalg.c

drivers/crypto/caam/caamhash.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0+
12
/*
23
* caam - Freescale FSL CAAM support for ahash functions of crypto API
34
*

drivers/crypto/caam/caampkc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
12
/*
23
* caam - Freescale FSL CAAM support for Public Key Cryptography
34
*

drivers/crypto/caam/caamrng.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0+
12
/*
23
* caam - Freescale FSL CAAM support for hw_random
34
*

drivers/crypto/caam/ctrl.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0+
12
/* * CAAM control-plane driver backend
23
* Controller-level driver, kernel property detection, initialization
34
*

drivers/crypto/caam/jr.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: GPL-2.0+
12
/*
23
* CAAM/SEC 4.x transport/backend driver
34
* JobR backend functionality

drivers/crypto/caam/sg_sw_qm.h

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,7 @@
1+
/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */
12
/*
23
* Copyright 2013-2016 Freescale Semiconductor, Inc.
34
* Copyright 2016-2017 NXP
4-
*
5-
* Redistribution and use in source and binary forms, with or without
6-
* modification, are permitted provided that the following conditions are met:
7-
* * Redistributions of source code must retain the above copyright
8-
* notice, this list of conditions and the following disclaimer.
9-
* * Redistributions in binary form must reproduce the above copyright
10-
* notice, this list of conditions and the following disclaimer in the
11-
* documentation and/or other materials provided with the distribution.
12-
* * Neither the name of Freescale Semiconductor nor the
13-
* names of its contributors may be used to endorse or promote products
14-
* derived from this software without specific prior written permission.
15-
*
16-
*
17-
* ALTERNATIVELY, this software may be distributed under the terms of the
18-
* GNU General Public License ("GPL") as published by the Free Software
19-
* Foundation, either version 2 of that License or (at your option) any
20-
* later version.
21-
*
22-
* THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
23-
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
24-
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
25-
* DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
26-
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
27-
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
28-
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
29-
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30-
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
31-
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
325
*/
336

347
#ifndef __SG_SW_QM_H

drivers/crypto/caam/sg_sw_qm2.h

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,7 @@
1+
/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */
12
/*
23
* Copyright 2015-2016 Freescale Semiconductor, Inc.
34
* Copyright 2017 NXP
4-
*
5-
* Redistribution and use in source and binary forms, with or without
6-
* modification, are permitted provided that the following conditions are met:
7-
* * Redistributions of source code must retain the above copyright
8-
* notice, this list of conditions and the following disclaimer.
9-
* * Redistributions in binary form must reproduce the above copyright
10-
* notice, this list of conditions and the following disclaimer in the
11-
* documentation and/or other materials provided with the distribution.
12-
* * Neither the names of the above-listed copyright holders nor the
13-
* names of any contributors may be used to endorse or promote products
14-
* derived from this software without specific prior written permission.
15-
*
16-
*
17-
* ALTERNATIVELY, this software may be distributed under the terms of the
18-
* GNU General Public License ("GPL") as published by the Free Software
19-
* Foundation, either version 2 of that License or (at your option) any
20-
* later version.
21-
*
22-
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
23-
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24-
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25-
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
26-
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
27-
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
28-
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
29-
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
30-
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31-
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32-
* POSSIBILITY OF SUCH DAMAGE.
335
*/
346

357
#ifndef _SG_SW_QM2_H_

0 commit comments

Comments
 (0)