Message ID | 20220428044051.2842687-1-shubhrajyoti.datta@xilinx.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | EDAC/synopsys: Fix the spdx header | expand |
On Thu, Apr 28, 2022 at 10:10:51AM +0530, Shubhrajyoti Datta wrote: > Also fixes the below warning > > WARNING: Missing or malformed SPDX-License-Identifier tag in line 1 > +/* > > Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com> > --- > drivers/edac/synopsys_edac.c | 15 +-------------- > 1 file changed, 1 insertion(+), 14 deletions(-) > > diff --git a/drivers/edac/synopsys_edac.c b/drivers/edac/synopsys_edac.c > index f05ff02c0656..fbe2aa1e334a 100644 > --- a/drivers/edac/synopsys_edac.c > +++ b/drivers/edac/synopsys_edac.c > @@ -1,22 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * Synopsys DDR ECC Driver > * This driver is based on ppc4xx_edac.c drivers > * > * Copyright (C) 2012 - 2014 Xilinx, 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, 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. > - * > - * 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 > */ > > #include <linux/edac.h> > -- Applied, thanks.
diff --git a/drivers/edac/synopsys_edac.c b/drivers/edac/synopsys_edac.c index f05ff02c0656..fbe2aa1e334a 100644 --- a/drivers/edac/synopsys_edac.c +++ b/drivers/edac/synopsys_edac.c @@ -1,22 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Synopsys DDR ECC Driver * This driver is based on ppc4xx_edac.c drivers * * Copyright (C) 2012 - 2014 Xilinx, 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, 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. - * - * 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 */ #include <linux/edac.h>
Also fixes the below warning WARNING: Missing or malformed SPDX-License-Identifier tag in line 1 +/* Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com> --- drivers/edac/synopsys_edac.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-)