[PATCH 9/9] checkpatch: Add warnings for unexpected struct names

Simon Glass sjg at chromium.org
Sun Dec 13 15:51:23 CET 2020


As a way of keeping the driver declarations more consistent, add a warning
if the struct used does not end with _priv or _plat.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 scripts/checkpatch.pl           | 38 +++++++++++++++++++++++++++++++++
 tools/patman/test_checkpatch.py | 28 ++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list