Merge tag 'powerpc-4.16-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc...
[linux-2.6-microblaze.git] / lib / ubsan.h
index 88f2355..f4d8d0b 100644 (file)
@@ -37,15 +37,24 @@ struct type_mismatch_data {
        unsigned char type_check_kind;
 };
 
-struct nonnull_arg_data {
+struct type_mismatch_data_v1 {
        struct source_location location;
-       struct source_location attr_location;
-       int arg_index;
+       struct type_descriptor *type;
+       unsigned char log_alignment;
+       unsigned char type_check_kind;
+};
+
+struct type_mismatch_data_common {
+       struct source_location *location;
+       struct type_descriptor *type;
+       unsigned long alignment;
+       unsigned char type_check_kind;
 };
 
-struct nonnull_return_data {
+struct nonnull_arg_data {
        struct source_location location;
        struct source_location attr_location;
+       int arg_index;
 };
 
 struct vla_bound_data {