X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Futils%2Fcreate_iam.c;h=9d08bc09e525d52e3750aa335233d449266c92d2;hb=00141b1a746d4733c2f52c7a7edec36da4cedcac;hp=dc544d03e2220722438aefb6befe629cdb266d44;hpb=73f3bc50f72fb95cb48a9ccc47cf51c15350400f;p=fs%2Flustre-release.git diff --git a/lustre/utils/create_iam.c b/lustre/utils/create_iam.c index dc544d0..9d08bc0 100644 --- a/lustre/utils/create_iam.c +++ b/lustre/utils/create_iam.c @@ -115,7 +115,7 @@ enum { ({ \ typeof(val) __val = (val); \ \ - CLASSERT(sizeof(val) == sizeof(*(dst))); \ + BUILD_BUG_ON(sizeof(val) != sizeof(*(dst))); \ memcpy(dst, &__val, sizeof(*(dst))); \ })