fec_mpc52xx: write in C...
authorAl Viro <viro@ftp.linux.org.uk>
Sat, 22 Dec 2007 18:56:53 +0000 (18:56 +0000)
committerJeff Garzik <jeff@garzik.org>
Sun, 23 Dec 2007 03:53:07 +0000 (22:53 -0500)
commitcc154ac64aa8d3396b187f64cef01ce67f433324
treedd112547d2d35d8d2c1d2cc7854619514d9e3169
parentb1e247ad8e4ff29b5c7fa2b9a081b4a0f483b0d3
fec_mpc52xx: write in C...

If you need to find a difference between addresses of two
struct members, subtract offsetof() or cast addresses to
char * and subtract those if you prefer it that way.  Doing
that same with s/char */u32/, OTOH...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/fec_mpc52xx.c