⬢ DragonFlyBSD Kernel Audit
DF-4999 / fix.diff
← back to finding ↓ download raw
--- a/sys/dev/drm/amd/display/dc/dm_services.h	2026-09-25 17:51:12.658871584 +0000
+++ b/sys/dev/drm/amd/display/dc/dm_services.h	2026-09-25 17:51:12.670871430 +0000
@@ -151,8 +151,8 @@
  * return number of poll before condition is met
  * return 0 if condition is not meet after specified time out tries
  */
-unsigned int generic_reg_wait(const struct dc_context *ctx,
-	uint32_t addr, uint32_t mask, uint32_t shift, uint32_t condition_value,
+uint32_t generic_reg_wait(const struct dc_context *ctx,
+	uint32_t addr, uint32_t shift, uint32_t mask, uint32_t condition_value,
 	unsigned int delay_between_poll_us, unsigned int time_out_num_tries,
 	const char *func_name, int line);