Re: [PATCH 1/2] ide: ht6560b: Fix cast to pointer from integer of different size

From: David Miller
Date: Mon Jan 20 2020 - 08:40:06 EST


From: Krzysztof Kozlowski <krzk@xxxxxxxxxx>
Date: Sat, 4 Jan 2020 15:33:47 +0100

> Integer passed as pointer to drvdata should be cast to unsigned long to
> avoid warning (compile testing on alpha architecture):
>
> drivers/ide/ht6560b.c: In function ʽht6560b_init_devʼ:
> drivers/ide/ht6560b.c:318:27: warning:
> cast to pointer from integer of different size [-Wint-to-pointer-cast]
>
> Signed-off-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx>

Applied.