From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Kirsher Subject: Checkpatch False positive Date: Mon, 20 Aug 2018 13:21:30 -0700 Message-ID: <8cf91e5fb848eecd98a2f9493387906b3a5f1506.camel@intel.com> Reply-To: jeffrey.t.kirsher@intel.com Mime-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-Zj6dTE/inR32q4gAsWeR" Cc: netdev , Linux Docs To: Andy Whitcroft , Joe Perches Return-path: Received: from mga11.intel.com ([192.55.52.93]:35276 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726089AbeHTXfw (ORCPT ); Mon, 20 Aug 2018 19:35:52 -0400 Sender: netdev-owner@vger.kernel.org List-ID: --=-Zj6dTE/inR32q4gAsWeR Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Checkpatch.pl should probably exclude *.rst files from the SPDX License Identifier check, since they are documentational files, like *.txt.=20 Here is the warning message I got on a recent documentation patch I created. WARNING: Missing or malformed SPDX-License-Identifier tag in line 1 #28: FILE: Documentation/networking/fm10k.rst:1: +Linux* Base Driver for Intel(R) Ethernet Multi-host Controller total: 0 errors, 1 warnings, 0 checks, 162 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix- inplace. .apply/v4-Documentation-fm10k-Add-kernel-documentation.patch has style problems, please review. NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. --=-Zj6dTE/inR32q4gAsWeR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiTyZWz+nnTrOJ1LZ5W/vlVpL7c4FAlt7IsoACgkQ5W/vlVpL 7c5NTA/+MG99h5O1dc507JtRFykv/67ENLnVFlczVoQM1y6bbvEFds5P8rnkfflz hVnrrsQoSBKpLbRJaLn/tKltKuN/Y1l93AfOjFhE0WTI4zlOaEom4k9tQ3N9KfLi YzqQHshrsSwqTGucR2iVCkvSRQoazl4VihvBazUUUzaFsPNg/Kv2VfPCsKgByzw/ rHUSTuTV/tlJLkz90PXPxjI4xCz58LYC6i2M+7u1iQKfjR5Lbd9m/FJ6JoDfU+bQ DJrVxdZZQPC+cYvOPNj7hX/qyoVsgjsKExlpPfuQELyczhkUEQ8r7LqwLNE7Jou4 eyfW20bV7f58r/HSkwXfKF1SXFwl1l+id3C2eVAwTz6MnPCattDpozRj+ItTHRXM MttTHHZ4HNvQYRx+Zyumb/19hxeXCGbAFjGzTaM1TzvH1qeWQn2SxuNX3BLyMeTD m+cEW/YGVu2/NQq+EZd+cjHGe5B9EjWUaaDEWCBpPRFiiT/T6ri2qMxBqfQIutuf FbQqW6a9P+YLo45YmzhSlrsuRpVYOXMB+m5VndSaIe//3g+MAsfHm/0ZsDDXXd0c qBlttU1FJsrXASwmqN2TnlSnRuT/vEhZbmtILO6GCElpuAyMf65lhtMXPs8vz0iS VjduoIRQTrq//hX/WhiWzA9L2wS7Vb9//p6jtEp/IdifEpHCdW0= =Hd99 -----END PGP SIGNATURE----- --=-Zj6dTE/inR32q4gAsWeR--