From 0daf056dc9a3115591861dcc63521fb45e7e15c9 Mon Sep 17 00:00:00 2001 From: Laxman Dewangan Date: Wed, 19 Apr 2023 05:05:14 +0000 Subject: [PATCH] tsec: Use SPDX license GPL 2.0 format Use SPDX license GPL-V2.0 format and change Nvidia copyright year to include 2023. Bug 4078035 Change-Id: If13a0a9309c76e1e7b53d6967eada9ed321b8e93 Signed-off-by: Laxman Dewangan Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2890633 Reviewed-by: svcacv Reviewed-by: Mayuresh Kulkarni Reviewed-by: svc-mobile-coverity Reviewed-by: svc-mobile-cert GVS: Gerrit_Virtual_Submit --- drivers/video/tegra/tsec/tsec.c | 11 +---------- drivers/video/tegra/tsec/tsec.h | 15 +-------------- drivers/video/tegra/tsec/tsec_boot.c | 15 +-------------- drivers/video/tegra/tsec/tsec_boot.h | 15 +-------------- drivers/video/tegra/tsec/tsec_cmds.h | 16 ++-------------- drivers/video/tegra/tsec/tsec_comms/tsec_comms.c | 14 +------------- drivers/video/tegra/tsec/tsec_comms/tsec_comms.h | 14 +------------- .../tegra/tsec/tsec_comms/tsec_comms_cmds.h | 16 ++-------------- .../tegra/tsec/tsec_comms/tsec_comms_plat.h | 16 ++-------------- .../tegra/tsec/tsec_comms/tsec_comms_regs.h | 16 ++-------------- drivers/video/tegra/tsec/tsec_linux.h | 15 +-------------- drivers/video/tegra/tsec/tsec_regs.h | 16 ++-------------- 12 files changed, 17 insertions(+), 162 deletions(-) diff --git a/drivers/video/tegra/tsec/tsec.c b/drivers/video/tegra/tsec/tsec.c index 81fe3ada..5291cef9 100644 --- a/drivers/video/tegra/tsec/tsec.c +++ b/drivers/video/tegra/tsec/tsec.c @@ -1,17 +1,8 @@ // SPDX-License-Identifier: GPL-2.0-only /* - * Tegra TSEC Module Support - * * Copyright (c) 2022-2023, 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. + * Tegra TSEC Module Support */ #include "tsec_linux.h" diff --git a/drivers/video/tegra/tsec/tsec.h b/drivers/video/tegra/tsec/tsec.h index 732511d7..63ae8a27 100644 --- a/drivers/video/tegra/tsec/tsec.h +++ b/drivers/video/tegra/tsec/tsec.h @@ -1,21 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* + * Copyright (c) 2022-2023, NVIDIA CORPORATION. All rights reserved. * * Tegra TSEC Module Support - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . */ #ifndef TSEC_H diff --git a/drivers/video/tegra/tsec/tsec_boot.c b/drivers/video/tegra/tsec/tsec_boot.c index 13a8aaea..ff5d708d 100644 --- a/drivers/video/tegra/tsec/tsec_boot.c +++ b/drivers/video/tegra/tsec/tsec_boot.c @@ -1,23 +1,10 @@ // SPDX-License-Identifier: GPL-2.0-only /* - * Tegra TSEC Module Support - * * Copyright (c) 2022-2023, 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * Tegra TSEC Module Support */ - #include "tsec_linux.h" #include "tsec.h" #include "tsec_boot.h" diff --git a/drivers/video/tegra/tsec/tsec_boot.h b/drivers/video/tegra/tsec/tsec_boot.h index ba50431b..e09598fe 100644 --- a/drivers/video/tegra/tsec/tsec_boot.h +++ b/drivers/video/tegra/tsec/tsec_boot.h @@ -1,21 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* + * Copyright (c) 2022-2023, NVIDIA CORPORATION. All rights reserved. * * Tegra TSEC Module Support - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . */ #ifndef TSEC_BOOT_H diff --git a/drivers/video/tegra/tsec/tsec_cmds.h b/drivers/video/tegra/tsec/tsec_cmds.h index d1fa1c40..1357d363 100644 --- a/drivers/video/tegra/tsec/tsec_cmds.h +++ b/drivers/video/tegra/tsec/tsec_cmds.h @@ -1,20 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* + * Copyright (c) 2021-2023, NVIDIA CORPORATION. All rights reserved. + * * Tegra TSEC Module Support - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . */ #ifndef TSEC_CMDS_H diff --git a/drivers/video/tegra/tsec/tsec_comms/tsec_comms.c b/drivers/video/tegra/tsec/tsec_comms/tsec_comms.c index 460270cf..e0f8acb3 100644 --- a/drivers/video/tegra/tsec/tsec_comms/tsec_comms.c +++ b/drivers/video/tegra/tsec/tsec_comms/tsec_comms.c @@ -1,20 +1,8 @@ // SPDX-License-Identifier: GPL-2.0-only /* - * Tegra TSEC Module Support - * * Copyright (c) 2022-2023, 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * Tegra TSEC Module Support */ diff --git a/drivers/video/tegra/tsec/tsec_comms/tsec_comms.h b/drivers/video/tegra/tsec/tsec_comms/tsec_comms.h index 67560c9f..4db5eeed 100644 --- a/drivers/video/tegra/tsec/tsec_comms/tsec_comms.h +++ b/drivers/video/tegra/tsec/tsec_comms/tsec_comms.h @@ -1,20 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* - * Tegra TSEC Module Support - * * Copyright (c) 2022-2023, 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * Tegra TSEC Module Support */ #ifndef TSEC_COMMS_H diff --git a/drivers/video/tegra/tsec/tsec_comms/tsec_comms_cmds.h b/drivers/video/tegra/tsec/tsec_comms/tsec_comms_cmds.h index 285994a8..01b900fd 100644 --- a/drivers/video/tegra/tsec/tsec_comms/tsec_comms_cmds.h +++ b/drivers/video/tegra/tsec/tsec_comms/tsec_comms_cmds.h @@ -1,20 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* + * Copyright (c) 2022-2023, NVIDIA CORPORATION. All rights reserved. + * * Tegra TSEC Module Support - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . */ #ifndef TSEC_COMMS_CMDS_H diff --git a/drivers/video/tegra/tsec/tsec_comms/tsec_comms_plat.h b/drivers/video/tegra/tsec/tsec_comms/tsec_comms_plat.h index 3c1312a2..b9915293 100644 --- a/drivers/video/tegra/tsec/tsec_comms/tsec_comms_plat.h +++ b/drivers/video/tegra/tsec/tsec_comms/tsec_comms_plat.h @@ -1,20 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* + * Copyright (c) 2022-2023, NVIDIA CORPORATION. All rights reserved. + * * Tegra TSEC Module Support - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . */ #ifndef TSEC_COMMS_PLAT_H diff --git a/drivers/video/tegra/tsec/tsec_comms/tsec_comms_regs.h b/drivers/video/tegra/tsec/tsec_comms/tsec_comms_regs.h index 6957d93f..6cff13cc 100644 --- a/drivers/video/tegra/tsec/tsec_comms/tsec_comms_regs.h +++ b/drivers/video/tegra/tsec/tsec_comms/tsec_comms_regs.h @@ -1,20 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* + * Copyright (c) 2022-2023, NVIDIA CORPORATION. All rights reserved. + * * Tegra TSEC Module Support - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . */ /* diff --git a/drivers/video/tegra/tsec/tsec_linux.h b/drivers/video/tegra/tsec/tsec_linux.h index a265d44e..7c2987a0 100644 --- a/drivers/video/tegra/tsec/tsec_linux.h +++ b/drivers/video/tegra/tsec/tsec_linux.h @@ -1,21 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* + * Copyright (c) 2022-2023, NVIDIA CORPORATION. All rights reserved. * * Tegra TSEC Module Support - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . */ #ifndef TSEC_LINUX_H diff --git a/drivers/video/tegra/tsec/tsec_regs.h b/drivers/video/tegra/tsec/tsec_regs.h index d5d24bf5..6ba34e18 100644 --- a/drivers/video/tegra/tsec/tsec_regs.h +++ b/drivers/video/tegra/tsec/tsec_regs.h @@ -1,20 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* + * Copyright (c) 2022-2023, NVIDIA CORPORATION. All rights reserved. + * * Tegra TSEC Module Support - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . */ /*