* [PATCH] powerpc: Fix formatting problems to make code look more beautiful
@ 2022-07-01 9:45 ` Deming Wang
0 siblings, 0 replies; 4+ messages in thread
From: Deming Wang @ 2022-07-01 9:45 UTC (permalink / raw)
To: mpe; +Cc: benh, paulus, linuxppc-dev, linux-kernel, Deming Wang
Operators should be separated by spaces in tce_buildmulti_pSeriesLP
Signed-off-by: Deming Wang <wangdeming@inspur.com>
---
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 fba64304e859..d09c8bb06e5b 100644
--- a/arch/powerpc/platforms/pseries/iommu.c
+++ b/arch/powerpc/platforms/pseries/iommu.c
@@ -248,7 +248,7 @@ static int tce_buildmulti_pSeriesLP(struct iommu_table *tbl, long tcenum,
* Set up the page with TCE data, looping through and setting
* the values.
*/
- limit = min_t(long, npages, 4096/TCE_ENTRY_SIZE);
+ limit = min_t(long, npages, 4096 / TCE_ENTRY_SIZE);
for (l = 0; l < limit; l++) {
tcep[l] = cpu_to_be64(proto_tce | rpn << tceshift);
--
2.27.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] powerpc: Fix formatting problems to make code look more beautiful
@ 2022-07-01 9:45 ` Deming Wang
0 siblings, 0 replies; 4+ messages in thread
From: Deming Wang @ 2022-07-01 9:45 UTC (permalink / raw)
To: mpe; +Cc: Deming Wang, paulus, linuxppc-dev, linux-kernel
Operators should be separated by spaces in tce_buildmulti_pSeriesLP
Signed-off-by: Deming Wang <wangdeming@inspur.com>
---
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 fba64304e859..d09c8bb06e5b 100644
--- a/arch/powerpc/platforms/pseries/iommu.c
+++ b/arch/powerpc/platforms/pseries/iommu.c
@@ -248,7 +248,7 @@ static int tce_buildmulti_pSeriesLP(struct iommu_table *tbl, long tcenum,
* Set up the page with TCE data, looping through and setting
* the values.
*/
- limit = min_t(long, npages, 4096/TCE_ENTRY_SIZE);
+ limit = min_t(long, npages, 4096 / TCE_ENTRY_SIZE);
for (l = 0; l < limit; l++) {
tcep[l] = cpu_to_be64(proto_tce | rpn << tceshift);
--
2.27.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] powerpc: Fix formatting problems to make code look more beautiful
2022-07-01 9:45 ` Deming Wang
@ 2022-11-30 9:23 ` Michael Ellerman
-1 siblings, 0 replies; 4+ messages in thread
From: Michael Ellerman @ 2022-11-30 9:23 UTC (permalink / raw)
To: Deming Wang, mpe; +Cc: benh, linux-kernel, linuxppc-dev, paulus
On Fri, 1 Jul 2022 05:45:53 -0400, Deming Wang wrote:
> Operators should be separated by spaces in tce_buildmulti_pSeriesLP
>
>
Applied to powerpc/next.
[1/1] powerpc: Fix formatting problems to make code look more beautiful
https://git.kernel.org/powerpc/c/14b5d59a261b1947db287b3b52f4bb1dc496dede
cheers
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] powerpc: Fix formatting problems to make code look more beautiful
@ 2022-11-30 9:23 ` Michael Ellerman
0 siblings, 0 replies; 4+ messages in thread
From: Michael Ellerman @ 2022-11-30 9:23 UTC (permalink / raw)
To: Deming Wang, mpe; +Cc: linuxppc-dev, linux-kernel, paulus
On Fri, 1 Jul 2022 05:45:53 -0400, Deming Wang wrote:
> Operators should be separated by spaces in tce_buildmulti_pSeriesLP
>
>
Applied to powerpc/next.
[1/1] powerpc: Fix formatting problems to make code look more beautiful
https://git.kernel.org/powerpc/c/14b5d59a261b1947db287b3b52f4bb1dc496dede
cheers
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-11-30 9:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-01 9:45 [PATCH] powerpc: Fix formatting problems to make code look more beautiful Deming Wang
2022-07-01 9:45 ` Deming Wang
2022-11-30 9:23 ` Michael Ellerman
2022-11-30 9:23 ` Michael Ellerman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.