Staging: octeon-usb: octeon-hcd.c: Remove boiler plate and add SPDX
PATCH 1/1 Staging: octeon-usb: octeon-hcd.c: Remove boiler plate and add SPDX
Removed massive boiler plate text at top of the file and instead replaced it with a simple SPDX license identifier.
Signed-off-by Javier Martinez <[email protected]>
--- drivers/staging/octeon-usb/octeon-hcd.c | 47 ++----------------------- 1 file changed, 2 insertions(+), 45 deletions(-)
drivers/staging/octeon-usb/octeon-hcd.c +2 -45
@@ -1,48 +1,5 @@ -/* -* This file is subject to the terms and conditions of the GNU General Public -* License. See the file "COPYING" in the main directory of this archive -* for more details. -* -* Copyright (C) 2008 Cavium Networks -* -* Some parts of the code were originally released under BSD license: -* -* Copyright (c) 2003-2010 Cavium Networks ([email protected]). All rights -* reserved. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions are -* met: -* -* * Redistributions of source code must retain the above copyright -* notice, this list of conditions and the following disclaimer. -* -* * Redistributions in binary form must reproduce the above -* copyright notice, this list of conditions and the following -* disclaimer in the documentation and/or other materials provided -* with the distribution. -* -* * Neither the name of Cavium Networks nor the names of -* its contributors may be used to endorse or promote products -* derived from this software without specific prior written -* permission. -* -* This Software, including technical data, may be subject to U.S. export -* control laws, including the U.S. Export Administration Act and its associated -* regulations, and may be subject to export or import regulations in other -* countries. -* -* TO THE MAXIMUM EXTENT PERMITTED BY LAW, THE SOFTWARE IS PROVIDED "AS IS" -* AND WITH ALL FAULTS AND CAVIUM NETWORKS MAKES NO PROMISES, REPRESENTATIONS OR -* WARRANTIES, EITHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, WITH RESPECT TO -* THE SOFTWARE, INCLUDING ITS CONDITION, ITS CONFORMITY TO ANY REPRESENTATION -* OR DESCRIPTION, OR THE EXISTENCE OF ANY LATENT OR PATENT DEFECTS, AND CAVIUM -* SPECIFICALLY DISCLAIMS ALL IMPLIED (IF ANY) WARRANTIES OF TITLE, -* MERCHANTABILITY, NONINFRINGEMENT, FITNESS FOR A PARTICULAR PURPOSE, LACK OF -* VIRUSES, ACCURACY OR COMPLETENESS, QUIET ENJOYMENT, QUIET POSSESSION OR -* CORRESPONDENCE TO DESCRIPTION. THE ENTIRE RISK ARISING OUT OF USE OR -* PERFORMANCE OF THE SOFTWARE LIES WITH YOU. -*/ +// SPDX-License-Identifier: GNU GPL +#include <linux/usb.h> #include <linux/slab.h>
Signature · 1 line
2.17.1
Greg KH
maintainerQuoted 49 lines · Javier Martinez
Removed massive boiler plate text at top of the file and instead replaced it with a simple SPDX license identifier.
Signed-off-by Javier Martinez <[email protected]>--- drivers/staging/octeon-usb/octeon-hcd.c | 47 ++----------------------- 1 file changed, 2 insertions(+), 45 deletions(-)drivers/staging/octeon-usb/octeon-hcd.c +0
-36@@ -1,48 +1,5 @@ -/* -* This file is subject to the terms and conditions of the GNU General Public -* License. See the file "COPYING" in the main directory of this archive -* for more details. -* -* Copyright (C) 2008 Cavium Networks -* -* Some parts of the code were originally released under BSD license: -* -* Copyright (c) 2003-2010 Cavium Networks ([email protected]). All rights -* reserved. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions are -* met: -* -* * Redistributions of source code must retain the above copyright -* notice, this list of conditions and the following disclaimer. -* -* * Redistributions in binary form must reproduce the above -* copyright notice, this list of conditions and the following -* disclaimer in the documentation and/or other materials provided -* with the distribution. -* -* * Neither the name of Cavium Networks nor the names of -* its contributors may be used to endorse or promote products -* derived from this software without specific prior written -* permission. -* -* This Software, including technical data, may be subject to U.S. export -* control laws, including the U.S. Export Administration Act and its associated -* regulations, and may be subject to export or import regulations in other -* countries. -* -* TO THE MAXIMUM EXTENT PERMITTED BY LAW, THE SOFTWARE IS PROVIDED "AS IS" -* AND WITH ALL FAULTS AND CAVIUM NETWORKS MAKES NO PROMISES, REPRESENTATIONS OR
drivers/staging/octeon-usb/octeon-hcd.c line 1
Quoted 10 lines
drivers/staging/octeon-usb/octeon-hcd.c +1
-9-* WARRANTIES, EITHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, WITH RESPECT TO -* THE SOFTWARE, INCLUDING ITS CONDITION, ITS CONFORMITY TO ANY REPRESENTATION -* OR DESCRIPTION, OR THE EXISTENCE OF ANY LATENT OR PATENT DEFECTS, AND CAVIUM -* SPECIFICALLY DISCLAIMS ALL IMPLIED (IF ANY) WARRANTIES OF TITLE, -* MERCHANTABILITY, NONINFRINGEMENT, FITNESS FOR A PARTICULAR PURPOSE, LACK OF -* VIRUSES, ACCURACY OR COMPLETENESS, QUIET ENJOYMENT, QUIET POSSESSION OR -* CORRESPONDENCE TO DESCRIPTION. THE ENTIRE RISK ARISING OUT OF USE OR -* PERFORMANCE OF THE SOFTWARE LIES WITH YOU. -*/ +// SPDX-License-Identifier: GNU GPL
That is not a valid identifier, please read the documentation for how to do this properly.
Also, and more importantly, you picked the wrong one. Do NOT mess with license texts if you don't know what you are doing...
greg k-h