Skip to content

Commit 9e2b3e8

Browse files
jgross1bostrovs
authored andcommitted
xen: fix wrong SPDX headers of Xen related headers
Commit b244131 ("License cleanup: add SPDX GPL-2.0 license identifier to files with no license") was meant to do a tree-wide cleanup for files without any license information by adding a SPDX GPL-2.0 line to them. Unfortunately this was applied even to several Xen-related headers which have been originally under the MIT license, but obviously have been copied to the Linux tree from the Xen project without keeping the license boiler plate as required. Correct that by changing the license of those files back to "MIT". Some files still contain the MIT license text. Replace that by the related SPDX line. Signed-off-by: Juergen Gross <[email protected]> Reviewed-by: Boris Ostrovsky <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Boris Ostrovsky <[email protected]>
1 parent d8da266 commit 9e2b3e8

35 files changed

+36
-410
lines changed

include/xen/interface/callback.h

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,9 @@
1+
/* SPDX-License-Identifier: MIT */
12
/******************************************************************************
23
* callback.h
34
*
45
* Register guest OS callbacks with Xen.
56
*
6-
* Permission is hereby granted, free of charge, to any person obtaining a copy
7-
* of this software and associated documentation files (the "Software"), to
8-
* deal in the Software without restriction, including without limitation the
9-
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10-
* sell copies of the Software, and to permit persons to whom the Software is
11-
* furnished to do so, subject to the following conditions:
12-
*
13-
* The above copyright notice and this permission notice shall be included in
14-
* all copies or substantial portions of the Software.
15-
*
16-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21-
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22-
* DEALINGS IN THE SOFTWARE.
23-
*
247
* Copyright (c) 2006, Ian Campbell
258
*/
269

include/xen/interface/elfnote.h

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,9 @@
1+
/* SPDX-License-Identifier: MIT */
12
/******************************************************************************
23
* elfnote.h
34
*
45
* Definitions used for the Xen ELF notes.
56
*
6-
* Permission is hereby granted, free of charge, to any person obtaining a copy
7-
* of this software and associated documentation files (the "Software"), to
8-
* deal in the Software without restriction, including without limitation the
9-
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10-
* sell copies of the Software, and to permit persons to whom the Software is
11-
* furnished to do so, subject to the following conditions:
12-
*
13-
* The above copyright notice and this permission notice shall be included in
14-
* all copies or substantial portions of the Software.
15-
*
16-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21-
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22-
* DEALINGS IN THE SOFTWARE.
23-
*
247
* Copyright (c) 2006, Ian Campbell, XenSource Ltd.
258
*/
269

include/xen/interface/event_channel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* SPDX-License-Identifier: GPL-2.0 */
1+
/* SPDX-License-Identifier: MIT */
22
/******************************************************************************
33
* event_channel.h
44
*

include/xen/interface/features.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* SPDX-License-Identifier: GPL-2.0 */
1+
/* SPDX-License-Identifier: MIT */
22
/******************************************************************************
33
* features.h
44
*

include/xen/interface/grant_table.h

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,10 @@
1+
/* SPDX-License-Identifier: MIT */
12
/******************************************************************************
23
* grant_table.h
34
*
45
* Interface for granting foreign access to page frames, and receiving
56
* page-ownership transfers.
67
*
7-
* Permission is hereby granted, free of charge, to any person obtaining a copy
8-
* of this software and associated documentation files (the "Software"), to
9-
* deal in the Software without restriction, including without limitation the
10-
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
11-
* sell copies of the Software, and to permit persons to whom the Software is
12-
* furnished to do so, subject to the following conditions:
13-
*
14-
* The above copyright notice and this permission notice shall be included in
15-
* all copies or substantial portions of the Software.
16-
*
17-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22-
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23-
* DEALINGS IN THE SOFTWARE.
24-
*
258
* Copyright (c) 2004, K A Fraser
269
*/
2710

include/xen/interface/hvm/dm_op.h

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,6 @@
1+
/* SPDX-License-Identifier: MIT */
12
/*
23
* Copyright (c) 2016, Citrix Systems Inc
3-
*
4-
* Permission is hereby granted, free of charge, to any person obtaining a copy
5-
* of this software and associated documentation files (the "Software"), to
6-
* deal in the Software without restriction, including without limitation the
7-
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
8-
* sell copies of the Software, and to permit persons to whom the Software is
9-
* furnished to do so, subject to the following conditions:
10-
*
11-
* The above copyright notice and this permission notice shall be included in
12-
* all copies or substantial portions of the Software.
13-
*
14-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19-
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20-
* DEALINGS IN THE SOFTWARE.
214
*/
225

236
#ifndef __XEN_PUBLIC_HVM_DM_OP_H__

include/xen/interface/hvm/hvm_op.h

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,4 @@
1-
/*
2-
* Permission is hereby granted, free of charge, to any person obtaining a copy
3-
* of this software and associated documentation files (the "Software"), to
4-
* deal in the Software without restriction, including without limitation the
5-
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
6-
* sell copies of the Software, and to permit persons to whom the Software is
7-
* furnished to do so, subject to the following conditions:
8-
*
9-
* The above copyright notice and this permission notice shall be included in
10-
* all copies or substantial portions of the Software.
11-
*
12-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
17-
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
18-
* DEALINGS IN THE SOFTWARE.
19-
*/
1+
/* SPDX-License-Identifier: MIT */
202

213
#ifndef __XEN_PUBLIC_HVM_HVM_OP_H__
224
#define __XEN_PUBLIC_HVM_HVM_OP_H__

include/xen/interface/hvm/hvm_vcpu.h

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,5 @@
1+
/* SPDX-License-Identifier: MIT */
12
/*
2-
* Permission is hereby granted, free of charge, to any person obtaining a copy
3-
* of this software and associated documentation files (the "Software"), to
4-
* deal in the Software without restriction, including without limitation the
5-
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
6-
* sell copies of the Software, and to permit persons to whom the Software is
7-
* furnished to do so, subject to the following conditions:
8-
*
9-
* The above copyright notice and this permission notice shall be included in
10-
* all copies or substantial portions of the Software.
11-
*
12-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
17-
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
18-
* DEALINGS IN THE SOFTWARE.
19-
*
203
* Copyright (c) 2015, Roger Pau Monne <[email protected]>
214
*/
225

include/xen/interface/hvm/params.h

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,4 @@
1-
/*
2-
* Permission is hereby granted, free of charge, to any person obtaining a copy
3-
* of this software and associated documentation files (the "Software"), to
4-
* deal in the Software without restriction, including without limitation the
5-
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
6-
* sell copies of the Software, and to permit persons to whom the Software is
7-
* furnished to do so, subject to the following conditions:
8-
*
9-
* The above copyright notice and this permission notice shall be included in
10-
* all copies or substantial portions of the Software.
11-
*
12-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
17-
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
18-
* DEALINGS IN THE SOFTWARE.
19-
*/
1+
/* SPDX-License-Identifier: MIT */
202

213
#ifndef __XEN_PUBLIC_HVM_PARAMS_H__
224
#define __XEN_PUBLIC_HVM_PARAMS_H__

include/xen/interface/hvm/start_info.h

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,5 @@
1+
/* SPDX-License-Identifier: MIT */
12
/*
2-
* Permission is hereby granted, free of charge, to any person obtaining a copy
3-
* of this software and associated documentation files (the "Software"), to
4-
* deal in the Software without restriction, including without limitation the
5-
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
6-
* sell copies of the Software, and to permit persons to whom the Software is
7-
* furnished to do so, subject to the following conditions:
8-
*
9-
* The above copyright notice and this permission notice shall be included in
10-
* all copies or substantial portions of the Software.
11-
*
12-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
17-
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
18-
* DEALINGS IN THE SOFTWARE.
19-
*
203
* Copyright (c) 2016, Citrix Systems, Inc.
214
*/
225

0 commit comments

Comments
 (0)