Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 366285
b: refs/heads/master
c: 6e51c9f
h: refs/heads/master
i:
  366283: aa879ff
v: v3
  • Loading branch information
Zhang Yanfei authored and Jiri Kosina committed Mar 18, 2013
1 parent dffe81c commit 42ce80a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 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: 9624e347551c1e0de1795cb8ca1a0600311d8bae
refs/heads/master: 6e51c9ff6a5f37c4baf3dfab579e8aed33b8f427
3 changes: 1 addition & 2 deletions trunk/arch/powerpc/kernel/nvram_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -511,8 +511,7 @@ int __init nvram_scan_partitions(void)
"detected: 0-length partition\n");
goto out;
}
tmp_part = (struct nvram_partition *)
kmalloc(sizeof(struct nvram_partition), GFP_KERNEL);
tmp_part = kmalloc(sizeof(struct nvram_partition), GFP_KERNEL);
err = -ENOMEM;
if (!tmp_part) {
printk(KERN_ERR "nvram_scan_partitions: kmalloc failed\n");
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/kvm/book3s_pr.c
Original file line number Diff line number Diff line change
Expand Up @@ -1039,7 +1039,7 @@ struct kvm_vcpu *kvmppc_core_vcpu_create(struct kvm *kvm, unsigned int id)
if (!vcpu_book3s)
goto out;

vcpu_book3s->shadow_vcpu = (struct kvmppc_book3s_shadow_vcpu *)
vcpu_book3s->shadow_vcpu =
kzalloc(sizeof(*vcpu_book3s->shadow_vcpu), GFP_KERNEL);
if (!vcpu_book3s->shadow_vcpu)
goto free_vcpu;
Expand Down

0 comments on commit 42ce80a

Please sign in to comment.