Hi, this is a second version of the patchset aimed to clean up some old macros from xfsprogs, as the objective to bring xfs_buf handling code closer to kernel code. It fixes some pointer castings Dave mentioned on the V1 patch, also, it removes a few unneeded castings I spotted while reviewing the ones Dave mentioned. Cheers Carlos Maiolino (4): Get rid of XFS_BUF_PTR() macro Get rid of XFS_BUF_TARGET() macro get rid of XFS_BUF_COUNT() macro Get rid of XFS_BUF_SET_COUNT() macro libxfs/libxfs_io.h | 6 +----- libxfs/logitem.c | 2 +- libxfs/rdwr.c | 10 +++++----- libxfs/trans.c | 2 +- libxlog/xfs_log_recover.c | 2 +- logprint/log_print_all.c | 4 ++-- mkfs/proto.c | 8 ++++---- mkfs/xfs_mkfs.c | 14 +++++++------- repair/agheader.c | 8 ++++---- repair/attr_repair.c | 4 ++-- repair/dino_chunks.c | 2 +- repair/phase6.c | 4 ++-- repair/prefetch.c | 4 ++-- 13 files changed, 33 insertions(+), 37 deletions(-) -- 2.14.3 -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html