From 13556fa7d2bbb6955d43a83b024fb62d75fc119d Mon Sep 17 00:00:00 2001 From: Laxman Dewangan Date: Wed, 19 Apr 2023 04:51:44 +0000 Subject: [PATCH] crypto: Use SPDX GPL 2.0 license format Use SPDX license format for license and copyright information. Update year also. Bug 4078035 Change-Id: I8a5b0f60c702b7fb9a30b5b50ca4058165d38cc9 Signed-off-by: Laxman Dewangan Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2890632 Reviewed-by: svcacv Reviewed-by: Jonathan Hunter GVS: Gerrit_Virtual_Submit --- drivers/crypto/hardware_t194.h | 18 ++---------------- drivers/crypto/nvhost.h | 19 ++----------------- drivers/crypto/tegra-hv-vse-safety.c | 19 ++----------------- drivers/crypto/tegra-se-nvhost.c | 15 ++------------- drivers/crypto/tegra-se-nvhost.h | 14 +++----------- drivers/crypto/tegra-se-nvrng.c | 14 ++------------ 6 files changed, 13 insertions(+), 86 deletions(-) diff --git a/drivers/crypto/hardware_t194.h b/drivers/crypto/hardware_t194.h index b9630b98..32c96d5c 100644 --- a/drivers/crypto/hardware_t194.h +++ b/drivers/crypto/hardware_t194.h @@ -1,22 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* - * drivers/video/tegra/host/t194/hardware_t194.h + * Copyright (c) 2016-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * Tegra T194 HOST1X Register Definitions - * - * Copyright (c) 2016-2022, NVIDIA CORPORATION & AFFILIATES. 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, write to the Free Software Foundation, Inc., - * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef __NVHOST_HARDWARE_T194_H diff --git a/drivers/crypto/nvhost.h b/drivers/crypto/nvhost.h index c97233df..1b13a2c3 100644 --- a/drivers/crypto/nvhost.h +++ b/drivers/crypto/nvhost.h @@ -1,23 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* - * include/linux/nvhost.h + * Copyright (c) 2009-2023, NVIDIA Corporation. All rights reserved. * * Tegra graphics host driver - * - * Copyright (c) 2009-2022, NVIDIA Corporation. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that 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, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef __LINUX_NVHOST_H diff --git a/drivers/crypto/tegra-hv-vse-safety.c b/drivers/crypto/tegra-hv-vse-safety.c index da1d0d9b..d7f20c71 100644 --- a/drivers/crypto/tegra-hv-vse-safety.c +++ b/drivers/crypto/tegra-hv-vse-safety.c @@ -1,23 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* - * Cryptographic API. - * drivers/crypto/tegra-hv-vse-safety.c - * - * Support for Tegra Virtual Security Engine hardware crypto algorithms. - * * Copyright (c) 2019-2023, NVIDIA Corporation. All Rights Reserved. * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that 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 + * Cryptographic API. */ #include diff --git a/drivers/crypto/tegra-se-nvhost.c b/drivers/crypto/tegra-se-nvhost.c index 9af19576..a53966f1 100644 --- a/drivers/crypto/tegra-se-nvhost.c +++ b/drivers/crypto/tegra-se-nvhost.c @@ -1,19 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* - * Cryptographic API. - * drivers/crypto/tegra-se-nvhost.c - * - * Support for Tegra Security Engine hardware crypto algorithms. - * * Copyright (c) 2015-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. + * Cryptographic API. */ #include diff --git a/drivers/crypto/tegra-se-nvhost.h b/drivers/crypto/tegra-se-nvhost.h index bbf2932d..b21afc8c 100644 --- a/drivers/crypto/tegra-se-nvhost.h +++ b/drivers/crypto/tegra-se-nvhost.h @@ -1,16 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* + * Copyright (c) 2015-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * * Header file for Tegra Security Engine - * - * Copyright (c) 2015-2022, NVIDIA CORPORATION & AFFILIATES. 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. */ #ifndef _CRYPTO_TEGRA_SE_H diff --git a/drivers/crypto/tegra-se-nvrng.c b/drivers/crypto/tegra-se-nvrng.c index 918aa537..cf5f2508 100644 --- a/drivers/crypto/tegra-se-nvrng.c +++ b/drivers/crypto/tegra-se-nvrng.c @@ -1,18 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* - * drivers/crypto/tegra-se-nvrng.c - * - * Support for Tegra NVRNG Engine Error Handling. - * * Copyright (c) 2020-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. + * Support for Tegra NVRNG Engine Error Handling. */ #include