Re: [lustre-devel] [PATCH RESEND v2] Staging: lustre cleanup macros in libcfs_private.h

2017-04-18 Thread Dilger, Andreas
On Apr 13, 2017, at 03:24, Craig Inches wrote: > > This resolves a checkpatch warning that "Single statement macros should > not use a do {} while (0) loop" by removing the loop and adjusting line > length accordingly. > > Signed-off-by: Craig Inches I don't think there was any particular reas

Re: [PATCH RESEND v2] Staging: lustre cleanup macros in libcfs_private.h

2017-04-14 Thread Greg KH
On Thu, Apr 13, 2017 at 10:24:41AM +0100, Craig Inches wrote: > This resolves a checkpatch warning that "Single statement macros should > not use a do {} while (0) loop" by removing the loop and adjusting line > length accordingly. > > Signed-off-by: Craig Inches > --- > Changes in v2: > - Ke

[PATCH RESEND v2] Staging: lustre cleanup macros in libcfs_private.h

2017-04-13 Thread Craig Inches
This resolves a checkpatch warning that "Single statement macros should not use a do {} while (0) loop" by removing the loop and adjusting line length accordingly. Signed-off-by: Craig Inches --- Changes in v2: - Kept statements together - Kept operator on previous line .../lustre/inclu