Skip to contentSkip to conversation

checkpatch warnings for references to earlier commits

DISCUSSION Luck, Tony 2 participants 2 messages Feb 22, 2021

lore
Share & tools
lore

Luck, Tony

author
#0 lore raw

Would it be possible to teach checkpatch not to warn about canonical references to earlier commits? E.g.

WARNING: Possible unwrapped commit description (prefer a maximum 75 chars per line) #7:
commit e80634a75aba ("EDAC, skx: Retrieve and print retry_rd_err_log registers")

Thanks

-Tony

#1 lore raw
Quoted 6 lines · Tony

Would it be possible to teach checkpatch not to warn about canonical references to earlier commits? E.g.

WARNING: Possible unwrapped commit description (prefer a maximum 75 chars per line) #7:
commit e80634a75aba ("EDAC, skx: Retrieve and print retry_rd_err_log registers")

No, not really. It's possible and typical for commit descriptions to span multiple lines. checkpatch accepts that.