Replace of FIELD_SIZEOF() with sizeof_field().
Change-Id: I6647be8fa77ca24bfa3b8d1ed57e8fc6a5a4c98a
Fixes:
c593642c8be0 ("treewide: Use sizeof_field() macro")
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
#include <linux/dcache.h>
#include <linux/ioctl.h>
+#include <linux/stddef.h>
#include <uapi/linux/kdbus.h>
({ \
u64 __user *_sz = \
(void __user *)((u8 __user *)(_b) + offsetof(_t, _m)); \
- copy_to_user(_sz, _s, FIELD_SIZEOF(_t, _m)); \
+ copy_to_user(_sz, _s, sizeof_field(_t, _m)); \
})
/**