2017-11-23 07:42:10

by Nick Desaulniers

[permalink] [raw]
Subject: enum conversion warnings

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?

From 1586538582005358359@xxx Tue Dec 12 01:11:37 +0000 2017
X-GM-THRID: 1585622314389788808
X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread