| Subject: treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 85 |
| Date: Tue, 07 May 2019 12:01:47 +0100 |
| From: Thomas Gleixner <tglx@linutronix.de> |
| |
| Based on 1 normalized pattern(s): |
| |
| 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 no |
| warranty the program is provided on an "as is" basis without |
| warranties or conditions of any kind either express or implied |
| including without limitation any warranties or conditions of title |
| non-infringement merchantability or fitness for a particular purpose |
| each recipient is solely responsible for determining the |
| appropriateness of using and distributing the program and assumes |
| all risks associated with its exercise of rights under this |
| agreement including but not limited to the risks and costs of |
| program errors damage to or loss of data programs or equipment and |
| unavailability or interruption of operations disclaimer of liability |
| neither recipient nor any contributors shall have any liability for |
| any direct indirect incidental special exemplary or consequential |
| damages (including without limitation lost profits) however caused |
| and on any theory of liability whether in contract strict liability |
| or tort (including negligence or otherwise) arising in any way out |
| of the use or distribution of the program or the exercise of any |
| rights granted hereunder even if advised of the possibility of such |
| damages 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 |
| |
| |
| |
| extracted by the scancode license scanner the SPDX license identifier |
| |
| GPL-2.0-or-later |
| |
| has been chosen to replace the boilerplate/reference in 20 file(s). |
| |
| The result has been manually verified and compared against a license |
| compliance dataset provided by .... |
| |
| Signed-off-by: Thomas Gleixner <tglx@linutronix.de> |
| |
| |
| --- |
| |
| --- a/drivers/scsi/esas2r/esas2r.h |
| +++ b/drivers/scsi/esas2r/esas2r.h |
| @@ -1,44 +1,10 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
| /* |
| * linux/drivers/scsi/esas2r/esas2r.h |
| * For use with ATTO ExpressSAS R6xx SAS/SATA RAID controllers |
| * |
| * Copyright (c) 2001-2013 ATTO Technology, Inc. |
| * (mailto:linuxdrivers@attotech.com) |
| - * |
| - * 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. |
| - * |
| - * NO WARRANTY |
| - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR |
| - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT |
| - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, |
| - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is |
| - * solely responsible for determining the appropriateness of using and |
| - * distributing the Program and assumes all risks associated with its |
| - * exercise of rights under this Agreement, including but not limited to |
| - * the risks and costs of program errors, damage to or loss of data, |
| - * programs or equipment, and unavailability or interruption of operations. |
| - * |
| - * DISCLAIMER OF LIABILITY |
| - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY |
| - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND |
| - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR |
| - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE |
| - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED |
| - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES |
| - * |
| - * 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. |
| */ |
| |
| #include <linux/kernel.h> |
| |
| |
| --- a/drivers/scsi/esas2r/esas2r_flash.c |
| +++ b/drivers/scsi/esas2r/esas2r_flash.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| |
| /* |
| * linux/drivers/scsi/esas2r/esas2r_flash.c |
| @@ -5,41 +6,6 @@ |
| * |
| * Copyright (c) 2001-2013 ATTO Technology, Inc. |
| * (mailto:linuxdrivers@attotech.com) |
| - * |
| - * 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. |
| - * |
| - * NO WARRANTY |
| - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR |
| - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT |
| - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, |
| - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is |
| - * solely responsible for determining the appropriateness of using and |
| - * distributing the Program and assumes all risks associated with its |
| - * exercise of rights under this Agreement, including but not limited to |
| - * the risks and costs of program errors, damage to or loss of data, |
| - * programs or equipment, and unavailability or interruption of operations. |
| - * |
| - * DISCLAIMER OF LIABILITY |
| - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY |
| - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND |
| - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR |
| - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE |
| - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED |
| - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES |
| - * |
| - * 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. |
| */ |
| |
| #include "esas2r.h" |
| |
| |
| --- a/drivers/scsi/esas2r/esas2r_init.c |
| +++ b/drivers/scsi/esas2r/esas2r_init.c |
| @@ -1,44 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* |
| * linux/drivers/scsi/esas2r/esas2r_init.c |
| * For use with ATTO ExpressSAS R6xx SAS/SATA RAID controllers |
| * |
| * Copyright (c) 2001-2013 ATTO Technology, Inc. |
| * (mailto:linuxdrivers@attotech.com)mpt3sas/mpt3sas_trigger_diag. |
| - * |
| - * 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. |
| - * |
| - * NO WARRANTY |
| - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR |
| - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT |
| - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, |
| - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is |
| - * solely responsible for determining the appropriateness of using and |
| - * distributing the Program and assumes all risks associated with its |
| - * exercise of rights under this Agreement, including but not limited to |
| - * the risks and costs of program errors, damage to or loss of data, |
| - * programs or equipment, and unavailability or interruption of operations. |
| - * |
| - * DISCLAIMER OF LIABILITY |
| - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY |
| - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND |
| - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR |
| - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE |
| - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED |
| - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES |
| - * |
| - * 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. |
| */ |
| |
| #include "esas2r.h" |
| |
| |
| --- a/drivers/scsi/esas2r/esas2r_io.c |
| +++ b/drivers/scsi/esas2r/esas2r_io.c |
| @@ -1,44 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* |
| * linux/drivers/scsi/esas2r/esas2r_io.c |
| * For use with ATTO ExpressSAS R6xx SAS/SATA RAID controllers |
| * |
| * Copyright (c) 2001-2013 ATTO Technology, Inc. |
| * (mailto:linuxdrivers@attotech.com)mpt3sas/mpt3sas_trigger_diag. |
| - * |
| - * 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. |
| - * |
| - * NO WARRANTY |
| - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR |
| - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT |
| - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, |
| - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is |
| - * solely responsible for determining the appropriateness of using and |
| - * distributing the Program and assumes all risks associated with its |
| - * exercise of rights under this Agreement, including but not limited to |
| - * the risks and costs of program errors, damage to or loss of data, |
| - * programs or equipment, and unavailability or interruption of operations. |
| - * |
| - * DISCLAIMER OF LIABILITY |
| - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY |
| - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND |
| - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR |
| - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE |
| - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED |
| - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES |
| - * |
| - * 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. |
| */ |
| |
| #include "esas2r.h" |
| |
| |
| --- a/drivers/scsi/esas2r/esas2r_ioctl.c |
| +++ b/drivers/scsi/esas2r/esas2r_ioctl.c |
| @@ -1,44 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* |
| * linux/drivers/scsi/esas2r/esas2r_ioctl.c |
| * For use with ATTO ExpressSAS R6xx SAS/SATA RAID controllers |
| * |
| * Copyright (c) 2001-2013 ATTO Technology, Inc. |
| * (mailto:linuxdrivers@attotech.com) |
| - * |
| - * 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. |
| - * |
| - * NO WARRANTY |
| - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR |
| - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT |
| - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, |
| - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is |
| - * solely responsible for determining the appropriateness of using and |
| - * distributing the Program and assumes all risks associated with its |
| - * exercise of rights under this Agreement, including but not limited to |
| - * the risks and costs of program errors, damage to or loss of data, |
| - * programs or equipment, and unavailability or interruption of operations. |
| - * |
| - * DISCLAIMER OF LIABILITY |
| - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY |
| - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND |
| - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR |
| - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE |
| - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED |
| - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES |
| - * |
| - * 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. |
| */ |
| |
| #include "esas2r.h" |
| |
| |
| --- a/drivers/scsi/esas2r/esas2r_log.c |
| +++ b/drivers/scsi/esas2r/esas2r_log.c |
| @@ -1,44 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* |
| * linux/drivers/scsi/esas2r/esas2r_log.c |
| * For use with ATTO ExpressSAS R6xx SAS/SATA RAID controllers |
| * |
| * Copyright (c) 2001-2013 ATTO Technology, Inc. |
| * (mailto:linuxdrivers@attotech.com) |
| - * |
| - * 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. |
| - * |
| - * NO WARRANTY |
| - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR |
| - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT |
| - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, |
| - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is |
| - * solely responsible for determining the appropriateness of using and |
| - * distributing the Program and assumes all risks associated with its |
| - * exercise of rights under this Agreement, including but not limited to |
| - * the risks and costs of program errors, damage to or loss of data, |
| - * programs or equipment, and unavailability or interruption of operations. |
| - * |
| - * DISCLAIMER OF LIABILITY |
| - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY |
| - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND |
| - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR |
| - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE |
| - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED |
| - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES |
| - * |
| - * 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. |
| */ |
| |
| #include "esas2r.h" |
| |
| |
| --- a/drivers/scsi/esas2r/esas2r_log.h |
| +++ b/drivers/scsi/esas2r/esas2r_log.h |
| @@ -1,44 +1,10 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
| /* |
| * linux/drivers/scsi/esas2r/esas2r_log.h |
| * For use with ATTO ExpressSAS R6xx SAS/SATA RAID controllers |
| * |
| * Copyright (c) 2001-2013 ATTO Technology, Inc. |
| * (mailto:linuxdrivers@attotech.com) |
| - * |
| - * 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. |
| - * |
| - * NO WARRANTY |
| - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR |
| - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT |
| - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, |
| - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is |
| - * solely responsible for determining the appropriateness of using and |
| - * distributing the Program and assumes all risks associated with its |
| - * exercise of rights under this Agreement, including but not limited to |
| - * the risks and costs of program errors, damage to or loss of data, |
| - * programs or equipment, and unavailability or interruption of operations. |
| - * |
| - * DISCLAIMER OF LIABILITY |
| - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY |
| - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND |
| - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR |
| - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE |
| - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED |
| - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES |
| - * |
| - * 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 __esas2r_log_h__ |
| |
| |
| --- a/drivers/scsi/esas2r/esas2r_main.c |
| +++ b/drivers/scsi/esas2r/esas2r_main.c |
| @@ -1,44 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* |
| * linux/drivers/scsi/esas2r/esas2r_main.c |
| * For use with ATTO ExpressSAS R6xx SAS/SATA RAID controllers |
| * |
| * Copyright (c) 2001-2013 ATTO Technology, Inc. |
| * (mailto:linuxdrivers@attotech.com) |
| - * |
| - * 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. |
| - * |
| - * NO WARRANTY |
| - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR |
| - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT |
| - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, |
| - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is |
| - * solely responsible for determining the appropriateness of using and |
| - * distributing the Program and assumes all risks associated with its |
| - * exercise of rights under this Agreement, including but not limited to |
| - * the risks and costs of program errors, damage to or loss of data, |
| - * programs or equipment, and unavailability or interruption of operations. |
| - * |
| - * DISCLAIMER OF LIABILITY |
| - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY |
| - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND |
| - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR |
| - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE |
| - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED |
| - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES |
| - * |
| - * 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. |
| */ |
| |
| #include "esas2r.h" |
| |
| |
| --- a/drivers/scsi/esas2r/esas2r_targdb.c |
| +++ b/drivers/scsi/esas2r/esas2r_targdb.c |
| @@ -1,44 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* |
| * linux/drivers/scsi/esas2r/esas2r_targdb.c |
| * For use with ATTO ExpressSAS R6xx SAS/SATA RAID controllers |
| * |
| * Copyright (c) 2001-2013 ATTO Technology, Inc. |
| * (mailto:linuxdrivers@attotech.com) |
| - * |
| - * 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. |
| - * |
| - * NO WARRANTY |
| - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR |
| - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT |
| - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, |
| - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is |
| - * solely responsible for determining the appropriateness of using and |
| - * distributing the Program and assumes all risks associated with its |
| - * exercise of rights under this Agreement, including but not limited to |
| - * the risks and costs of program errors, damage to or loss of data, |
| - * programs or equipment, and unavailability or interruption of operations. |
| - * |
| - * DISCLAIMER OF LIABILITY |
| - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY |
| - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND |
| - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR |
| - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE |
| - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED |
| - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES |
| - * |
| - * 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. |
| */ |
| |
| #include "esas2r.h" |
| |
| |
| --- a/drivers/scsi/mpt3sas/Kconfig |
| +++ b/drivers/scsi/mpt3sas/Kconfig |
| @@ -1,3 +1,4 @@ |
| +# SPDX-License-Identifier: GPL-2.0-or-later |
| # |
| # Kernel configuration file for the MPT3SAS |
| # |
| @@ -5,40 +6,6 @@ |
| # Copyright (C) 2012-2014 LSI Corporation |
| # (mailto:DL-MPTFusionLinux@lsi.com) |
| |
| -# 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. |
| - |
| -# NO WARRANTY |
| -# THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR |
| -# CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT |
| -# LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, |
| -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is |
| -# solely responsible for determining the appropriateness of using and |
| -# distributing the Program and assumes all risks associated with its |
| -# exercise of rights under this Agreement, including but not limited to |
| -# the risks and costs of program errors, damage to or loss of data, |
| -# programs or equipment, and unavailability or interruption of operations. |
| - |
| -# DISCLAIMER OF LIABILITY |
| -# NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY |
| -# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| -# DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND |
| -# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR |
| -# TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE |
| -# USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED |
| -# HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES |
| - |
| -# 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. |
| |
| config SCSI_MPT3SAS |
| tristate "LSI MPT Fusion SAS 3.0 & SAS 2.0 Device Driver" |
| |
| |
| --- a/drivers/scsi/mpt3sas/mpt3sas_base.c |
| +++ b/drivers/scsi/mpt3sas/mpt3sas_base.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* |
| * This is the Fusion MPT base driver providing common API layer interface |
| * for access to MPT (Message Passing Technology) firmware. |
| @@ -6,41 +7,6 @@ |
| * Copyright (C) 2012-2014 LSI Corporation |
| * Copyright (C) 2013-2014 Avago Technologies |
| * (mailto: MPT-FusionLinux.pdl@avagotech.com) |
| - * |
| - * 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. |
| - * |
| - * NO WARRANTY |
| - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR |
| - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT |
| - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, |
| - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is |
| - * solely responsible for determining the appropriateness of using and |
| - * distributing the Program and assumes all risks associated with its |
| - * exercise of rights under this Agreement, including but not limited to |
| - * the risks and costs of program errors, damage to or loss of data, |
| - * programs or equipment, and unavailability or interruption of operations. |
| - |
| - * DISCLAIMER OF LIABILITY |
| - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY |
| - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND |
| - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR |
| - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE |
| - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED |
| - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES |
| - |
| - * 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. |
| */ |
| |
| #include <linux/kernel.h> |
| |
| |
| --- a/drivers/scsi/mpt3sas/mpt3sas_base.h |
| +++ b/drivers/scsi/mpt3sas/mpt3sas_base.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
| /* |
| * This is the Fusion MPT base driver providing common API layer interface |
| * for access to MPT (Message Passing Technology) firmware. |
| @@ -6,41 +7,6 @@ |
| * Copyright (C) 2012-2014 LSI Corporation |
| * Copyright (C) 2013-2014 Avago Technologies |
| * (mailto: MPT-FusionLinux.pdl@avagotech.com) |
| - * |
| - * 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. |
| - * |
| - * NO WARRANTY |
| - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR |
| - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT |
| - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, |
| - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is |
| - * solely responsible for determining the appropriateness of using and |
| - * distributing the Program and assumes all risks associated with its |
| - * exercise of rights under this Agreement, including but not limited to |
| - * the risks and costs of program errors, damage to or loss of data, |
| - * programs or equipment, and unavailability or interruption of operations. |
| - |
| - * DISCLAIMER OF LIABILITY |
| - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY |
| - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND |
| - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR |
| - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE |
| - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED |
| - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES |
| - |
| - * 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 MPT3SAS_BASE_H_INCLUDED |
| |
| |
| --- a/drivers/scsi/mpt3sas/mpt3sas_config.c |
| +++ b/drivers/scsi/mpt3sas/mpt3sas_config.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* |
| * This module provides common API for accessing firmware configuration pages |
| * |
| @@ -5,41 +6,6 @@ |
| * Copyright (C) 2012-2014 LSI Corporation |
| * Copyright (C) 2013-2014 Avago Technologies |
| * (mailto: MPT-FusionLinux.pdl@avagotech.com) |
| - * |
| - * 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. |
| - * |
| - * NO WARRANTY |
| - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR |
| - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT |
| - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, |
| - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is |
| - * solely responsible for determining the appropriateness of using and |
| - * distributing the Program and assumes all risks associated with its |
| - * exercise of rights under this Agreement, including but not limited to |
| - * the risks and costs of program errors, damage to or loss of data, |
| - * programs or equipment, and unavailability or interruption of operations. |
| - |
| - * DISCLAIMER OF LIABILITY |
| - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY |
| - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND |
| - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR |
| - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE |
| - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED |
| - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES |
| - |
| - * 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. |
| */ |
| |
| #include <linux/module.h> |
| |
| |
| --- a/drivers/scsi/mpt3sas/mpt3sas_ctl.c |
| +++ b/drivers/scsi/mpt3sas/mpt3sas_ctl.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* |
| * Management Module Support for MPT (Message Passing Technology) based |
| * controllers |
| @@ -6,41 +7,6 @@ |
| * Copyright (C) 2012-2014 LSI Corporation |
| * Copyright (C) 2013-2014 Avago Technologies |
| * (mailto: MPT-FusionLinux.pdl@avagotech.com) |
| - * |
| - * 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. |
| - * |
| - * NO WARRANTY |
| - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR |
| - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT |
| - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, |
| - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is |
| - * solely responsible for determining the appropriateness of using and |
| - * distributing the Program and assumes all risks associated with its |
| - * exercise of rights under this Agreement, including but not limited to |
| - * the risks and costs of program errors, damage to or loss of data, |
| - * programs or equipment, and unavailability or interruption of operations. |
| - |
| - * DISCLAIMER OF LIABILITY |
| - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY |
| - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND |
| - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR |
| - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE |
| - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED |
| - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES |
| - |
| - * 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. |
| */ |
| |
| #include <linux/kernel.h> |
| |
| |
| --- a/drivers/scsi/mpt3sas/mpt3sas_ctl.h |
| +++ b/drivers/scsi/mpt3sas/mpt3sas_ctl.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
| /* |
| * Management Module Support for MPT (Message Passing Technology) based |
| * controllers |
| @@ -6,41 +7,6 @@ |
| * Copyright (C) 2012-2014 LSI Corporation |
| * Copyright (C) 2013-2014 Avago Technologies |
| * (mailto: MPT-FusionLinux.pdl@avagotech.com) |
| - * |
| - * 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. |
| - * |
| - * NO WARRANTY |
| - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR |
| - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT |
| - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, |
| - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is |
| - * solely responsible for determining the appropriateness of using and |
| - * distributing the Program and assumes all risks associated with its |
| - * exercise of rights under this Agreement, including but not limited to |
| - * the risks and costs of program errors, damage to or loss of data, |
| - * programs or equipment, and unavailability or interruption of operations. |
| - |
| - * DISCLAIMER OF LIABILITY |
| - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY |
| - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND |
| - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR |
| - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE |
| - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED |
| - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES |
| - |
| - * 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 MPT3SAS_CTL_H_INCLUDED |
| |
| |
| --- a/drivers/scsi/mpt3sas/mpt3sas_debug.h |
| +++ b/drivers/scsi/mpt3sas/mpt3sas_debug.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
| /* |
| * Logging Support for MPT (Message Passing Technology) based controllers |
| * |
| @@ -5,41 +6,6 @@ |
| * Copyright (C) 2012-2014 LSI Corporation |
| * Copyright (C) 2013-2014 Avago Technologies |
| * (mailto: MPT-FusionLinux.pdl@avagotech.com) |
| - * |
| - * 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. |
| - * |
| - * NO WARRANTY |
| - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR |
| - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT |
| - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, |
| - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is |
| - * solely responsible for determining the appropriateness of using and |
| - * distributing the Program and assumes all risks associated with its |
| - * exercise of rights under this Agreement, including but not limited to |
| - * the risks and costs of program errors, damage to or loss of data, |
| - * programs or equipment, and unavailability or interruption of operations. |
| - |
| - * DISCLAIMER OF LIABILITY |
| - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY |
| - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND |
| - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR |
| - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE |
| - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED |
| - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES |
| - |
| - * 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 MPT3SAS_DEBUG_H_INCLUDED |
| |
| |
| --- a/drivers/scsi/mpt3sas/mpt3sas_scsih.c |
| +++ b/drivers/scsi/mpt3sas/mpt3sas_scsih.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* |
| * Scsi Host Layer for MPT (Message Passing Technology) based controllers |
| * |
| @@ -5,41 +6,6 @@ |
| * Copyright (C) 2012-2014 LSI Corporation |
| * Copyright (C) 2013-2014 Avago Technologies |
| * (mailto: MPT-FusionLinux.pdl@avagotech.com) |
| - * |
| - * 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. |
| - * |
| - * NO WARRANTY |
| - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR |
| - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT |
| - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, |
| - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is |
| - * solely responsible for determining the appropriateness of using and |
| - * distributing the Program and assumes all risks associated with its |
| - * exercise of rights under this Agreement, including but not limited to |
| - * the risks and costs of program errors, damage to or loss of data, |
| - * programs or equipment, and unavailability or interruption of operations. |
| - |
| - * DISCLAIMER OF LIABILITY |
| - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY |
| - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND |
| - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR |
| - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE |
| - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED |
| - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES |
| - |
| - * 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. |
| */ |
| |
| #include <linux/module.h> |
| |
| |
| --- a/drivers/scsi/mpt3sas/mpt3sas_transport.c |
| +++ b/drivers/scsi/mpt3sas/mpt3sas_transport.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* |
| * SAS Transport Layer for MPT (Message Passing Technology) based controllers |
| * |
| @@ -5,41 +6,6 @@ |
| * Copyright (C) 2012-2014 LSI Corporation |
| * Copyright (C) 2013-2014 Avago Technologies |
| * (mailto: MPT-FusionLinux.pdl@avagotech.com) |
| - * |
| - * 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. |
| - * |
| - * NO WARRANTY |
| - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR |
| - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT |
| - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, |
| - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is |
| - * solely responsible for determining the appropriateness of using and |
| - * distributing the Program and assumes all risks associated with its |
| - * exercise of rights under this Agreement, including but not limited to |
| - * the risks and costs of program errors, damage to or loss of data, |
| - * programs or equipment, and unavailability or interruption of operations. |
| - |
| - * DISCLAIMER OF LIABILITY |
| - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY |
| - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND |
| - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR |
| - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE |
| - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED |
| - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES |
| - |
| - * 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. |
| */ |
| |
| #include <linux/module.h> |
| |
| |
| --- a/drivers/scsi/mpt3sas/mpt3sas_trigger_diag.c |
| +++ b/drivers/scsi/mpt3sas/mpt3sas_trigger_diag.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* |
| * This module provides common API to set Diagnostic trigger for MPT |
| * (Message Passing Technology) based controllers |
| @@ -6,41 +7,6 @@ |
| * Copyright (C) 2012-2014 LSI Corporation |
| * Copyright (C) 2013-2014 Avago Technologies |
| * (mailto: MPT-FusionLinux.pdl@avagotech.com) |
| - * |
| - * 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. |
| - * |
| - * NO WARRANTY |
| - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR |
| - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT |
| - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, |
| - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is |
| - * solely responsible for determining the appropriateness of using and |
| - * distributing the Program and assumes all risks associated with its |
| - * exercise of rights under this Agreement, including but not limited to |
| - * the risks and costs of program errors, damage to or loss of data, |
| - * programs or equipment, and unavailability or interruption of operations. |
| - |
| - * DISCLAIMER OF LIABILITY |
| - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY |
| - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND |
| - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR |
| - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE |
| - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED |
| - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES |
| - |
| - * 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. |
| */ |
| |
| #include <linux/kernel.h> |
| |
| |
| --- a/drivers/scsi/mpt3sas/mpt3sas_trigger_diag.h |
| +++ b/drivers/scsi/mpt3sas/mpt3sas_trigger_diag.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
| /* |
| * This is the Fusion MPT base driver providing common API layer interface |
| * to set Diagnostic triggers for MPT (Message Passing Technology) based |
| @@ -7,41 +8,6 @@ |
| * Copyright (C) 2012-2014 LSI Corporation |
| * Copyright (C) 2013-2014 Avago Technologies |
| * (mailto: MPT-FusionLinux.pdl@avagotech.com) |
| - * |
| - * 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. |
| - * |
| - * NO WARRANTY |
| - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR |
| - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT |
| - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, |
| - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is |
| - * solely responsible for determining the appropriateness of using and |
| - * distributing the Program and assumes all risks associated with its |
| - * exercise of rights under this Agreement, including but not limited to |
| - * the risks and costs of program errors, damage to or loss of data, |
| - * programs or equipment, and unavailability or interruption of operations. |
| - |
| - * DISCLAIMER OF LIABILITY |
| - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY |
| - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND |
| - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR |
| - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE |
| - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED |
| - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES |
| - |
| - * 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. |
| */ |
| /* Diagnostic Trigger Configuration Data Structures */ |
| |
| |
| |