lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<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

Powered by Openwall GNU/*/Linux Powered by OpenVZ