aboutsummaryrefslogtreecommitdiff
path: root/fs/jbd/commit.c
diff options
context:
space:
mode:
authorJiri Slaby <[email protected]>2009-11-04 08:28:12 -0800
committerDavid S. Miller <[email protected]>2009-11-04 08:28:12 -0800
commit1ea70841f07666af69e481d4ffdd6edb56db3c92 (patch)
tree13ce5927c8c752a279e811ec68d504246a33835e /fs/jbd/commit.c
parent08cb3f60b2f866c906a5a779444b30ba8f9a93c8 (diff)
isdn: eicon: Use offsetof
Use offsetof instead of explicit implementation. * fixes bug with omitted & like: len = (byte)(((T30_INFO *) 0)->station_id + 20) * avoids compiler warnings with wrong sizes (pointer-to-char cast): len = (byte)(&(((T30_INFO *) 0)->universal_6)); * cleans up the code Signed-off-by: Jiri Slaby <[email protected]> Cc: Karsten Keil <[email protected]> Acked-by: Armin Schindler <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions