Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp427110ybb; Sat, 28 Mar 2020 02:19:57 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsZqQI8iQ4nAfc6Zo/hESyQ1NqKNI9sSBlIzwmr0I3kkTZDGiYc8u1MDe86DUma39ReVt9x X-Received: by 2002:a9d:344:: with SMTP id 62mr2269969otv.102.1585387197558; Sat, 28 Mar 2020 02:19:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585387197; cv=none; d=google.com; s=arc-20160816; b=KFLXrCp70kX87WHr+Yqy7Oz3i4P5m1VlakJb5xEI+nInnbOdiSJVX4P+AloIDoCF4v 3AynxJkRhoRGz20KP53BrsIt6bgJO3KxiNUianGfkN5A6Eudp13E6zL0V63uoA77+mBx 6cymTTOuBN1umTq8qv3B/pWbOUI4f81/jvefUjd+CColXWvDjITKz2kH6yeHEtAKuc6b 0mwvpSQpiw7bgulm3ZGSpGPuNO58WefLZaoBVu8xPz21LwFrLdIKa6zO4z4UYprSt1jJ U40ZmMTi/j0ti/CeNI1UR2hvDHq475fPJM4BH5dGjgUpseNt1oWgF4tA9f+rtxoq5v46 0QVA== 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=uEulqnoWhYVrXbCXkjImpUi0gSJmkTSnXSHAVgk4dzk=; b=bLAamih2PJrhv2STVgCGdREI1JXAbyvDlSIeZzpAmjRaa8QDm3Dx26YJ6uzOfB/all lttjHwcwRzX8XlReKlOSDuIn2VELLTqDPyYKMYAA0d2pb9q7LEhiyf6PmOG3kjyaz9A1 Q9I/3ottc6CMd/YmodesY/ayYlOs7FiWwExveHw+jEjoineBaJzVuX+yveLPuoBhfQ46 S4DLX0AOFHetDUVkCiKnv9hdmnLaaRcmFfFaeeO0o2/9OAa8k4g1pwmqUMdtxFbEzGHW 2agMoZCFgwpgk+kfzD39LO0UjW0f7VhTNxivnGkkSYGt3nMqA8g9vp1Px7BsQaqeNcdT mN1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VIsBg3fK; 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 f12si3839920otc.147.2020.03.28.02.19.44; Sat, 28 Mar 2020 02:19:57 -0700 (PDT) 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=VIsBg3fK; 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 S1726283AbgC1JS7 (ORCPT + 99 others); Sat, 28 Mar 2020 05:18:59 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:37172 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725865AbgC1JS7 (ORCPT ); Sat, 28 Mar 2020 05:18:59 -0400 Received: by mail-pl1-f194.google.com with SMTP id x1so4465207plm.4; Sat, 28 Mar 2020 02:18:56 -0700 (PDT) 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=uEulqnoWhYVrXbCXkjImpUi0gSJmkTSnXSHAVgk4dzk=; b=VIsBg3fKj45txEWcrOyOCib8Y6r/8J7Y2RtDCyi4wSJBF2XN1ieldKVSMdGvq0b3OK 8ajy3jdyzWFmIJIVL/xkqzhKcutM3Dc+mSM1qD8zD7m4mnk6mVwAtrowF8rpYCYBIpui JoeMiBEOLDLTsBFEIeuohyy9pNag6sjjFjfHHr+b8sXuz6Xr3zJgwWIRYr2rMyVLD260 HIWgYeaKwre2HdTVd/FXAGtiToX/nkjcs0ng5VqjYCDrTBaL0JhezWfDJV3JvXNbmS+E /a5b+ERX5h8NEDNW26kHwiAkJeZewbLksJY5HHkk8WUQ/wAb38osOgPQV5Rl/22/MwgK Pi3g== 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=uEulqnoWhYVrXbCXkjImpUi0gSJmkTSnXSHAVgk4dzk=; b=MaBGhuSutBf01gCaK57pjA2iOuomB65lOg6GjEbIzG+sQBUBs9SGgtquJ7GwqaPFSP GImzrtXo86PbYsTFvL2+yHHVhh1H4QNw5c93CD+YLFIKuyElH12ol8RFPrkPcedr/clY W7IjOwjd2BQcV5vPP4XJrDOK1Lg2KY8uZABEZ9KoPnJ0gNNJvRygtbcApRgddiTOhrpX yFgmP/tK+Gf4+leknhWFUMgzffbjfRpve2vr/jB6a8i/N9dfHKgCTlE3ad30V+ww2bqX sCOxjaWcQwajp2eRwRrSqxUnz4g9krd41mwmpipEaMAKctCElkbSDKNXEgsAAMOwzHYa Y8WA== X-Gm-Message-State: ANhLgQ0eHdYqULq0B43xthVXR2HgC1ZL0vDDgzv28I98grLa+hK5/hXu N69wZkDZXnOUkA3fMlLZugE= X-Received: by 2002:a17:902:ba08:: with SMTP id j8mr3163660pls.70.1585387136045; Sat, 28 Mar 2020 02:18:56 -0700 (PDT) Received: from nishad ([106.51.232.103]) by smtp.gmail.com with ESMTPSA id x188sm5935844pfx.198.2020.03.28.02.18.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 28 Mar 2020 02:18:55 -0700 (PDT) Date: Sat, 28 Mar 2020 14:48:50 +0530 From: Nishad Kamdar To: Greg Kroah-Hartman , Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= , Pengutronix Kernel Team , Joe Perches Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] USB: core: Use the correct style for SPDX License Identifier Message-ID: <20200328091844.GA3648@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 USB Core. 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/usb/core/hub.h | 2 +- drivers/usb/core/otg_whitelist.h | 2 +- drivers/usb/core/usb.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/usb/core/hub.h b/drivers/usb/core/hub.h index a97dd1ba964e..73f4482d833a 100644 --- a/drivers/usb/core/hub.h +++ b/drivers/usb/core/hub.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * usb hub driver head file * diff --git a/drivers/usb/core/otg_whitelist.h b/drivers/usb/core/otg_whitelist.h index 2ae90158ded7..fdd4897401e2 100644 --- a/drivers/usb/core/otg_whitelist.h +++ b/drivers/usb/core/otg_whitelist.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * drivers/usb/core/otg_whitelist.h * diff --git a/drivers/usb/core/usb.h b/drivers/usb/core/usb.h index 64ed4023a8c8..19e4c550bc73 100644 --- a/drivers/usb/core/usb.h +++ b/drivers/usb/core/usb.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Released under the GPLv2 only. */ -- 2.17.1