All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paulo Zanoni <paulo.r.zanoni@intel.com>
To: Jani Nikula <jani.nikula@intel.com>,
	Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: ✗ Fi.CI.CHECKPATCH: warning for series starting with [CI,1/2] drm/i915/icl: Add allowed DP rates for Icelake
Date: Wed, 13 Jun 2018 09:59:10 -0700	[thread overview]
Message-ID: <1528909150.2597.5.camel@intel.com> (raw)
In-Reply-To: <87h8m71543.fsf@intel.com>

Em Qua, 2018-06-13 às 11:07 +0300, Jani Nikula escreveu:
> On Tue, 12 Jun 2018, Rodrigo Vivi <rodrigo.vivi@intel.com> wrote:
> > Do we really want BIT everywhere?!
> 
> I think I'd go for everywhere except part of a register field value:
> 

While I completely agree with your reasoning, this means we'll kinda
always want to blacklist the BIT_MACRO checkpath type because
checkpatch won't know about these exceptions, which means we won't
actually need to convert everything to BIT() since no false negative
emails anyway.

Anyway, I submitted a patch to fix the spacing issues, I'd love to have
some comments from the maintainers on it.

Thanks,
Paulo

> #define SINGLE_BIT_OKAY		BIT(25)
> #define FIELD_SHIFT		20
> #define FIELD_MASK		(0xf << 20)
> #define FIELD_FOO_PLEASE_NO	BIT(20)		/* Don't do
> this */
> #define FIELD_FOO		(1 << 20)	/* This is
> consistent */
> #define FIELD_BAR		(2 << 20)
> #define FIELD_BAZ		(3 << 20)
> 
> 
> BR,
> Jani.
> 
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2018-06-13 16:59 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-11 22:26 [CI 1/2] drm/i915/icl: Add allowed DP rates for Icelake Paulo Zanoni
2018-06-11 22:26 ` [CI 2/2] drm/i915/dp: Add support for HBR3 and TPS4 during link training Paulo Zanoni
2018-06-11 22:35 ` ✗ Fi.CI.CHECKPATCH: warning for series starting with [CI,1/2] drm/i915/icl: Add allowed DP rates for Icelake Patchwork
2018-06-12  0:20   ` Paulo Zanoni
2018-06-12  8:46     ` Jani Nikula
2018-06-12 21:52       ` Rodrigo Vivi
2018-06-13  8:07         ` Jani Nikula
2018-06-13 16:59           ` Paulo Zanoni [this message]
2018-06-11 22:55 ` ✓ Fi.CI.BAT: success " Patchwork
2018-06-12  4:50 ` ✓ Fi.CI.IGT: " Patchwork
2018-06-12 12:15 ` [CI 1/2] " Ville Syrjälä
2018-06-12 18:37   ` Manasi Navare
2018-06-13 19:42     ` Paulo Zanoni
2018-06-13 20:15       ` Manasi Navare
2018-06-13 20:31         ` Paulo Zanoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1528909150.2597.5.camel@intel.com \
    --to=paulo.r.zanoni@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jani.nikula@intel.com \
    --cc=rodrigo.vivi@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.