mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* enum conversion warnings
@ 2017-11-23  7:41 Nick Desaulniers
  2017-11-23  7:50 ` [PATCH] drm/i915: Avoid enum conversion warning Nick Desaulniers
  0 siblings, 1 reply; 5+ messages in thread
From: Nick Desaulniers @ 2017-11-23  7:41 UTC (permalink / raw)
  To: rodrigo.vivi
  Cc: mika.kahola, paulo.r.zanoni, Matthias Kaehlcke,
	Linux Kernel Mailing List

pulling down tot, I'm seeing:

  CC [M]  drivers/gpu/drm/i915/intel_ddi.o
drivers/gpu/drm/i915/intel_ddi.c:1481:30: error: implicit conversion
from enumeration type 'enum port' to different enumeration type 'enum
intel_dpll_id' [-Werror,-Wenum-conversion]
        enum intel_dpll_id pll_id = port;
                           ~~~~~~   ^~~~

seems to be coming from commit 2952cd6fb4cc9 "drm/i915: Let's use more
enum intel_dpll_id pll_id."

That commit seems to be using enums instead of uints.  I think maybe
the final 2 hunks of that patch should be reverted?

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

end of thread, other threads:[~2017-11-27 10:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-23  7:41 enum conversion warnings Nick Desaulniers
2017-11-23  7:50 ` [PATCH] drm/i915: Avoid enum conversion warning Nick Desaulniers
2017-11-23  7:59   ` [Intel-gfx] " Daniel Vetter
2017-11-27  3:49     ` [PATCH v2] " Nick Desaulniers
2017-11-27 10:21       ` Daniel Vetter

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

all inboxes | Powered by JetHome®