Re: checkpatch wrong error message

From: Joe Perches
Date: Fri Jan 09 2015 - 08:31:21 EST


On Fri, 2015-01-09 at 13:57 +0200, Daniel Baluta wrote:
> Hi Joe,
>
> Running ./scripts/checkpatch on the attached [1] patch i get the
> following error:
>
> ERROR: Please use 12 or more chars for the git commit ID like: 'commit
> 01234567890ab ("commit description")'
> #6:
> After commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is

checkpatch uses the same message for multiple forms.

There were some patches around to make this clearer.
https://lkml.org/lkml/2014/10/20/630

Your commit message does not have quotes around the text.

It should be:

After commit <2b49ccbdd54 ("PM: Kconfig: Set ...")


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/