Changeset 566da7f8 in mainline
- Timestamp:
- 2014-04-24T06:47:53Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e36a1c2
- Parents:
- 88a0f58
- Location:
- kernel
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/drivers/kbd.c
r88a0f58 r566da7f8 90 90 size_t size = ((ofw_ebus_reg_t *) prop->value)->size; 91 91 92 uintptr_t pa ;92 uintptr_t pa = 0; // Prevent -Werror=maybe-uninitialized 93 93 if (!ofw_ebus_apply_ranges(node->parent, 94 94 ((ofw_ebus_reg_t *) prop->value), &pa)) { -
kernel/arch/sparc64/src/smp/sun4v/smp.c
r88a0f58 r566da7f8 263 263 while (md_next_child(&it)) { 264 264 md_node_t child = md_get_child_node(it); 265 const char *exec_unit_type ;265 const char *exec_unit_type = ""; 266 266 md_get_string_property(child, "type", &exec_unit_type); 267 267 -
kernel/generic/src/console/cmd.c
r88a0f58 r566da7f8 1149 1149 int cmd_set4(cmd_arg_t *argv) 1150 1150 { 1151 uintptr_t addr ;1151 uintptr_t addr = 0; // Prevent -Werror=maybe-uninitialized 1152 1152 uint32_t arg1 = argv[1].intval; 1153 1153 bool pointer = false; -
kernel/generic/src/mm/as.c
r88a0f58 r566da7f8 1725 1725 ASSERT(count); 1726 1726 1727 btree_node_t *leaf ;1727 btree_node_t *leaf = NULL; 1728 1728 size_t pages = (size_t) btree_search(&area->used_space, page, &leaf); 1729 1729 if (pages) { … … 1733 1733 return false; 1734 1734 } 1735 1736 ASSERT(leaf != NULL); 1735 1737 1736 1738 if (!leaf->keys) { -
kernel/generic/src/mm/frame.c
r88a0f58 r566da7f8 391 391 392 392 /* Allocate frames from zone */ 393 size_t index ;393 size_t index = (size_t) -1; 394 394 int avail = bitmap_allocate_range(&zone->bitmap, count, zone->base, 395 395 FRAME_LOWPRIO, constraint, &index); 396 396 397 397 ASSERT(avail); 398 ASSERT(index != (size_t) -1); 398 399 399 400 /* Update frame reference count */
Note:
See TracChangeset
for help on using the changeset viewer.