EDAC/amd64: clean up some inconsistent indentings
Subsystems (2)
PATCH v2 1/1 EDAC/amd64: clean up some inconsistent indentings
Use consistent indentation to improve the readability and eliminate the below warning:
drivers/edac/amd64_edac.c:1279 umc_determine_edac_cap() warn: inconsistent indenting
Reported-by Abaci Robot <[email protected]>
Fixes f6a4b4a1aa16 ("EDAC/amd64: Split determine_edac_cap() into dct/umc functions")
Signed-off-by Yang Li <[email protected]>
---
change in v2:
--According to yazen's suggestion, include a fixes tag and
describe the changes in the commit message
drivers/edac/amd64_edac.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-)
drivers/edac/amd64_edac.c +10 -10
@@ -1276,19 +1276,19 @@ static unsigned long umc_determine_edac_cap(struct amd64_pvt *pvt)u8 i, umc_en_mask =0 , dimm_ecc_en_mask =0 ;unsigned long edac_cap =EDAC_FLAG_NONE ; -for_each_umc (i) { -if (!(pvt->umc[i].sdp_ctrl &UMC_SDP_INIT )) -continue ; +for_each_umc (i) { +if (!(pvt->umc[i].sdp_ctrl &UMC_SDP_INIT )) +continue ; - umc_en_mask |=BIT (i); + umc_en_mask |=BIT (i); -/* UMC Configuration bit 12 (DimmEccEn) */ -if (pvt->umc[i].umc_cfg &BIT (12 )) - dimm_ecc_en_mask |=BIT (i); - } +/* UMC Configuration bit 12 (DimmEccEn) */ +if (pvt->umc[i].umc_cfg &BIT (12 )) + dimm_ecc_en_mask |=BIT (i); + } -if (umc_en_mask == dimm_ecc_en_mask) - edac_cap =EDAC_FLAG_SECDED ; +if (umc_en_mask == dimm_ecc_en_mask) + edac_cap =EDAC_FLAG_SECDED ;return edac_cap; }
Signature · 1 line
2.20.1.7.g153144c
Quoted 9 lines · Yang Li
Use consistent indentation to improve the readability and eliminate the below warning:
drivers/edac/amd64_edac.c:1279umc_determine_edac_cap()warn: inconsistent indentingReported-by Abaci Robot <[email protected]>Fixes f6a4b4a1aa16 ("EDAC/amd64: Split determine_edac_cap() into dct/umc functions")Signed-off-by Yang Li <[email protected]>
Quoted 8 lines
---
change in v2:
--According to yazen's suggestion, include a fixes tag and
describe the changes in the commit messagedrivers/edac/amd64_edac.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-)
Applied, thanks.
Signature · 4 lines
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette