Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
arch
/
powerpc
/
platforms
/
pseries
/
hvcserver.c
diff --git
a/kernel/arch/powerpc/platforms/pseries/hvcserver.c
b/kernel/arch/powerpc/platforms/pseries/hvcserver.c
index
eedb645
..
94a6e56
100644
(file)
--- a/
kernel/arch/powerpc/platforms/pseries/hvcserver.c
+++ b/
kernel/arch/powerpc/platforms/pseries/hvcserver.c
@@
-142,11
+142,11
@@
int hvcs_get_partner_info(uint32_t unit_address, struct list_head *head,
int more = 1;
int retval;
- memset(pi_buff, 0x00, PAGE_SIZE);
/* invalid parameters */
if (!head || !pi_buff)
return -EINVAL;
+ memset(pi_buff, 0x00, PAGE_SIZE);
last_p_partition_ID = last_p_unit_address = ~0UL;
INIT_LIST_HEAD(head);