]> git.hungrycats.org Git - linux/commit
[AF_PACKET]: Use void * for virtual addresses.
authorDave Hansen <haveblue@us.ibm.com>
Fri, 27 Aug 2004 09:35:06 +0000 (02:35 -0700)
committerDavid S. Miller <davem@nuts.davemloft.net>
Fri, 27 Aug 2004 09:35:06 +0000 (02:35 -0700)
commit838567427e14e9003578623151ab0e6af0265b4c
tree4a940ab0914a5c475ff81917cc0355ac008a3ac9
parenta2a1d0f18cfdd0e62f8aa75477bae78a8cd822d2
[AF_PACKET]: Use void * for virtual addresses.

I've been auditing code, cleaning up warning where code passes
unsigned long's to functions and macros that really take pointers.

Here's some explanation as to why I think these types were coded up
this way originally:
http://marc.theaimsgroup.com/?l=linux-mm&m=109155379124628&w=2

The attached patch make packet_opt->pg_vec a pointer to an array of
char*'s instead of a pointer to an array of unsigned
net/packet/af_packet.c