]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - lib/ubsan.h
vsprintf: avoid misleading "(null)" for %px
[mirror_ubuntu-bionic-kernel.git] / lib / ubsan.h
index 88f23557edbe16d5a60d691591d4e1981437f7d7..7e30b26497e0cd0e2d7c055222349eac5d228a84 100644 (file)
@@ -37,6 +37,20 @@ struct type_mismatch_data {
        unsigned char type_check_kind;
 };
 
+struct type_mismatch_data_v1 {
+       struct source_location location;
+       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_arg_data {
        struct source_location location;
        struct source_location attr_location;