lib: logging: change warnings from BT_LOGE to BT_LOGW
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 13 Feb 2018 23:39:28 +0000 (18:39 -0500)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 2 May 2019 03:32:03 +0000 (23:32 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
lib/ctf-ir/field-types.c

index feb7a62bc506db5b59fa526a6d824314677f1df0..62f2412b5b81bc4ab99296d71eb49198395d762c 100644 (file)
@@ -1273,7 +1273,7 @@ bt_field_type_enumeration_find_mappings_by_name(
        iter = bt_field_type_enumeration_find_mappings_type(
                        type, ITERATOR_BY_NAME);
        if (!iter) {
-               BT_LOGE("Cannot create enumeration field type mapping iterator: "
+               BT_LOGW("Cannot create enumeration field type mapping iterator: "
                        "ft-addr=%p, mapping-name=\"%s\"", type, name);
                goto error;
        }
@@ -1362,7 +1362,7 @@ bt_field_type_enumeration_find_mappings_by_signed_value(
        iter = bt_field_type_enumeration_find_mappings_type(
                        type, ITERATOR_BY_SIGNED_VALUE);
        if (!iter) {
-               BT_LOGE("Cannot create enumeration field type mapping iterator: "
+               BT_LOGW("Cannot create enumeration field type mapping iterator: "
                        "ft-addr=%p, value=%" PRId64, type, value);
                goto error;
        }
@@ -1391,7 +1391,7 @@ bt_field_type_enumeration_find_mappings_by_unsigned_value(
        iter = bt_field_type_enumeration_find_mappings_type(
                        type, ITERATOR_BY_UNSIGNED_VALUE);
        if (!iter) {
-               BT_LOGE("Cannot create enumeration field type mapping iterator: "
+               BT_LOGW("Cannot create enumeration field type mapping iterator: "
                        "ft-addr=%p, value=%" PRIu64, type, value);
                goto error;
        }
@@ -2496,7 +2496,7 @@ struct bt_field_type *bt_field_type_variant_get_field_type_from_tag(
        iter = bt_field_enumeration_get_mappings(tag);
        ret = bt_field_type_enumeration_mapping_iterator_next(iter);
        if (!iter || ret) {
-               BT_LOGE("Cannot get enumeration field type mapping iterator from enumeration field: "
+               BT_LOGW("Cannot get enumeration field type mapping iterator from enumeration field: "
                        "enum-field-addr=%p", tag);
                goto end;
        }
This page took 0.027027 seconds and 4 git commands to generate.