[PATCH v2 0/2] Improve type-safety on POWER_DOMAIN_*() macros
Gustavo Sousa
gustavo.sousa at intel.com
Wed Feb 12 17:43:15 UTC 2025
Fix one issue[1] reported by the kernel test robot and also take this
opportunity to improve POWER_DOMAIN_*() macros by making them explicitly
return the expected enum type.
[1] https://lore.kernel.org/oe-kbuild-all/202502120809.XfmcqkBD-lkp@intel.com/
Gustavo Sousa (2):
drm/i915/display: Use explicit cast in POWER_DOMAIN_*() macros
drm/i915/display: Make POWER_DOMAIN_*() always result in enum
intel_display_power_domain
drivers/gpu/drm/i915/display/intel_display_power.h | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
--
2.48.1
More information about the Intel-xe
mailing list