Skip to content

Commit

Permalink
[SPARC64]: Missing 'return' statement in sun4v_pci_init().
Browse files Browse the repository at this point in the history
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Mar 20, 2006
1 parent c260926 commit 0b52249
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions arch/sparc64/kernel/pci_sun4v.c
Original file line number Diff line number Diff line change
Expand Up @@ -916,8 +916,10 @@ void sun4v_pci_init(int node, char *model_name)
&p->pbm_A :
&p->pbm_B);

if (pbm->devhandle == (devhandle ^ 0x40))
if (pbm->devhandle == (devhandle ^ 0x40)) {
pci_sun4v_pbm_init(p, node, devhandle);
return;
}
}

p = kmalloc(sizeof(struct pci_controller_info), GFP_ATOMIC);
Expand Down Expand Up @@ -961,7 +963,4 @@ void sun4v_pci_init(int node, char *model_name)
pci_memspace_mask = 0x7fffffffUL;

pci_sun4v_pbm_init(p, node, devhandle);

prom_printf("sun4v_pci_init: Implement me.\n");
prom_halt();
}

0 comments on commit 0b52249

Please sign in to comment.