linux_dsm_epyc7002/drivers/net/wireless
Pavel Roskin b15eff2632 [PATCH] hostap update
Warning fix for 64-bit platforms

Hello!

The patch fixes following warning seen on 64-bit platforms (in my case -
x86_64, gcc-4.0):

In file included from /usr/local/src/hostap/driver/modules/hostap_cs.c:203:
/usr/local/src/hostap/driver/modules/hostap_hw.c: In function ?prism2_transmit_cb?:
/usr/local/src/hostap/driver/modules/hostap_hw.c:1674: warning: cast from pointer to integer of different size
/usr/local/src/hostap/driver/modules/hostap_hw.c: In function ?prism2_transmit?:
/usr/local/src/hostap/driver/modules/hostap_hw.c:1758: warning: cast to pointer from integer of different size

prism2_transmit_cb uses a (void *) argument to get an integer.   A
simple fix would be to use double cast from pointer to long and then to
int (and vice versa when int is passed as a pointer).  But I prefer a
slightly longer patch.

I believe that whenever an argument can hold both a pointer and an
integer, it should be declared long.  long can hold both pointers and
integers (except win64, but we are not coding for Windows), it can be
cast to both of them and it's never assumed to be a valid pointer, which
could be useful for some automatic code checkers.

Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Jouni Malinen <jkmaline@cc.hut.fi>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
2005-07-30 18:17:23 -04:00
..
hostap [PATCH] hostap update 2005-07-30 18:17:23 -04:00
prism54 [PATCH] uninitialized variable in prism54 isl38xx_trigger_device 2005-06-27 00:44:48 -04:00
airo_cs.c [PATCH] pcmcia: remove references to pcmcia/version.h 2005-07-07 18:24:07 -07:00
airo.c /spare/repo/netdev-2.6 branch 'ieee80211' 2005-07-30 18:14:50 -04:00
airport.c [PATCH] openfirmware: generate device table for userspace 2005-07-06 12:55:20 -07:00
arlan-main.c [PATCH] arlan: module parameter fixes 2005-06-26 18:16:13 -04:00
arlan-proc.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
arlan.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
atmel_cs.c [PATCH] pcmcia: remove references to pcmcia/version.h 2005-07-07 18:24:07 -07:00
atmel_pci.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
atmel.c [NET] ieee80211 subsystem 2005-05-12 22:48:20 -04:00
atmel.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hermes_rid.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hermes.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hermes.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
i82586.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
i82593.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ipw2100.c [PATCH] wireless-device-attr-fixes 2005-06-27 23:37:29 -04:00
ipw2100.h [PATCH] ipw2100: kill dead macros 2005-06-27 23:26:30 -04:00
ipw2200.c wireless: fix ipw warning; add is_broadcast_ether_addr() to linux/etherdevice.h 2005-06-28 01:46:35 -04:00
ipw2200.h Add ipw2200 wireless driver. 2005-05-27 21:59:35 -04:00
Kconfig Merge /spare/repo/netdev-2.6 branch 'ieee80211' 2005-06-27 23:45:25 -04:00
Makefile Automatic merge of /spare/repo/netdev-2.6 branch we18-ieee80211 2005-05-27 22:02:58 -04:00
netwave_cs.c [PATCH] pcmcia: remove references to pcmcia/version.h 2005-07-07 18:24:07 -07:00
orinoco_cs.c [PATCH] pcmcia: remove duplicates in orinoco_cs 2005-07-28 08:39:00 -07:00
orinoco_pci.c [PATCH] u32 vs. pm_message_t fixes for drivers/net 2005-04-16 15:25:25 -07:00
orinoco_plx.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
orinoco_tmd.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
orinoco.c Merge upstream ieee80211.h with us (us == branch 'ieee80211' of netdev-2.6) 2005-06-27 22:03:52 -04:00
orinoco.h wireless/orinoco: remove changelog, bump version 2005-06-27 00:27:07 -04:00
ray_cs.c [PATCH] pcmcia: remove references to pcmcia/version.h 2005-07-07 18:24:07 -07:00
ray_cs.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
rayctl.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
README Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
strip.c Merge /spare/repo/netdev-2.6/ branch 'ieee80211' 2005-06-26 23:42:30 -04:00
todo.txt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
wavelan_cs.c Merge /spare/repo/netdev-2.6 branch 'ieee80211' 2005-07-13 19:11:44 -04:00
wavelan_cs.h Add HostAP wireless driver. 2005-05-12 22:54:16 -04:00
wavelan_cs.p.h Merge /spare/repo/netdev-2.6 branch 'ieee80211' 2005-07-13 19:11:44 -04:00
wavelan.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
wavelan.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
wavelan.p.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
wl3501_cs.c Merge /spare/repo/netdev-2.6 branch 'ieee80211' 2005-07-13 19:11:44 -04:00
wl3501.h [NET] ieee80211 subsystem 2005-05-12 22:48:20 -04:00

	README
	------

	This directory is mostly for Wireless LAN drivers, in their
various incarnations (ISA, PCI, Pcmcia...).
	This separate directory is needed because a lot of driver work
on different bus (typically PCI + Pcmcia) and share 95% of the
code. This allow the code and the config options to be in one single
place instead of scattered all over the driver tree, which is never
100% satisfactory.

	Note : if you want more info on the topic of Wireless LANs,
you are kindly invited to have a look at the Wireless Howto :
		http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/
	Some Wireless LAN drivers, like orinoco_cs, require the use of
Wireless Tools to be configured :
		http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html

	Special notes for distribution maintainers :
	1) wvlan_cs will be discontinued soon in favor of orinoco_cs
	2) Please add Wireless Tools support in your scripts

	Have fun...

	Jean