> -----Original Message----- > From: Jani Nikula [mailto:[email protected]] > Sent: Thursday, February 16, 2017 11:45 PM > To: Chauhan, Madhav <[email protected]>; Patchwork > <[email protected]> > Cc: [email protected] > Subject: RE: [Intel-gfx] ✗ Fi.CI.BAT: failure for GLK MIPI DSI VIDEO MODE > PATCHES (rev5) > > On Thu, 16 Feb 2017, "Chauhan, Madhav" <[email protected]> > wrote: > >> -----Original Message----- > >> From: Jani Nikula [mailto:[email protected]] > >> Sent: Thursday, February 16, 2017 8:49 PM > >> To: Patchwork <[email protected]>; Chauhan, Madhav > >> <[email protected]> > >> Cc: [email protected] > >> Subject: Re: [Intel-gfx] ✗ Fi.CI.BAT: failure for GLK MIPI DSI VIDEO > >> MODE PATCHES (rev5) > >> > >> On Tue, 14 Feb 2017, Patchwork <[email protected]> > >> wrote: > >> > drivers/gpu/drm/i915/intel_dsi_pll.c: In function > ‘intel_compute_dsi_pll’: > >> > drivers/gpu/drm/i915/intel_dsi_pll.c:513:45: error: ‘dsi_ratio_max’ > >> > may be > >> used uninitialized in this function [-Werror=maybe-uninitialized] > >> > if (dsi_ratio < dsi_ratio_min || dsi_ratio > dsi_ratio_max) { > >> > ^ > >> > drivers/gpu/drm/i915/intel_dsi_pll.c:492:31: note: ‘dsi_ratio_max’ > >> > was > >> declared here > >> > u8 dsi_ratio, dsi_ratio_min, dsi_ratio_max; > >> > ^ > >> > LD drivers/tty/serial/built-in.o > >> > LD [M] drivers/net/ethernet/intel/e1000/e1000.o > >> > cc1: all warnings being treated as errors > >> > scripts/Makefile.build:294: recipe for target > >> > 'drivers/gpu/drm/i915/intel_dsi_pll.o' failed > >> > make[4]: *** [drivers/gpu/drm/i915/intel_dsi_pll.o] Error 1 > >> > make[4]: *** Waiting for unfinished jobs.... > >> > >> The series didn't get tested because of this. Please update the > >> series and repost, and do remember to add the Reviewed-by tags to the > >> patches I've reviewed so far. > > > > Agree. Surprised to see why I didn’t get this error during compilation > > in my local environment. Used x86_64_defconfig. Any idea ?? > > The CI usees DRM_I915_WERROR=y, among other debug config options.
I had enabled that option while testing but no warning/error. Looks like we need to add "maybe-uninitialized" to Werror lists or something else. > > BR, > Jani. > > > > > >> > >> Thanks, > >> Jani. > >> > >> > >> > >> -- > >> Jani Nikula, Intel Open Source Technology Center > > -- > Jani Nikula, Intel Open Source Technology Center _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
