ClangBuiltLinux/linux

__write_overflow_field in drivers/crypto/marvell/cesa/cipher.c

nickdesaulniers opened this issue · 2 comments

In file included from drivers/crypto/marvell/cesa/cipher.c:12:
In file included from ./include/crypto/aes.h:10:
In file included from ./include/linux/crypto.h:15:
In file included from ./include/linux/completion.h:12:
In file included from ./include/linux/swait.h:7:
In file included from ./include/linux/spinlock.h:63:
In file included from ./include/linux/lockdep.h:14:
In file included from ./include/linux/smp.h:13:
In file included from ./include/linux/cpumask.h:12:
In file included from ./include/linux/bitmap.h:11:
In file included from ./include/linux/string.h:254:
./include/linux/fortify-string.h:583:4: error: call to '__write_overflow_field' declared with 'warning' attribute: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror,-Wattribute-warning]
                        __write_overflow_field(p_size_field, size);
                        ^