Staging: rts5208: Add SPDX license tags
PATCH 1/1 Staging: rts5208: Add SPDX license tags
Add SPDX license tags to remove checkpatch SPDX warnings.
--- drivers/staging/rts5208/general.c | 17 +++-------------- drivers/staging/rts5208/general.h | 18 +++--------------- drivers/staging/rts5208/ms.c | 17 +++-------------- drivers/staging/rts5208/ms.h | 18 +++--------------- drivers/staging/rts5208/rtsx.c | 17 +++-------------- drivers/staging/rts5208/rtsx.h | 18 +++--------------- drivers/staging/rts5208/rtsx_card.c | 17 +++-------------- drivers/staging/rts5208/rtsx_card.h | 18 +++--------------- drivers/staging/rts5208/rtsx_chip.c | 17 +++-------------- drivers/staging/rts5208/rtsx_chip.h | 18 +++--------------- drivers/staging/rts5208/rtsx_scsi.c | 17 +++-------------- drivers/staging/rts5208/rtsx_scsi.h | 18 +++--------------- drivers/staging/rts5208/rtsx_sys.h | 18 +++--------------- drivers/staging/rts5208/rtsx_transport.c | 14 +------------- drivers/staging/rts5208/rtsx_transport.h | 18 +++--------------- drivers/staging/rts5208/sd.c | 17 +++-------------- drivers/staging/rts5208/sd.h | 18 +++--------------- drivers/staging/rts5208/spi.c | 17 +++-------------- drivers/staging/rts5208/spi.h | 18 +++--------------- drivers/staging/rts5208/xd.c | 17 +++-------------- drivers/staging/rts5208/xd.h | 18 +++--------------- 21 files changed, 61 insertions(+), 304 deletions(-)
drivers/staging/rts5208/general.c +3 -14
@@ -1,20 +1,9 @@ -/* Driver for Realtek PCI-Express card reader +// SPDX-License-Identifier: GPL-2.0+ +/* +* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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, 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/>. -* * Author: * Wei WANG ([email protected]) * Micky Ching ([email protected])
drivers/staging/rts5208/general.h +3 -15
@@ -1,21 +1,9 @@ -/* Driver for Realtek PCI-Express card reader -* Header file +/* SPDX-License-Identifier: GPL-2.0+ */ +/* +* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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, 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/>. -* * Author: * Wei WANG ([email protected]) * Micky Ching ([email protected])
drivers/staging/rts5208/ms.c +3 -14
@@ -1,20 +1,9 @@ -/* Driver for Realtek PCI-Express card reader +// SPDX-License-Identifier: GPL-2.0+ +/* +* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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, 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/>. -* * Author: * Wei WANG ([email protected]) * Micky Ching ([email protected])
drivers/staging/rts5208/ms.h +3 -15
@@ -1,21 +1,9 @@ -/* Driver for Realtek PCI-Express card reader -* Header file +/* SPDX-License-Identifier: GPL-2.0+ */ +/* +* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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, 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/>. -* * Author: * Wei WANG ([email protected]) * Micky Ching ([email protected])
drivers/staging/rts5208/rtsx.c +3 -14
@@ -1,20 +1,9 @@ -/* Driver for Realtek PCI-Express card reader +// SPDX-License-Identifier: GPL-2.0+ +/* +* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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, 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/>. -* * Author: * Wei WANG ([email protected]) * Micky Ching ([email protected])
drivers/staging/rts5208/rtsx.h +3 -15
@@ -1,21 +1,9 @@ -/* Driver for Realtek PCI-Express card reader -* Header file +/* SPDX-License-Identifier: GPL-2.0+ */ +/* +* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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, 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/>. -* * Author: * Wei WANG ([email protected]) * Micky Ching ([email protected])
drivers/staging/rts5208/rtsx_card.c +3 -14
@@ -1,20 +1,9 @@ -/* Driver for Realtek PCI-Express card reader +// SPDX-License-Identifier: GPL-2.0+ +/* +* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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, 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/>. -* * Author: * Wei WANG ([email protected]) * Micky Ching ([email protected])
drivers/staging/rts5208/rtsx_card.h +3 -15
@@ -1,21 +1,9 @@ -/* Driver for Realtek PCI-Express card reader -* Header file +/* SPDX-License-Identifier: GPL-2.0+ */ +/* +* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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, 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/>. -* * Author: * Wei WANG ([email protected]) * Micky Ching ([email protected])
drivers/staging/rts5208/rtsx_chip.c +3 -14
@@ -1,20 +1,9 @@ -/* Driver for Realtek PCI-Express card reader +// SPDX-License-Identifier: GPL-2.0+ +/* +* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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, 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/>. -* * Author: * Wei WANG ([email protected]) * Micky Ching ([email protected])
drivers/staging/rts5208/rtsx_chip.h +3 -15
@@ -1,21 +1,9 @@ -/* Driver for Realtek PCI-Express card reader -* Header file +/* SPDX-License-Identifier: GPL-2.0+ */ +/* +* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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, 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/>. -* * Author: * Wei WANG ([email protected]) * Micky Ching ([email protected])
drivers/staging/rts5208/rtsx_scsi.c +3 -14
@@ -1,20 +1,9 @@ -/* Driver for Realtek PCI-Express card reader +// SPDX-License-Identifier: GPL-2.0+ +/* +* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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, 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/>. -* * Author: * Wei WANG ([email protected]) * Micky Ching ([email protected])
drivers/staging/rts5208/rtsx_scsi.h +3 -15
@@ -1,21 +1,9 @@ -/* Driver for Realtek PCI-Express card reader -* Header file +/* SPDX-License-Identifier: GPL-2.0+ */ +/* +* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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, 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/>. -* * Author: * Wei WANG ([email protected]) * Micky Ching ([email protected])
drivers/staging/rts5208/rtsx_sys.h +3 -15
@@ -1,21 +1,9 @@ -/* Driver for Realtek PCI-Express card reader -* Header file +/* SPDX-License-Identifier: GPL-2.0+ */ +/* +* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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, 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/>. -* * Author: * Wei WANG ([email protected]) * Micky Ching ([email protected])
drivers/staging/rts5208/rtsx_transport.c +1 -13
@@ -1,21 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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, 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/>. -* * Author: * Wei WANG ([email protected]) * Micky Ching ([email protected])
drivers/staging/rts5208/rtsx_transport.h +3 -15
@@ -1,21 +1,9 @@ -/* Driver for Realtek PCI-Express card reader -* Header file +/* SPDX-License-Identifier: GPL-2.0+ */ +/* +* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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, 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/>. -* * Author: * Wei WANG ([email protected]) * Micky Ching ([email protected])
drivers/staging/rts5208/sd.c +3 -14
@@ -1,20 +1,9 @@ -/* Driver for Realtek PCI-Express card reader +// SPDX-License-Identifier: GPL-2.0+ +/* +* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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, 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/>. -* * Author: * Wei WANG ([email protected]) * Micky Ching ([email protected])
drivers/staging/rts5208/sd.h +3 -15
@@ -1,21 +1,9 @@ -/* Driver for Realtek PCI-Express card reader -* Header file +/* SPDX-License-Identifier: GPL-2.0+ */ +/* +* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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, 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/>. -* * Author: * Wei WANG ([email protected]) * Micky Ching ([email protected])
drivers/staging/rts5208/spi.c +3 -14
@@ -1,20 +1,9 @@ -/* Driver for Realtek PCI-Express card reader +// SPDX-License-Identifier: GPL-2.0+ +/* +* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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, 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/>. -* * Author: * Wei WANG ([email protected]) * Micky Ching ([email protected])
drivers/staging/rts5208/spi.h +3 -15
@@ -1,21 +1,9 @@ -/* Driver for Realtek PCI-Express card reader -* Header file +/* SPDX-License-Identifier: GPL-2.0+ */ +/* +* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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, 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/>. -* * Author: * Wei WANG ([email protected]) * Micky Ching ([email protected])
drivers/staging/rts5208/xd.c +3 -14
@@ -1,20 +1,9 @@ -/* Driver for Realtek PCI-Express card reader +// SPDX-License-Identifier: GPL-2.0+ +/* +* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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, 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/>. -* * Author: * Wei WANG ([email protected]) * Micky Ching ([email protected])
drivers/staging/rts5208/xd.h +3 -15
@@ -1,21 +1,9 @@ -/* Driver for Realtek PCI-Express card reader -* Header file +/* SPDX-License-Identifier: GPL-2.0+ */ +/* +* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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, 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/>. -* * Author: * Wei WANG ([email protected]) * Micky Ching ([email protected])
Signature · 1 line
2.19.1
Quoted 1 line · Kim Bradley
Add SPDX license tags to remove checkpatch SPDX warnings.
Why is // used for .c files and /* */ used for .h files? I'm just curious; this seems to be consistent with what is done in the rest of the kernel.
julia
Quoted 635 lines
Signed-off-by Kim Bradley <[email protected]>--- drivers/staging/rts5208/general.c | 17 +++-------------- drivers/staging/rts5208/general.h | 18 +++--------------- drivers/staging/rts5208/ms.c | 17 +++-------------- drivers/staging/rts5208/ms.h | 18 +++--------------- drivers/staging/rts5208/rtsx.c | 17 +++-------------- drivers/staging/rts5208/rtsx.h | 18 +++--------------- drivers/staging/rts5208/rtsx_card.c | 17 +++-------------- drivers/staging/rts5208/rtsx_card.h | 18 +++--------------- drivers/staging/rts5208/rtsx_chip.c | 17 +++-------------- drivers/staging/rts5208/rtsx_chip.h | 18 +++--------------- drivers/staging/rts5208/rtsx_scsi.c | 17 +++-------------- drivers/staging/rts5208/rtsx_scsi.h | 18 +++--------------- drivers/staging/rts5208/rtsx_sys.h | 18 +++--------------- drivers/staging/rts5208/rtsx_transport.c | 14 +------------- drivers/staging/rts5208/rtsx_transport.h | 18 +++--------------- drivers/staging/rts5208/sd.c | 17 +++-------------- drivers/staging/rts5208/sd.h | 18 +++--------------- drivers/staging/rts5208/spi.c | 17 +++-------------- drivers/staging/rts5208/spi.h | 18 +++--------------- drivers/staging/rts5208/xd.c | 17 +++-------------- drivers/staging/rts5208/xd.h | 18 +++--------------- 21 files changed, 61 insertions(+), 304 deletions(-)drivers/staging/rts5208/general.c +3
-14@@ -1,20 +1,9 @@ -/* Driver for Realtek PCI-Express card reader +// SPDX-License-Identifier: GPL-2.0+ +/* +* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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, 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/>. -* * Author: * Wei WANG ([email protected]) * Micky Ching ([email protected]) drivers/staging/rts5208/general.h +3
-15@@ -1,21 +1,9 @@ -/* Driver for Realtek PCI-Express card reader -* Header file +/* SPDX-License-Identifier: GPL-2.0+ */ +/* +* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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, 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/>. -* * Author: * Wei WANG ([email protected]) * Micky Ching ([email protected]) drivers/staging/rts5208/ms.c +3
-14@@ -1,20 +1,9 @@ -/* Driver for Realtek PCI-Express card reader +// SPDX-License-Identifier: GPL-2.0+ +/* +* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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, 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/>. -* * Author: * Wei WANG ([email protected]) * Micky Ching ([email protected]) drivers/staging/rts5208/ms.h +3
-15@@ -1,21 +1,9 @@ -/* Driver for Realtek PCI-Express card reader -* Header file +/* SPDX-License-Identifier: GPL-2.0+ */ +/* +* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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, 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/>. -* * Author: * Wei WANG ([email protected]) * Micky Ching ([email protected]) drivers/staging/rts5208/rtsx.c +3
-14@@ -1,20 +1,9 @@ -/* Driver for Realtek PCI-Express card reader +// SPDX-License-Identifier: GPL-2.0+ +/* +* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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, 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/>. -* * Author: * Wei WANG ([email protected]) * Micky Ching ([email protected]) drivers/staging/rts5208/rtsx.h +3
-15@@ -1,21 +1,9 @@ -/* Driver for Realtek PCI-Express card reader -* Header file +/* SPDX-License-Identifier: GPL-2.0+ */ +/* +* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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, 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/>. -* * Author: * Wei WANG ([email protected]) * Micky Ching ([email protected]) drivers/staging/rts5208/rtsx_card.c +3
-14@@ -1,20 +1,9 @@ -/* Driver for Realtek PCI-Express card reader +// SPDX-License-Identifier: GPL-2.0+ +/* +* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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, 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/>. -* * Author: * Wei WANG ([email protected]) * Micky Ching ([email protected]) drivers/staging/rts5208/rtsx_card.h +3
-15@@ -1,21 +1,9 @@ -/* Driver for Realtek PCI-Express card reader -* Header file +/* SPDX-License-Identifier: GPL-2.0+ */ +/* +* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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, 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/>. -* * Author: * Wei WANG ([email protected]) * Micky Ching ([email protected]) drivers/staging/rts5208/rtsx_chip.c +3
-14@@ -1,20 +1,9 @@ -/* Driver for Realtek PCI-Express card reader +// SPDX-License-Identifier: GPL-2.0+ +/* +* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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, 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/>. -* * Author: * Wei WANG ([email protected]) * Micky Ching ([email protected]) drivers/staging/rts5208/rtsx_chip.h +3
-15@@ -1,21 +1,9 @@ -/* Driver for Realtek PCI-Express card reader -* Header file +/* SPDX-License-Identifier: GPL-2.0+ */ +/* +* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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, 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/>. -* * Author: * Wei WANG ([email protected]) * Micky Ching ([email protected]) drivers/staging/rts5208/rtsx_scsi.c +3
-14@@ -1,20 +1,9 @@ -/* Driver for Realtek PCI-Express card reader +// SPDX-License-Identifier: GPL-2.0+ +/* +* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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, 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/>. -* * Author: * Wei WANG ([email protected]) * Micky Ching ([email protected]) drivers/staging/rts5208/rtsx_scsi.h +3
-15@@ -1,21 +1,9 @@ -/* Driver for Realtek PCI-Express card reader -* Header file +/* SPDX-License-Identifier: GPL-2.0+ */ +/* +* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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, 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/>. -* * Author: * Wei WANG ([email protected]) * Micky Ching ([email protected]) drivers/staging/rts5208/rtsx_sys.h +3
-15@@ -1,21 +1,9 @@ -/* Driver for Realtek PCI-Express card reader -* Header file +/* SPDX-License-Identifier: GPL-2.0+ */ +/* +* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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, 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/>. -* * Author: * Wei WANG ([email protected]) * Micky Ching ([email protected]) drivers/staging/rts5208/rtsx_transport.c +1
-13@@ -1,21 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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, 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/>. -* * Author: * Wei WANG ([email protected]) * Micky Ching ([email protected]) drivers/staging/rts5208/rtsx_transport.h +3
-15@@ -1,21 +1,9 @@ -/* Driver for Realtek PCI-Express card reader -* Header file +/* SPDX-License-Identifier: GPL-2.0+ */ +/* +* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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, 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/>. -* * Author: * Wei WANG ([email protected]) * Micky Ching ([email protected]) drivers/staging/rts5208/sd.c +3
-14@@ -1,20 +1,9 @@ -/* Driver for Realtek PCI-Express card reader +// SPDX-License-Identifier: GPL-2.0+ +/* +* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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, 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/>. -* * Author: * Wei WANG ([email protected]) * Micky Ching ([email protected]) drivers/staging/rts5208/sd.h +3
-15@@ -1,21 +1,9 @@ -/* Driver for Realtek PCI-Express card reader -* Header file +/* SPDX-License-Identifier: GPL-2.0+ */ +/* +* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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, 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/>. -* * Author: * Wei WANG ([email protected]) * Micky Ching ([email protected]) drivers/staging/rts5208/spi.c +3
-14@@ -1,20 +1,9 @@ -/* Driver for Realtek PCI-Express card reader +// SPDX-License-Identifier: GPL-2.0+ +/* +* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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, 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/>. -* * Author: * Wei WANG ([email protected]) * Micky Ching ([email protected]) drivers/staging/rts5208/spi.h +3
-15@@ -1,21 +1,9 @@ -/* Driver for Realtek PCI-Express card reader -* Header file +/* SPDX-License-Identifier: GPL-2.0+ */ +/* +* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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, 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/>. -* * Author: * Wei WANG ([email protected]) * Micky Ching ([email protected]) drivers/staging/rts5208/xd.c +3
-14@@ -1,20 +1,9 @@ -/* Driver for Realtek PCI-Express card reader +// SPDX-License-Identifier: GPL-2.0+ +/* +* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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, 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/>. -* * Author: * Wei WANG ([email protected]) * Micky Ching ([email protected]) drivers/staging/rts5208/xd.h +3
-16@@ -1,21 +1,9 @@ -/* Driver for Realtek PCI-Express card reader -* Header file +/* SPDX-License-Identifier: GPL-2.0+ */ +/* +* Driver for Realtek PCI-Express card reader * * Copyright(c) 2009-2013 Realtek Semiconductor Corp. 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, 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/>. -* * Author: * Wei WANG ([email protected]) * Micky Ching ([email protected]) -- 2.19.1
--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20181022201022.GA3133%40ascii.
For more options, visit https://groups.google.com/d/optout.
Greg Kroah-Hartman
maintainerQuoted 10 lines · Julia Lawall
Quoted 1 line · Kim Bradley
Add SPDX license tags to remove checkpatch SPDX warnings.
Why is // used for .c files and /* */ used for .h files? I'm just curious; this seems to be consistent with what is done in the rest of the kernel.
It's documented to do it that way in:
Documentation/process/license-rules.rst
thanks,
greg k-h