On Thu, Aug 10, 2023 at 12:12 PM Laurent Pinchart
wrote:
>
> Hi Krzysztof,
>
> Thank you for the patch.
>
> On Thu, Aug 10, 2023 at 11:59:22AM +0200, Krzysztof Kozlowski wrote:
> > 'type' is an enum, thus cast of pointer on 64-bit compile test with W=1
> > causes:
> >
> > adv7511_drv.c:1214:19:
Hi Krzysztof,
Thank you for the patch.
On Thu, Aug 10, 2023 at 11:59:22AM +0200, Krzysztof Kozlowski wrote:
> 'type' is an enum, thus cast of pointer on 64-bit compile test with W=1
> causes:
>
> adv7511_drv.c:1214:19: error: cast to smaller integer type 'enum
> adv7511_type' from 'const void
'type' is an enum, thus cast of pointer on 64-bit compile test with W=1
causes:
adv7511_drv.c:1214:19: error: cast to smaller integer type 'enum
adv7511_type' from 'const void *' [-Werror,-Wvoid-pointer-to-enum-cast]
Signed-off-by: Krzysztof Kozlowski
---
drivers/gpu/drm/bridge/adv7511/adv75