2023-11-29 14:07:36

by Andy Shevchenko

[permalink] [raw]
Subject: [PATCH v1 1/1] drm/i915/display: Don't use "proxy" headers

The driver uses math.h and not util_macros.h.

Signed-off-by: Andy Shevchenko <[email protected]>
---
drivers/gpu/drm/i915/display/intel_snps_phy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/display/intel_snps_phy.c b/drivers/gpu/drm/i915/display/intel_snps_phy.c
index ce5a73a4cc89..bc61e736f9b3 100644
--- a/drivers/gpu/drm/i915/display/intel_snps_phy.c
+++ b/drivers/gpu/drm/i915/display/intel_snps_phy.c
@@ -3,7 +3,7 @@
* Copyright © 2019 Intel Corporation
*/

-#include <linux/util_macros.h>
+#include <linux/math.h>

#include "i915_reg.h"
#include "intel_ddi.h"
--
2.43.0.rc1.1.gbec44491f096


2023-11-29 17:24:36

by Jani Nikula

[permalink] [raw]
Subject: Re: [PATCH v1 1/1] drm/i915/display: Don't use "proxy" headers

On Wed, 29 Nov 2023, Andy Shevchenko <[email protected]> wrote:
> The driver uses math.h and not util_macros.h.
>
> Signed-off-by: Andy Shevchenko <[email protected]>

Reviewed-by: Jani Nikula <[email protected]>

> ---
> drivers/gpu/drm/i915/display/intel_snps_phy.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_snps_phy.c b/drivers/gpu/drm/i915/display/intel_snps_phy.c
> index ce5a73a4cc89..bc61e736f9b3 100644
> --- a/drivers/gpu/drm/i915/display/intel_snps_phy.c
> +++ b/drivers/gpu/drm/i915/display/intel_snps_phy.c
> @@ -3,7 +3,7 @@
> * Copyright © 2019 Intel Corporation
> */
>
> -#include <linux/util_macros.h>
> +#include <linux/math.h>
>
> #include "i915_reg.h"
> #include "intel_ddi.h"

--
Jani Nikula, Intel

2023-12-04 10:16:00

by Jani Nikula

[permalink] [raw]
Subject: Re: [PATCH v1 1/1] drm/i915/display: Don't use "proxy" headers

On Wed, 29 Nov 2023, Andy Shevchenko <[email protected]> wrote:
> The driver uses math.h and not util_macros.h.
>
> Signed-off-by: Andy Shevchenko <[email protected]>

Thanks, pushed to drm-intel-next.

BR,
Jani.

> ---
> drivers/gpu/drm/i915/display/intel_snps_phy.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_snps_phy.c b/drivers/gpu/drm/i915/display/intel_snps_phy.c
> index ce5a73a4cc89..bc61e736f9b3 100644
> --- a/drivers/gpu/drm/i915/display/intel_snps_phy.c
> +++ b/drivers/gpu/drm/i915/display/intel_snps_phy.c
> @@ -3,7 +3,7 @@
> * Copyright © 2019 Intel Corporation
> */
>
> -#include <linux/util_macros.h>
> +#include <linux/math.h>
>
> #include "i915_reg.h"
> #include "intel_ddi.h"

--
Jani Nikula, Intel