All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/gpu/drm/i915/intel_pm.c:4467: bad comparison ?
@ 2017-07-17  7:46 David Binderman
  2017-07-17  9:52 ` Jani Nikula
  0 siblings, 1 reply; 5+ messages in thread
From: David Binderman @ 2017-07-17  7:46 UTC (permalink / raw)
  To: daniel.vetter@intel.com, jani.nikula@linux.intel.com,
	airlied@linux.ie, intel-gfx@lists.freedesktop.org,
	dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org


Hello there,

drivers/gpu/drm/i915/intel_pm.c:4467]: (warning) Comparison of a boolean expression with an integer other than 0 or 1.

Source code is

        else if ((ddb_allocation && ddb_allocation /
            fixed_16_16_to_u32_round_up(plane_blocks_per_line)) >= 1)

Regards

David Binderman
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

end of thread, other threads:[~2017-07-17 10:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-17  7:46 drivers/gpu/drm/i915/intel_pm.c:4467: bad comparison ? David Binderman
2017-07-17  9:52 ` Jani Nikula
2017-07-17 10:32   ` Mahesh Kumar
2017-07-17 10:31     ` Maarten Lankhorst
2017-07-17 10:40       ` Mahesh Kumar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.