]> rtime.felk.cvut.cz Git - socketcan-devel.git/commit
Swapped the parameters inside the modifier attribute to have the aligned
authorhartkopp <hartkopp@030b6a49-0b11-0410-94ab-b0dab22257f2>
Fri, 19 Feb 2010 05:12:49 +0000 (05:12 +0000)
committerhartkopp <hartkopp@030b6a49-0b11-0410-94ab-b0dab22257f2>
Fri, 19 Feb 2010 05:12:49 +0000 (05:12 +0000)
commitfbc2459bef44d10a1bd7481d53cf65d799bd37cf
treecd89611cf4bf86376d84d95a730866b910e94bb6
parent83be9721dfaa72547263c05b6c9104455594acb2
Swapped the parameters inside the modifier attribute to have the aligned
struct can_frame the first parameter. This allows the usage of 'packed'
structs in userspace with an aligned access to the CAN frame structures.

git-svn-id: svn://svn.berlios.de//socketcan/trunk@1129 030b6a49-0b11-0410-94ab-b0dab22257f2
kernel/2.6/include/socketcan/can/gw.h
kernel/2.6/net/can/gw.c
test/gwtest.c