Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73323
b: refs/heads/master
c: aca71ef
h: refs/heads/master
i:
  73321: 86ea4d3
  73319: b4bd0ad
v: v3
  • Loading branch information
Li Zefan authored and Paul Mackerras committed Nov 8, 2007
1 parent 9185e46 commit 5ff9eaa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: e95c91821fa56b489d7beb74103a419466c5ec10
refs/heads/master: aca71ef8827d11de243e30f170cfc126376803b4
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/kernel/prom_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -1244,7 +1244,7 @@ static void __init prom_initialize_tce_table(void)
local_alloc_bottom = base;

/* It seems OF doesn't null-terminate the path :-( */
memset(path, 0, sizeof(path));
memset(path, 0, PROM_SCRATCH_SIZE);
/* Call OF to setup the TCE hardware */
if (call_prom("package-to-path", 3, 1, node,
path, PROM_SCRATCH_SIZE-1) == PROM_ERROR) {
Expand Down

0 comments on commit 5ff9eaa

Please sign in to comment.