Re: [PATCH 2/2] drm/i915: Return a drm_mode_status enum in the mode_valid vfuncs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 28, 2013 at 04:49:52PM +0100, Daniel Vetter wrote:
> On Thu, Nov 28, 2013 at 03:29:18PM +0000, Damien Lespiau wrote:
> > We had some mode_valid() vfuncs returning an int, others the enum. Let's
> > use the latter everywhere.
> > 
> > Signed-off-by: Damien Lespiau <damien.lespiau@xxxxxxxxx>
> 
> Yeah, makes sense. Queued for -next, thanks for the patch.
> 
> -Daniel
> > ---
> >  drivers/gpu/drm/i915/intel_crt.c  | 5 +++--
> >  drivers/gpu/drm/i915/intel_dp.c   | 2 +-
> >  drivers/gpu/drm/i915/intel_dsi.c  | 5 +++--
> >  drivers/gpu/drm/i915/intel_dvo.c  | 5 +++--
> >  drivers/gpu/drm/i915/intel_hdmi.c | 5 +++--
> >  drivers/gpu/drm/i915/intel_lvds.c | 5 +++--
> >  drivers/gpu/drm/i915/intel_sdvo.c | 5 +++--
> >  7 files changed, 19 insertions(+), 13 deletions(-)

Shouldn't you be updating all other drivers as well? GCC doesn't seem to
complain about it, but it's still an inconsistency.

Thierry

Attachment: pgpS7NFklAlpV.pgp
Description: PGP signature

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

[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux