You need to sign in or sign up before continuing.
提交 14b5d59a 编写于 作者: D Deming Wang 提交者: Michael Ellerman

powerpc/pseries: Fix formatting to make code look more beautiful

Operators should be separated by spaces in tce_buildmulti_pSeriesLP()
Signed-off-by: NDeming Wang <wangdeming@inspur.com>
Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220701094553.1722-1-wangdeming@inspur.com
上级 5f58cad1
...@@ -248,7 +248,7 @@ static int tce_buildmulti_pSeriesLP(struct iommu_table *tbl, long tcenum, ...@@ -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 * Set up the page with TCE data, looping through and setting
* the values. * 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++) { for (l = 0; l < limit; l++) {
tcep[l] = cpu_to_be64(proto_tce | rpn << tceshift); tcep[l] = cpu_to_be64(proto_tce | rpn << tceshift);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册