Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp1576560ybf; Sun, 1 Mar 2020 12:46:01 -0800 (PST) X-Google-Smtp-Source: APXvYqyFJcFyOvwxMeFT7pz1eibQSF1kI8gzLbv8Mz5RNYTX/r1KEWpXPN12mt0atVl+C95zABif X-Received: by 2002:a9d:5a94:: with SMTP id w20mr7669644oth.304.1583095560847; Sun, 01 Mar 2020 12:46:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583095560; cv=none; d=google.com; s=arc-20160816; b=f6RT2JG2VWod0PCMY/qSONmiOK6sKWKumK/TJQGv/T/cZynbN3ng4W+GhSfYQ0c2+w t+oOI5GbuEISitx7DsQPDJrJoxyCe96VIf9aLgDi+BVNhBDMu4Ew86AYFbXvi8lUt1Is ReVVWfuDXUS2Qa9A1avzmu8i8Ie9oWCMQoLUdqH3XEoQ+6q5dSKen9iSA6JCAFqZVj3T 36f4hFRs2qKCs9I+iFh+B8TvaMuRKHvJr88LKc8j3SB80Es/0MZ/RcjR5mgnEcWu4clr xXRbEisyJcImcwcmKd6HiFR42ARoJj7UDFms0WwiDVnW8MGiH5jGj+g5cPkCbbsdVari 2d0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature; bh=rKTRr7gH/H3erxMOjX8RHhnD0WNXnZrb4KZ5NXj3rVs=; b=Cw0h1rtW2Nh8QEcMgaZdiEzfvx8PX5+noRTBLCAZhBf9Yi3cY2rtSMn1W6E8kZCH+r IFLgf5DXDc2tbKSTaJ35DAMHNkbO2eIYczJ/4sfyJt76Z2Z7sp9g/PmTEKtNixRlbY2F T1qQopj5nyeaC8FyTd9W9R26dYWibeqCKVs2mU3+OZZAXcQMNDfFZD+f33+WM1nV9NXQ CnBGxwnssXXCm87iixKhhn0xYucb5CPAUsSyzKHAkeXuCE8GNjGUezPss4MASpFPCWd/ VSIIP9TZsSpxK70LZ5nTgFMfz9MX2Dp7uCB1r8+tbwnim6L6xiCfejVSvfshcpGXgfFo sTXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ED+21RTy; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h64si5326075oif.215.2020.03.01.12.45.45; Sun, 01 Mar 2020 12:46:00 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ED+21RTy; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726465AbgCAUpe (ORCPT + 99 others); Sun, 1 Mar 2020 15:45:34 -0500 Received: from mail-pj1-f66.google.com ([209.85.216.66]:39867 "EHLO mail-pj1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725895AbgCAUpd (ORCPT ); Sun, 1 Mar 2020 15:45:33 -0500 Received: by mail-pj1-f66.google.com with SMTP id e9so3517711pjr.4; Sun, 01 Mar 2020 12:45:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=rKTRr7gH/H3erxMOjX8RHhnD0WNXnZrb4KZ5NXj3rVs=; b=ED+21RTy6uFrUbhqFAJUvVt0+8PRGDmN4LkSicuW7WxsAJ1k5PUH9cHXRzHlzUhLRe UUryCb7SvyQ06BK3HRT6U4qc/rMWFHRxqAqQOoqXmW5gCKRQrqaqH2Se1t/uYts2G6wW wQJw4WF16qD0t7P7nJbTPak36k7X6Rj8KHH5saMV9X+4WBEysjSNGxPF28Vn6U61l+Py 73M0xYa5eAUeOg+kJx4NgxnfVF8McUoG0nSZBghGgX1gH+60tZKM5aBihMesy01KEVs2 OaXq69FKFk6wGGuxFHeTGZutUEmr6jIusGIjZpE33U8U/gTvvL/vxrPdbhsG7O/jTwu9 yBrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=rKTRr7gH/H3erxMOjX8RHhnD0WNXnZrb4KZ5NXj3rVs=; b=Syj/r1JaIY0kx6CvNA3s/g0JUEsAx1MRzAeoFiOlxliZk36PTt4o3Q7dh2iZ6auTyw RBtFKfr2+BX7AdhjiZ4zUH/ZHiPIblrAlcE90BaF563rLgE4wD1IL88T9O8nZVLC0Bzt bxwed/Hdx31XPbEPIJ92kyd/5HXXGFJ8MXdOAjL/fAcZkMHzZ4q3KAIKmUPGXFlWED/l wYi7th+NkXoay791OlX0Fc3uLNAu1yaDztdTbPEVQiFhYlyqHqy5oWJ/WikweUNfYTtq RqBVt1I5xfWo/E9Y3DY01pe1WVehepEASMuW2xRwrKb/xjTcRHSErWEX9/Itl6jS6N9l 27lA== X-Gm-Message-State: APjAAAUIMu+74LzgMk2PJTL29CMNJ45lN/8AMQ2e3Gyi74r+3/BggDNJ ci3gqfJB1z8NvQGylOGC8NQ= X-Received: by 2002:a17:902:ab95:: with SMTP id f21mr13470060plr.188.1583095530670; Sun, 01 Mar 2020 12:45:30 -0800 (PST) Received: from nishad ([106.51.232.103]) by smtp.gmail.com with ESMTPSA id h10sm18127494pfo.181.2020.03.01.12.45.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 01 Mar 2020 12:45:30 -0800 (PST) Date: Mon, 2 Mar 2020 02:15:21 +0530 From: Nishad Kamdar To: Greg Kroah-Hartman , Jiri Slaby , Richard Genoud , Nicolas Ferre , Alexandre Belloni , Ludovic Desroches , Barry Song , Maxime Coquelin , Alexandre Torgue , Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= , Joe Perches Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH] tty: serial: Use the correct style for SPDX License Identifier Message-ID: <20200301204517.GA10368@nishad> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch corrects the SPDX License Identifier style in header files related to tty serial drivers. For C header files Documentation/process/license-rules.rst mandates C-like comments (opposed to C source files where C++ style should be used). Changes made by using a script provided by Joe Perches here: https://lkml.org/lkml/2019/2/7/46. Suggested-by: Joe Perches Signed-off-by: Nishad Kamdar --- drivers/tty/serial/8250/8250.h | 2 +- drivers/tty/serial/8250/8250_dwlib.h | 2 +- drivers/tty/serial/atmel_serial.h | 2 +- drivers/tty/serial/cpm_uart/cpm_uart.h | 2 +- drivers/tty/serial/icom.h | 2 +- drivers/tty/serial/ifx6x60.h | 2 +- drivers/tty/serial/jsm/jsm.h | 2 +- drivers/tty/serial/pic32_uart.h | 2 +- drivers/tty/serial/serial_mctrl_gpio.h | 2 +- drivers/tty/serial/sirfsoc_uart.h | 2 +- drivers/tty/serial/stm32-usart.h | 2 +- drivers/tty/serial/timbuart.h | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/tty/serial/8250/8250.h b/drivers/tty/serial/8250/8250.h index 33ad9d6de532..32881e21b0c8 100644 --- a/drivers/tty/serial/8250/8250.h +++ b/drivers/tty/serial/8250/8250.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Driver for 8250/16550-type serial ports * diff --git a/drivers/tty/serial/8250/8250_dwlib.h b/drivers/tty/serial/8250/8250_dwlib.h index 87a4db2a8aba..9a12953832d3 100644 --- a/drivers/tty/serial/8250/8250_dwlib.h +++ b/drivers/tty/serial/8250/8250_dwlib.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ /* Synopsys DesignWare 8250 library header file. */ #include diff --git a/drivers/tty/serial/atmel_serial.h b/drivers/tty/serial/atmel_serial.h index d811d4f2d0c0..0d8a0f9cc5c3 100644 --- a/drivers/tty/serial/atmel_serial.h +++ b/drivers/tty/serial/atmel_serial.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * include/linux/atmel_serial.h * diff --git a/drivers/tty/serial/cpm_uart/cpm_uart.h b/drivers/tty/serial/cpm_uart/cpm_uart.h index 9f175a92fb5d..0de77c18c475 100644 --- a/drivers/tty/serial/cpm_uart/cpm_uart.h +++ b/drivers/tty/serial/cpm_uart/cpm_uart.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Driver for CPM (SCC/SMC) serial ports * diff --git a/drivers/tty/serial/icom.h b/drivers/tty/serial/icom.h index 8a77e739b333..26e3aa7b01e2 100644 --- a/drivers/tty/serial/icom.h +++ b/drivers/tty/serial/icom.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * icom.h * diff --git a/drivers/tty/serial/ifx6x60.h b/drivers/tty/serial/ifx6x60.h index c5a2514212ff..cacca5be7390 100644 --- a/drivers/tty/serial/ifx6x60.h +++ b/drivers/tty/serial/ifx6x60.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /**************************************************************************** * * Driver for the IFX spi modem. diff --git a/drivers/tty/serial/jsm/jsm.h b/drivers/tty/serial/jsm/jsm.h index 7a128aaa3a66..8489c07f4cd5 100644 --- a/drivers/tty/serial/jsm/jsm.h +++ b/drivers/tty/serial/jsm/jsm.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ /************************************************************************ * Copyright 2003 Digi International (www.digi.com) * diff --git a/drivers/tty/serial/pic32_uart.h b/drivers/tty/serial/pic32_uart.h index 2f2b56927dc6..b15639cc336b 100644 --- a/drivers/tty/serial/pic32_uart.h +++ b/drivers/tty/serial/pic32_uart.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * PIC32 Integrated Serial Driver. * diff --git a/drivers/tty/serial/serial_mctrl_gpio.h b/drivers/tty/serial/serial_mctrl_gpio.h index 1b2ff503b2c2..b134a0ffc894 100644 --- a/drivers/tty/serial/serial_mctrl_gpio.h +++ b/drivers/tty/serial/serial_mctrl_gpio.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Helpers for controlling modem lines via GPIO * diff --git a/drivers/tty/serial/sirfsoc_uart.h b/drivers/tty/serial/sirfsoc_uart.h index 637b09d3fe79..fb88ac565227 100644 --- a/drivers/tty/serial/sirfsoc_uart.h +++ b/drivers/tty/serial/sirfsoc_uart.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Drivers for CSR SiRFprimaII onboard UARTs. * diff --git a/drivers/tty/serial/stm32-usart.h b/drivers/tty/serial/stm32-usart.h index a175c1094dc8..db8bf0d4982d 100644 --- a/drivers/tty/serial/stm32-usart.h +++ b/drivers/tty/serial/stm32-usart.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) Maxime Coquelin 2015 * Copyright (C) STMicroelectronics SA 2017 diff --git a/drivers/tty/serial/timbuart.h b/drivers/tty/serial/timbuart.h index fb00b172117d..007e59af636d 100644 --- a/drivers/tty/serial/timbuart.h +++ b/drivers/tty/serial/timbuart.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * timbuart.c timberdale FPGA GPIO driver * Copyright (c) 2009 Intel Corporation -- 2.17.1