Re: [PATCH v13 11/13] platform/x86: Intel SGX driver

From: Joe Perches
Date: Mon Sep 10 2018 - 17:23:07 EST


On Mon, 2018-09-10 at 21:37 +0300, Jarkko Sakkinen wrote:
> On Thu, Sep 06, 2018 at 05:50:01PM -0700, Joe Perches wrote:
> > On Thu, 2018-09-06 at 19:35 +0200, Miguel Ojeda wrote:
> > > > Which one is right and why the kernel tree is polluted with C99-headers
> > > > when they do not pass checkpatch.pl?
> >
> > checkpatch ignores c99 headers since 2016.
>
> For headers I get these warnings:
>
> WARNING: Missing or malformed SPDX-License-Identifier tag in line 1
> #243: FILE: drivers/platform/x86/intel_sgx/sgx.h:1:
> +// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)

Because .h files are supposed to use /* */