Re: [PATCH 1/2] x86: gpio: AMD G-Series pch gpio platform driver

From: Joe Perches
Date: Fri Feb 08 2019 - 12:47:24 EST


On Fri, 2019-02-08 at 15:25 +0100, Linus Walleij wrote:
> > +/*
> > + * GPIO driver for the AMD G series FCH (eg. GX-412TC)
> > + *
> > + * Copyright (C) 2018 metux IT consult
> > + * Author: Enrico Weigelt <info@xxxxxxxxx>
> > + *
> > + * SPDX-License-Identifier: GPL+
> > + */
>
> I think checkpatch will complain on that SPDX thing.
> Copy something from one of the other drivers, it should be
> on the first line of the file.

Actually, checkpatch will complain that there isn't
an SPDX license on line 1 but will not complain about
the existence of an SPDX license on other line numbers.

Perhaps checkpatch _should_ complain when it sees an
SPDX license identifier outside the expected line.