From 12e71f22f8948fd33903c23e6b4e06b4a919ac38 Mon Sep 17 00:00:00 2001 From: Alex Waterman Date: Mon, 13 Jul 2020 10:51:57 -0500 Subject: [PATCH] gpu: nvgpu: Use correct GPL for swprofile_debugfs.[ch] These two files were not using the correct GPL license format for the nvgpu Linux OS code. Corretc this. Also fix the header guard define in swprofile_debugfs.h since it did not quite match the header file name. Bug Change-Id: I317056823cade697fdf65f9ff83306129ee0ebe3 Signed-off-by: Alex Waterman Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2374698 Reviewed-by: automaticguardword Reviewed-by: Seshendra Gadagottu Reviewed-by: mobile promotions Tested-by: mobile promotions GVS: Gerrit_Virtual_Submit --- .../gpu/nvgpu/os/linux/swprofile_debugfs.c | 18 +++++++------ .../gpu/nvgpu/os/linux/swprofile_debugfs.h | 25 +++++++++++-------- 2 files changed, 24 insertions(+), 19 deletions(-) diff --git a/drivers/gpu/nvgpu/os/linux/swprofile_debugfs.c b/drivers/gpu/nvgpu/os/linux/swprofile_debugfs.c index 0046670de..818be3440 100644 --- a/drivers/gpu/nvgpu/os/linux/swprofile_debugfs.c +++ b/drivers/gpu/nvgpu/os/linux/swprofile_debugfs.c @@ -1,15 +1,17 @@ /* - * Copyright (C) 2020 NVIDIA Corporation. All rights reserved. + * Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. + * 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 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. + * 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 . */ #include diff --git a/drivers/gpu/nvgpu/os/linux/swprofile_debugfs.h b/drivers/gpu/nvgpu/os/linux/swprofile_debugfs.h index d319e9cdc..f45ebb247 100644 --- a/drivers/gpu/nvgpu/os/linux/swprofile_debugfs.h +++ b/drivers/gpu/nvgpu/os/linux/swprofile_debugfs.h @@ -1,18 +1,21 @@ /* - * Copyright (C) 2020 NVIDIA Corporation. All rights reserved. + * Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. + * 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 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. + * 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 __NVGPU_PROFILE_DEBUGFS_H__ -#define __NVGPU_PROFILE_DEBUGFS_H__ +#ifndef __NVGPU_SWPROFILE_DEBUGFS_H__ +#define __NVGPU_SWPROFILE_DEBUGFS_H__ struct dentry; @@ -24,4 +27,4 @@ void nvgpu_debugfs_swprofile_init(struct gk20a *g, struct nvgpu_swprofiler *p, const char *name); -#endif /* __NVGPU_PROFILE_DEBUGFS_H__ */ +#endif /* __NVGPU_SWPROFILE_DEBUGFS_H__ */