Re: [PATCH] checkpatch: Properly detect /* */ style SPDX header.

2019-02-12 Thread Pi-Hsun Shih
On Fri, Feb 1, 2019 at 12:54 AM Joe Perches wrote: > > On Thu, 2019-01-31 at 17:56 +0800, Pi-Hsun Shih wrote: > > Currently for a header line "/* SPDX-License-Identifier: GPL-2.0 */", > > only the part starting from "SPDX-" is passed to spdxcheck.py, and cause > > false warning. Fix this by passin

Re: [PATCH] checkpatch: Properly detect /* */ style SPDX header.

2019-01-31 Thread Joe Perches
On Thu, 2019-01-31 at 17:56 +0800, Pi-Hsun Shih wrote: > Currently for a header line "/* SPDX-License-Identifier: GPL-2.0 */", > only the part starting from "SPDX-" is passed to spdxcheck.py, and cause > false warning. Fix this by passing the whole line to spdxcheck.py > instead. Thanks but I subm

[PATCH] checkpatch: Properly detect /* */ style SPDX header.

2019-01-31 Thread Pi-Hsun Shih
Currently for a header line "/* SPDX-License-Identifier: GPL-2.0 */", only the part starting from "SPDX-" is passed to spdxcheck.py, and cause false warning. Fix this by passing the whole line to spdxcheck.py instead. Fixes: 3b6e8ac9e740 ("checkpatch: validate SPDX license with spdxcheck.py") Sign