]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: lustre: Remove int typecast of offsetof().
authorSandhya Bankar <bankarsandhya512@gmail.com>
Sun, 28 Feb 2016 09:16:56 +0000 (14:46 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 Mar 2016 03:38:34 +0000 (19:38 -0800)
commitb81340738a102d2b15371dd0ba25c5919330168e
treea60b75f91db29bf0ad154e10fa5141d0f810e2fb
parent92e6e878ffca78bb6de4ce91b1ab65394611d682
Staging: lustre: Remove int typecast of offsetof().

Remove int typecast of offsetof().
As per below coccinelle rule:

@@
type T;
expression E;
@@
- (int)(offsetof(T,E))
+ offsetof(T,E)

Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/klnds/socklnd/socklnd.h