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  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Mon, 06 Jan 2020 13:30:19 -0800 (PST)
From:   David Miller <>
Subject: Re: [PATCH] net: wan: sdla: Fix cast from pointer to integer of
 different size

From: Krzysztof Kozlowski <>
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 <>


Powered by blists - more mailing lists