public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* i915 vs checkpatch
@ 2018-03-01  9:47 Arkadiusz Hiler
  2018-03-01 10:43 ` Jani Nikula
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Arkadiusz Hiler @ 2018-03-01  9:47 UTC (permalink / raw)
  To: Jani Nikula, Joonas Lahtinen, Rodrigo Vivi, Daniel Vetter
  Cc: intel-gfx, dim-tools

Hey all,

Since not so long ago our CI is running and reporting sparse and
checkpatch. Sparse is doing just fine but I had to disable checkpatch
for the time being - too much "false" positives causing people to
complain. It's simply confusing to see one thing in the code, and
fitting your change in only to get a report that it's wrong.

We are explicitly going against couple of the recommendations it tries
to enforce, e.g. not using BIT macro, splitting quoted strings:
https://lists.freedesktop.org/archives/intel-gfx/2018-February/156613.html

IMHO we should make a couple of decisions here:
 1. Do we really want to use the checkpatch / have CI reports?
 2. Which of the checkpatch checks we want to disabled for i915?
 3. How strongly do we want to enforce the rest?
 4. Do we want to change what's already in the tree, for compliance?

Recent-ish drm-tip, vanilla checkpatch on i915 reports:
total: 399 errors, 3573 warnings, 209374 lines checked

-- 
Cheers,
Arek


_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2018-03-13 11:38 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-01  9:47 i915 vs checkpatch Arkadiusz Hiler
2018-03-01 10:43 ` Jani Nikula
2018-03-01 11:21   ` Ville Syrjälä
2018-03-02 16:07   ` Jani Nikula
2018-03-01 16:13 ` Jani Nikula
2018-03-01 18:00   ` Rodrigo Vivi
2018-03-02  9:37     ` Joonas Lahtinen
2018-03-02 10:07       ` Jani Nikula
2018-03-01 23:17 ` Chris Wilson
2018-03-05 12:55   ` Arkadiusz Hiler
2018-03-05  8:14 ` Daniel Vetter
2018-03-05 11:10   ` Jani Nikula
2018-03-05 12:44     ` Arkadiusz Hiler
2018-03-13 11:38       ` Jani Nikula

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox