]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
decnet: Fix compiler warning in dn_dev.c
authorDavid S. Miller <davem@davemloft.net>
Wed, 15 Oct 2008 22:59:50 +0000 (15:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Oct 2008 23:03:02 +0000 (16:03 -0700)
commit8fa0b315fc0c1a414da1371f1fc39523a657c192
tree262c826218a8a0f5d5ad81d418b4b3d14ff874dc
parent22441cfa0c70dcd457f3c081fcf285c3bd155824
decnet: Fix compiler warning in dn_dev.c

Use offsetof() instead of home-brewed version.

Based upon initial patch by Steven Whitehouse and suggestions
by Ben Hutchings.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/decnet/dn_dev.c