Skip to contentSkip to conversation

Staging: lustre: Remove int typecast of offsetof().

PATCH New Sandhya Bankar 1 participant 1 message Feb 28, 2016

lore
Share & tools
lore
#0 lore raw

cover 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)

Sandhya Bankar (2):
Staging: lustre: Remove int typecast of offsetof().
Staging: lustre: lnet: Remove int typecast of offsetof().

 .../staging/lustre/lnet/klnds/socklnd/socklnd.h    |  2 +-
 drivers/staging/lustre/lnet/lnet/api-ni.c          | 54 +++++++++++-----------
 2 files changed, 28 insertions(+), 28 deletions(-)
Signature · 1 line
1.8.3.4