Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 294689
b: refs/heads/master
c: 8f0cddd
h: refs/heads/master
i:
  294687: ba17b23
v: v3
  • Loading branch information
Julia Lawall authored and Jesse Barnes committed Feb 14, 2012
1 parent 31abaf8 commit 0512931
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f382a086f3129edc152b8044b69ccc6682e637bb
refs/heads/master: 8f0cdddcd3f270901765fc909c3aee37a2091e78
6 changes: 4 additions & 2 deletions trunk/drivers/pci/hotplug/ibmphp_ebda.c
Original file line number Diff line number Diff line change
Expand Up @@ -368,8 +368,10 @@ int __init ibmphp_access_ebda (void)
debug ("rio blk id: %x\n", blk_id);

rio_table_ptr = kzalloc(sizeof(struct rio_table_hdr), GFP_KERNEL);
if (!rio_table_ptr)
return -ENOMEM;
if (!rio_table_ptr) {
rc = -ENOMEM;
goto out;
}
rio_table_ptr->ver_num = readb (io_mem + offset);
rio_table_ptr->scal_count = readb (io_mem + offset + 1);
rio_table_ptr->riodev_count = readb (io_mem + offset + 2);
Expand Down

0 comments on commit 0512931

Please sign in to comment.