Reviewed-by: Steve Winslow <swinslow@xxxxxxxxx> On Sun, May 19, 2019 at 1:20 PM Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote: > > 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 you > should have received a copy of the gnu general public license along > with this program if not see http www gnu org licenses the full gnu > general public license is included in this distribution in the file > called copying > > extracted by the scancode license scanner the SPDX license identifier > > GPL-2.0-or-later > > has been chosen to replace the boilerplate/reference in 9 file(s). > > Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx> > --- > https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=step2&id=cdce7276540f > --- > drivers/net/ethernet/qlogic/netxen/Makefile | 18 ---------------- > drivers/net/ethernet/qlogic/netxen/netxen_nic.h | 18 ---------------- > drivers/net/ethernet/qlogic/netxen/netxen_nic_ctx.c | 18 ---------------- > drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c | 18 ---------------- > drivers/net/ethernet/qlogic/netxen/netxen_nic_hdr.h | 18 ---------------- > drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c | 18 ---------------- > drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.h | 18 ---------------- > drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c | 18 ---------------- > drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c | 18 ---------------- > 9 files changed, 9 insertions(+), 153 deletions(-) > > --- a/drivers/net/ethernet/qlogic/netxen/Makefile > +++ b/drivers/net/ethernet/qlogic/netxen/Makefile > @@ -1,23 +1,7 @@ > +# SPDX-License-Identifier: GPL-2.0-or-later > # Copyright (C) 2003 - 2009 NetXen, Inc. > # Copyright (C) 2009 - QLogic 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, see <http://www.gnu.org/licenses/>. > -# > -# The full GNU General Public License is included in this distribution > -# in the file called "COPYING". > -# > # > > > --- a/drivers/net/ethernet/qlogic/netxen/netxen_nic.h > +++ b/drivers/net/ethernet/qlogic/netxen/netxen_nic.h > @@ -1,24 +1,8 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* > * Copyright (C) 2003 - 2009 NetXen, Inc. > * Copyright (C) 2009 - QLogic 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, see <http://www.gnu.org/licenses/>. > - * > - * The full GNU General Public License is included in this distribution > - * in the file called "COPYING". > - * > */ > > #ifndef _NETXEN_NIC_H_ > --- a/drivers/net/ethernet/qlogic/netxen/netxen_nic_ctx.c > +++ b/drivers/net/ethernet/qlogic/netxen/netxen_nic_ctx.c > @@ -1,24 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * Copyright (C) 2003 - 2009 NetXen, Inc. > * Copyright (C) 2009 - QLogic 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, see <http://www.gnu.org/licenses/>. > - * > - * The full GNU General Public License is included in this distribution > - * in the file called "COPYING". > - * > */ > > #include "netxen_nic_hw.h" > --- a/drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c > +++ b/drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c > @@ -1,24 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * Copyright (C) 2003 - 2009 NetXen, Inc. > * Copyright (C) 2009 - QLogic 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, see <http://www.gnu.org/licenses/>. > - * > - * The full GNU General Public License is included in this distribution > - * in the file called "COPYING". > - * > */ > > #include <linux/types.h> > --- a/drivers/net/ethernet/qlogic/netxen/netxen_nic_hdr.h > +++ b/drivers/net/ethernet/qlogic/netxen/netxen_nic_hdr.h > @@ -1,24 +1,8 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* > * Copyright (C) 2003 - 2009 NetXen, Inc. > * Copyright (C) 2009 - QLogic 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, see <http://www.gnu.org/licenses/>. > - * > - * The full GNU General Public License is included in this distribution > - * in the file called "COPYING". > - * > */ > > #ifndef __NETXEN_NIC_HDR_H_ > --- a/drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c > +++ b/drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c > @@ -1,24 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * Copyright (C) 2003 - 2009 NetXen, Inc. > * Copyright (C) 2009 - QLogic 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, see <http://www.gnu.org/licenses/>. > - * > - * The full GNU General Public License is included in this distribution > - * in the file called "COPYING". > - * > */ > > #include <linux/io-64-nonatomic-lo-hi.h> > --- a/drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.h > +++ b/drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.h > @@ -1,24 +1,8 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > /* > * Copyright (C) 2003 - 2009 NetXen, Inc. > * Copyright (C) 2009 - QLogic 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, see <http://www.gnu.org/licenses/>. > - * > - * The full GNU General Public License is included in this distribution > - * in the file called "COPYING". > - * > */ > > #ifndef __NETXEN_NIC_HW_H_ > --- a/drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c > +++ b/drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c > @@ -1,24 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * Copyright (C) 2003 - 2009 NetXen, Inc. > * Copyright (C) 2009 - QLogic 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, see <http://www.gnu.org/licenses/>. > - * > - * The full GNU General Public License is included in this distribution > - * in the file called "COPYING". > - * > */ > > #include <linux/netdevice.h> > --- a/drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c > +++ b/drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c > @@ -1,24 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later > /* > * Copyright (C) 2003 - 2009 NetXen, Inc. > * Copyright (C) 2009 - QLogic 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, see <http://www.gnu.org/licenses/>. > - * > - * The full GNU General Public License is included in this distribution > - * in the file called "COPYING". > - * > */ > > #include <linux/slab.h> > > -- Steve Winslow Director of Strategic Programs The Linux Foundation swinslow@xxxxxxxxxxxxxxxxxxx