ed as
uninitialized (which is not valid anyway because the error is properly
checked before s is returned).
Signed-off-by: Deming Wang
---
tools/testing/selftests/powerpc/stringloops/strlen.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/testing/selftests/powerpc/string
ed as
uninitialized (which is not valid anyway because the error is properly
checked before p is returned).
Signed-off-by: Deming Wang
---
tools/testing/selftests/powerpc/stringloops/strlen.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/testing/selftests/powerpc/string
Use arg->size directly may be better for code readability.Because, the
variable of size has not been found for special purpose at present.
Also,We can reduce the use of a variable.
Signed-off-by: Deming Wang
---
arch/powerpc/kvm/book3s_64_vio.c | 6 +++---
1 file changed, 3 insertions(+)
Operators should be separated by spaces in tce_buildmulti_pSeriesLP
Signed-off-by: Deming Wang
---
arch/powerpc/platforms/pseries/iommu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/platforms/pseries/iommu.c
b/arch/powerpc/platforms/pseries/iommu.c
index
We should avoid use the return value directly after call
iommu_pseries_alloc_group. Because it_may return a null.
Signed-off-by: Deming Wang
---
arch/powerpc/platforms/pseries/iommu.c | 12
1 file changed, 12 insertions(+)
diff --git a/arch/powerpc/platforms/pseries/iommu.c
b