Re: [PATCH 2/8] staging/lustre/ldlm: Correct itree_overlap_cb return type
> As per interval_search() prototype, the callback should return > enum, not int. > This fixes correspondign sparse warning. > > Signed-off-by: Oleg DrokinReviewed-by: James Simmons > --- > drivers/staging/lustre/lustre/ldlm/ldlm_lock.c | 2 +-
Re: [PATCH 2/8] staging/lustre/ldlm: Correct itree_overlap_cb return type
> As per interval_search() prototype, the callback should return > enum, not int. > This fixes correspondign sparse warning. > > Signed-off-by: Oleg DrokinReviewed-by: James Simmons > --- > drivers/staging/lustre/lustre/ldlm/ldlm_lock.c | 2 +-