[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200106.133019.1552234323489676036.davem@redhat.com>
Date: Mon, 06 Jan 2020 13:30:19 -0800 (PST)
From: David Miller <davem@...hat.com>
To: krzk@...nel.org
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: wan: sdla: Fix cast from pointer to integer of
different size
From: Krzysztof Kozlowski <krzk@...nel.org>
Date: Sat, 4 Jan 2020 15:31:43 +0100
> Since net_device.mem_start is unsigned long, it should not be cast to
> int right before casting to pointer. This fixes warning (compile
> testing on alpha architecture):
>
> drivers/net/wan/sdla.c: In function ‘sdla_transmit’:
> drivers/net/wan/sdla.c:711:13: warning:
> cast to pointer from integer of different size [-Wint-to-pointer-cast]
>
> Signed-off-by: Krzysztof Kozlowski <krzk@...nel.org>
Applied.
Powered by blists - more mailing lists