Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

Operators should be separated by spaces in tce_buildmulti_pSeriesLP()

Signed-off-by: Deming Wang <wangdeming@inspur.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220701094553.1722-1-wangdeming@inspur.com

authored by

Deming Wang and committed by
Michael Ellerman
14b5d59a 5f58cad1

+1 -1
+1 -1
arch/powerpc/platforms/pseries/iommu.c
··· 248 248 * Set up the page with TCE data, looping through and setting 249 249 * the values. 250 250 */ 251 - limit = min_t(long, npages, 4096/TCE_ENTRY_SIZE); 251 + limit = min_t(long, npages, 4096 / TCE_ENTRY_SIZE); 252 252 253 253 for (l = 0; l < limit; l++) { 254 254 tcep[l] = cpu_to_be64(proto_tce | rpn << tceshift);