Re: [PATCH v9] drm/i915: Modify error handler for per engine hang recovery

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

 



Hi Michel,

[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on v4.12-rc4 next-20170606]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Michel-Thierry/drm-i915-Modify-error-handler-for-per-engine-hang-recovery/20170606-203011
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: i386-randconfig-x078-06041529 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers/gpu/drm/i915/intel_uncore.c: In function 'intel_has_reset_engine':
>> drivers/gpu/drm/i915/intel_uncore.c:1730:14: error: comparison of constant '2' with boolean expression is always false [-Werror=bool-compare]
      i915.reset >= 2);
                 ^~
   cc1: all warnings being treated as errors

vim +/2 +1730 drivers/gpu/drm/i915/intel_uncore.c

  1724	 * engine reset too. For now, fall back to full GPU reset if it is enabled.
  1725	 */
  1726	bool intel_has_reset_engine(struct drm_i915_private *dev_priv)
  1727	{
  1728		return (dev_priv->info.has_reset_engine &&
  1729			!dev_priv->guc.execbuf_client &&
> 1730			i915.reset >= 2);
  1731	}
  1732	
  1733	int intel_guc_reset(struct drm_i915_private *dev_priv)

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://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