From f2088fd15d33ff18959a757fbd111ea1832a96fb Mon Sep 17 00:00:00 2001 From: dbadgaiyan Date: Mon, 19 Dec 2022 17:09:31 +0000 Subject: [PATCH] misc: nvscic2c-pcie: Update nvscic2c-pcie license Modify nvscic2c-pcie files to use updated licenses as per nvidia-oot. Bug 3739487 Jira C2C-826 Change-Id: I819b459fdb0743d37bc08b4c9b92097d87e62884 Signed-off-by: dbadgaiyan Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2830686 Reviewed-by: svcacv Reviewed-by: Arihant Jejani Reviewed-by: Laxman Dewangan GVS: Gerrit_Virtual_Submit --- drivers/misc/nvscic2c-pcie/Makefile | 1 + drivers/misc/nvscic2c-pcie/comm-channel.c | 15 ++------------- drivers/misc/nvscic2c-pcie/comm-channel.h | 15 ++------------- drivers/misc/nvscic2c-pcie/common.h | 15 ++------------- drivers/misc/nvscic2c-pcie/descriptor.h | 15 ++------------- drivers/misc/nvscic2c-pcie/dt.c | 15 ++------------- drivers/misc/nvscic2c-pcie/endpoint.c | 15 ++------------- drivers/misc/nvscic2c-pcie/endpoint.h | 15 ++------------- drivers/misc/nvscic2c-pcie/epc/module.c | 15 ++------------- drivers/misc/nvscic2c-pcie/epf/module.c | 15 ++------------- drivers/misc/nvscic2c-pcie/iova-alloc.c | 16 +++------------- drivers/misc/nvscic2c-pcie/iova-alloc.h | 16 +++------------- drivers/misc/nvscic2c-pcie/iova-mngr.c | 15 ++------------- drivers/misc/nvscic2c-pcie/iova-mngr.h | 15 ++------------- drivers/misc/nvscic2c-pcie/module.h | 15 ++------------- drivers/misc/nvscic2c-pcie/pci-client.c | 16 +++------------- drivers/misc/nvscic2c-pcie/pci-client.h | 15 ++------------- drivers/misc/nvscic2c-pcie/stream-extensions.c | 15 ++------------- drivers/misc/nvscic2c-pcie/stream-extensions.h | 15 ++------------- drivers/misc/nvscic2c-pcie/vmap-internal.h | 15 ++------------- drivers/misc/nvscic2c-pcie/vmap-pin.c | 15 ++------------- drivers/misc/nvscic2c-pcie/vmap.c | 15 ++------------- drivers/misc/nvscic2c-pcie/vmap.h | 15 ++------------- 23 files changed, 48 insertions(+), 286 deletions(-) diff --git a/drivers/misc/nvscic2c-pcie/Makefile b/drivers/misc/nvscic2c-pcie/Makefile index 550e18c4..25b4577f 100644 --- a/drivers/misc/nvscic2c-pcie/Makefile +++ b/drivers/misc/nvscic2c-pcie/Makefile @@ -1,4 +1,5 @@ # SPDX-License-Identifier: GPL-2.0 +# Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. ccflags-y += -Werror ccflags-y += -DDYNAMIC_DEBUG_MODULE diff --git a/drivers/misc/nvscic2c-pcie/comm-channel.c b/drivers/misc/nvscic2c-pcie/comm-channel.c index 81d8b51e..b7afb05f 100644 --- a/drivers/misc/nvscic2c-pcie/comm-channel.c +++ b/drivers/misc/nvscic2c-pcie/comm-channel.c @@ -1,16 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - */ +// SPDX-License-Identifier: GPL-2.0-only +// Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. #define pr_fmt(fmt) "nvscic2c-pcie: comm-channel: " fmt diff --git a/drivers/misc/nvscic2c-pcie/comm-channel.h b/drivers/misc/nvscic2c-pcie/comm-channel.h index 61d5ec19..345bcc2e 100644 --- a/drivers/misc/nvscic2c-pcie/comm-channel.h +++ b/drivers/misc/nvscic2c-pcie/comm-channel.h @@ -1,16 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* - * Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. */ #ifndef __COMM_CHANNEL_H__ #define __COMM_CHANNEL_H__ diff --git a/drivers/misc/nvscic2c-pcie/common.h b/drivers/misc/nvscic2c-pcie/common.h index e1b1c40b..b02533bc 100644 --- a/drivers/misc/nvscic2c-pcie/common.h +++ b/drivers/misc/nvscic2c-pcie/common.h @@ -1,16 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* - * Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. */ #ifndef __COMMON_H__ #define __COMMON_H__ diff --git a/drivers/misc/nvscic2c-pcie/descriptor.h b/drivers/misc/nvscic2c-pcie/descriptor.h index 910cf59c..99ecf804 100644 --- a/drivers/misc/nvscic2c-pcie/descriptor.h +++ b/drivers/misc/nvscic2c-pcie/descriptor.h @@ -1,16 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* - * Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. */ #ifndef __DESCRIPTOR_H__ #define __DESCRIPTOR_H__ diff --git a/drivers/misc/nvscic2c-pcie/dt.c b/drivers/misc/nvscic2c-pcie/dt.c index ed406f09..ce77d99a 100644 --- a/drivers/misc/nvscic2c-pcie/dt.c +++ b/drivers/misc/nvscic2c-pcie/dt.c @@ -1,16 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - */ +// SPDX-License-Identifier: GPL-2.0-only +// Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. #define pr_fmt(fmt) "nvscic2c-pcie: dt: " fmt diff --git a/drivers/misc/nvscic2c-pcie/endpoint.c b/drivers/misc/nvscic2c-pcie/endpoint.c index 596a166a..262ac98e 100644 --- a/drivers/misc/nvscic2c-pcie/endpoint.c +++ b/drivers/misc/nvscic2c-pcie/endpoint.c @@ -1,16 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - */ +// SPDX-License-Identifier: GPL-2.0-only +// Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. #define pr_fmt(fmt) "nvscic2c-pcie: endpoint: " fmt diff --git a/drivers/misc/nvscic2c-pcie/endpoint.h b/drivers/misc/nvscic2c-pcie/endpoint.h index 51d82a3f..109decc2 100644 --- a/drivers/misc/nvscic2c-pcie/endpoint.h +++ b/drivers/misc/nvscic2c-pcie/endpoint.h @@ -1,16 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* - * Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. */ #ifndef __ENDPOINT_H__ #define __ENDPOINT_H__ diff --git a/drivers/misc/nvscic2c-pcie/epc/module.c b/drivers/misc/nvscic2c-pcie/epc/module.c index 62fc0371..caa42a78 100644 --- a/drivers/misc/nvscic2c-pcie/epc/module.c +++ b/drivers/misc/nvscic2c-pcie/epc/module.c @@ -1,16 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - */ +// SPDX-License-Identifier: GPL-2.0-only +// Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. #define pr_fmt(fmt) "nvscic2c-pcie: epc: " fmt diff --git a/drivers/misc/nvscic2c-pcie/epf/module.c b/drivers/misc/nvscic2c-pcie/epf/module.c index bcda9615..b726d5a7 100644 --- a/drivers/misc/nvscic2c-pcie/epf/module.c +++ b/drivers/misc/nvscic2c-pcie/epf/module.c @@ -1,16 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - */ +// SPDX-License-Identifier: GPL-2.0-only +// Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. #define pr_fmt(fmt) "nvscic2c-pcie: epf: " fmt diff --git a/drivers/misc/nvscic2c-pcie/iova-alloc.c b/drivers/misc/nvscic2c-pcie/iova-alloc.c index ad937892..c5f90a2b 100644 --- a/drivers/misc/nvscic2c-pcie/iova-alloc.c +++ b/drivers/misc/nvscic2c-pcie/iova-alloc.c @@ -1,16 +1,6 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - */ +// SPDX-License-Identifier: GPL-2.0-only +// Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. + #define pr_fmt(fmt) "nvscic2c-pcie: iova-alloc: " fmt #include #include diff --git a/drivers/misc/nvscic2c-pcie/iova-alloc.h b/drivers/misc/nvscic2c-pcie/iova-alloc.h index 2812bf23..3e078358 100644 --- a/drivers/misc/nvscic2c-pcie/iova-alloc.h +++ b/drivers/misc/nvscic2c-pcie/iova-alloc.h @@ -1,16 +1,6 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* - * Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. */ + #ifndef __IOVA_ALLOC_H__ #define __IOVA_ALLOC_H__ diff --git a/drivers/misc/nvscic2c-pcie/iova-mngr.c b/drivers/misc/nvscic2c-pcie/iova-mngr.c index c6abe044..953a1c7d 100644 --- a/drivers/misc/nvscic2c-pcie/iova-mngr.c +++ b/drivers/misc/nvscic2c-pcie/iova-mngr.c @@ -1,16 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - */ +// SPDX-License-Identifier: GPL-2.0-only +// Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. #define pr_fmt(fmt) "nvscic2c-pcie: iova-mgr: " fmt diff --git a/drivers/misc/nvscic2c-pcie/iova-mngr.h b/drivers/misc/nvscic2c-pcie/iova-mngr.h index a174be5d..e3b4e763 100644 --- a/drivers/misc/nvscic2c-pcie/iova-mngr.h +++ b/drivers/misc/nvscic2c-pcie/iova-mngr.h @@ -1,16 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* - * Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. */ #ifndef __IOVA_MNGR_H__ #define __IOVA_MNGR_H__ diff --git a/drivers/misc/nvscic2c-pcie/module.h b/drivers/misc/nvscic2c-pcie/module.h index 3c9e4953..a477f17a 100644 --- a/drivers/misc/nvscic2c-pcie/module.h +++ b/drivers/misc/nvscic2c-pcie/module.h @@ -1,16 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* - * Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. */ /* * Internal to nvscic2c-pcie module. This file is not supposed to be included diff --git a/drivers/misc/nvscic2c-pcie/pci-client.c b/drivers/misc/nvscic2c-pcie/pci-client.c index bcb24cfe..dc8fa8ca 100644 --- a/drivers/misc/nvscic2c-pcie/pci-client.c +++ b/drivers/misc/nvscic2c-pcie/pci-client.c @@ -1,16 +1,6 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - */ +// SPDX-License-Identifier: GPL-2.0-only +// Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. + #define pr_fmt(fmt) "nvscic2c-pcie: pci-client: " fmt #include diff --git a/drivers/misc/nvscic2c-pcie/pci-client.h b/drivers/misc/nvscic2c-pcie/pci-client.h index 95a75136..0941e216 100644 --- a/drivers/misc/nvscic2c-pcie/pci-client.h +++ b/drivers/misc/nvscic2c-pcie/pci-client.h @@ -1,16 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* - * Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. */ #ifndef __PCI_CLIENT_H__ #define __PCI_CLIENT_H__ diff --git a/drivers/misc/nvscic2c-pcie/stream-extensions.c b/drivers/misc/nvscic2c-pcie/stream-extensions.c index 5ca23721..b0279af6 100644 --- a/drivers/misc/nvscic2c-pcie/stream-extensions.c +++ b/drivers/misc/nvscic2c-pcie/stream-extensions.c @@ -1,16 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - */ +// SPDX-License-Identifier: GPL-2.0-only +// Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. #define pr_fmt(fmt) "nvscic2c-pcie: stream-ext: " fmt diff --git a/drivers/misc/nvscic2c-pcie/stream-extensions.h b/drivers/misc/nvscic2c-pcie/stream-extensions.h index 07fc5ae4..cc3ef675 100644 --- a/drivers/misc/nvscic2c-pcie/stream-extensions.h +++ b/drivers/misc/nvscic2c-pcie/stream-extensions.h @@ -1,16 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* - * Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. */ /* * Internal to gos-nvscic2c module. This file is not supposed to be included diff --git a/drivers/misc/nvscic2c-pcie/vmap-internal.h b/drivers/misc/nvscic2c-pcie/vmap-internal.h index 1348d93c..03dbe4a1 100644 --- a/drivers/misc/nvscic2c-pcie/vmap-internal.h +++ b/drivers/misc/nvscic2c-pcie/vmap-internal.h @@ -1,16 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* - * Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. */ #ifndef __VMAP_INTERNAL_H__ #define __VMAP_INTERNAL_H__ diff --git a/drivers/misc/nvscic2c-pcie/vmap-pin.c b/drivers/misc/nvscic2c-pcie/vmap-pin.c index 76670bbf..4e92fb41 100644 --- a/drivers/misc/nvscic2c-pcie/vmap-pin.c +++ b/drivers/misc/nvscic2c-pcie/vmap-pin.c @@ -1,16 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - */ +// SPDX-License-Identifier: GPL-2.0-only +// Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. #define pr_fmt(fmt) "nvscic2c-pcie: vmap-pin: " fmt diff --git a/drivers/misc/nvscic2c-pcie/vmap.c b/drivers/misc/nvscic2c-pcie/vmap.c index 2c3d9261..420f913e 100644 --- a/drivers/misc/nvscic2c-pcie/vmap.c +++ b/drivers/misc/nvscic2c-pcie/vmap.c @@ -1,16 +1,5 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - */ +// SPDX-License-Identifier: GPL-2.0-only +// Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. #define pr_fmt(fmt) "nvscic2c-pcie: vmap: " fmt diff --git a/drivers/misc/nvscic2c-pcie/vmap.h b/drivers/misc/nvscic2c-pcie/vmap.h index 5800abff..db4e3e56 100644 --- a/drivers/misc/nvscic2c-pcie/vmap.h +++ b/drivers/misc/nvscic2c-pcie/vmap.h @@ -1,16 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* - * Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. */ #ifndef __VMAP_H__ #define __VMAP_H__