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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <511460B7.4030007@linux.intel.com>
Date:	Thu, 07 Feb 2013 18:19:35 -0800
From:	"H. Peter Anvin" <hpa@...ux.intel.com>
To:	kbuild test robot <fengguang.wu@...el.com>
CC:	Ville Syrjälä <ville.syrjala@...ux.intel.com>,
	Russell King <rmk+kernel@....linux.org.uk>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: sound/pci/asihpi/hpioctl.c:125:6: warning: cast to pointer from
 integer of different size

On 02/07/2013 03:45 PM, kbuild test robot wrote:
> tree:   git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/mm
> head:   6fcddf474ae1c8e2fb5f14c850c8aa018e7a5034
> commit: 6fcddf474ae1c8e2fb5f14c850c8aa018e7a5034 x86-32: Add support for 64bit get_user()
> date:   2 hours ago
> config: make ARCH=i386 allmodconfig
> 
> All warnings:
> 
>    sound/pci/asihpi/hpioctl.c: In function 'asihpi_hpi_ioctl':
>>> sound/pci/asihpi/hpioctl.c:125:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
>>> sound/pci/asihpi/hpioctl.c:126:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
> --
>    net/atm/resources.c: In function 'atm_dev_ioctl':
>>> net/atm/resources.c:223:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
>>> net/atm/resources.c:274:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
> --

[... and so on ...]

Now I remember this problem.  I believe I discussed it with rmk in the
context of ARM, too.  Russell, did we ever find any way to implement
8-byte get_user() on 32 bits without massive warning spewage?

	-hpa


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ