Skip to contentSkip to conversation

crypto: vmx - convert to SPDX license identifiers

PATCH In review Eric Biggers 3 participants 3 messages May 20, 2019 – May 30, 2019 Crypto API

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 crypto: vmx - convert to SPDX license identifiers

From: Eric Biggers <[email protected]>

Remove the boilerplate license text and replace it with the equivalent SPDX license identifier.

---
 drivers/crypto/vmx/aes.c     | 14 +-------------
 drivers/crypto/vmx/aes_cbc.c | 14 +-------------
 drivers/crypto/vmx/aes_ctr.c | 14 +-------------
 drivers/crypto/vmx/aes_xts.c | 14 +-------------
 drivers/crypto/vmx/vmx.c     | 14 +-------------
 5 files changed, 5 insertions(+), 65 deletions(-)
drivers/crypto/vmx/aes.c +1 -13
index 603a620819941..2e9476158df49 100644
@@ -1,21 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
 /**
  * AES routines supporting VMX instructions on the Power 8
  *
  * Copyright (C) 2015 International Business Machines Inc.
  *
- * 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; version 2 only.
- *
- * 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., 675 Mass Ave, Cambridge, MA 02139, USA.
- *
  * Author: Marcelo Henrique Cerri <[email protected]>
  */
 
drivers/crypto/vmx/aes_cbc.c +1 -13
index a1a9a6f0d42cf..dae8af3c46dce 100644
@@ -1,21 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
 /**
  * AES CBC routines supporting VMX instructions on the Power 8
  *
  * Copyright (C) 2015 International Business Machines Inc.
  *
- * 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; version 2 only.
- *
- * 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., 675 Mass Ave, Cambridge, MA 02139, USA.
- *
  * Author: Marcelo Henrique Cerri <[email protected]>
  */
 
drivers/crypto/vmx/aes_ctr.c +1 -13
index 192a53512f5e8..dc31101178446 100644
@@ -1,21 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
 /**
  * AES CTR routines supporting VMX instructions on the Power 8
  *
  * Copyright (C) 2015 International Business Machines Inc.
  *
- * 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; version 2 only.
- *
- * 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., 675 Mass Ave, Cambridge, MA 02139, USA.
- *
  * Author: Marcelo Henrique Cerri <[email protected]>
  */
 
drivers/crypto/vmx/aes_xts.c +1 -13
index 00d412d811ae6..aee1339f134ec 100644
@@ -1,21 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
 /**
  * AES XTS routines supporting VMX In-core instructions on Power 8
  *
  * Copyright (C) 2015 International Business Machines Inc.
  *
- * 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 Foundations; version 2 only.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY of FITNESS FOR A PARTICUPAR 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., 675 Mass Ave, Cambridge, MA 02139, USA.
- *
  * Author: Leonidas S. Barbosa <[email protected]>
  */
 
drivers/crypto/vmx/vmx.c +1 -13
index a9f5198306155..abd89c2bcec4d 100644
@@ -1,21 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
 /**
  * Routines supporting VMX instructions on the Power 8
  *
  * Copyright (C) 2015 International Business Machines Inc.
  *
- * 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; version 2 only.
- *
- * 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., 675 Mass Ave, Cambridge, MA 02139, USA.
- *
  * Author: Marcelo Henrique Cerri <[email protected]>
  */
 
Signature · 1 line
2.21.0.1020.gf2820cf01a-goog
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Eric Biggers

From: Eric Biggers <[email protected]>

Remove the boilerplate license text and replace it with the equivalent SPDX license identifier.

Quoted 8 lines
---
 drivers/crypto/vmx/aes.c     | 14 +-------------
 drivers/crypto/vmx/aes_cbc.c | 14 +-------------
 drivers/crypto/vmx/aes_ctr.c | 14 +-------------
 drivers/crypto/vmx/aes_xts.c | 14 +-------------
 drivers/crypto/vmx/vmx.c     | 14 +-------------
 5 files changed, 5 insertions(+), 65 deletions(-)

Looks good to me.

cheers

maintainer
#2 lore raw
In reply to Eric Biggers
Quoted 5 lines · Eric Biggers

From: Eric Biggers <[email protected]>

Remove the boilerplate license text and replace it with the equivalent SPDX license identifier.

Quoted 8 lines
---
 drivers/crypto/vmx/aes.c     | 14 +-------------
 drivers/crypto/vmx/aes_cbc.c | 14 +-------------
 drivers/crypto/vmx/aes_ctr.c | 14 +-------------
 drivers/crypto/vmx/aes_xts.c | 14 +-------------
 drivers/crypto/vmx/vmx.c     | 14 +-------------
 5 files changed, 5 insertions(+), 65 deletions(-)

Patch applied. Thanks.

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt