linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arch: x86/power Missing a blank line after declarations
@ 2021-02-26  9:02 wangjingyu
  2021-02-26 11:00 ` Pavel Machek
  0 siblings, 1 reply; 3+ messages in thread
From: wangjingyu @ 2021-02-26  9:02 UTC (permalink / raw)
  To: rjw; +Cc: pavel, tglx, mingo, bp, x86, pa, linux-pm, linux-kernel,
	wangjingyu

Ensure checkpatch compliance

Signed-off-by: wangjingyu <wangjingyu@uniontech.com>
---
 arch/x86/power/hibernate_64.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/power/hibernate_64.c b/arch/x86/power/hibernate_64.c
index a595953f1d6d..7dfd3832c74c 100644
--- a/arch/x86/power/hibernate_64.c
+++ b/arch/x86/power/hibernate_64.c
@@ -78,6 +78,7 @@ static int set_up_temporary_text_mapping(pgd_t *pgd)
 	} else {
 		/* No p4d for 4-level paging: point the pgd to the pud page table */
 		pgd_t new_pgd = __pgd(__pa(pud) | pgprot_val(pgtable_prot));
+
 		set_pgd(pgd + pgd_index(restore_jump_address), new_pgd);
 	}
 
-- 
2.11.0




^ permalink raw reply related	[flat|nested] 3+ messages in thread
* [PATCH] arch: x86/power Missing a blank line after declarations
@ 2021-02-26  8:47 wangjingyu
  0 siblings, 0 replies; 3+ messages in thread
From: wangjingyu @ 2021-02-26  8:47 UTC (permalink / raw)
  To: rjw; +Cc: pavel, tglx, mingo, bp, x86, hpa, linux-pm, linux-kernel,
	wangjingyu

Ensure checkpatch compliance

Signed-off-by: wangjingyu <wangjingyu@uniontech.com>
---
 arch/x86/power/hibernate_32.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/power/hibernate_32.c b/arch/x86/power/hibernate_32.c
index 223d5bca29b8..90e40055a5ae 100644
--- a/arch/x86/power/hibernate_32.c
+++ b/arch/x86/power/hibernate_32.c
@@ -60,6 +60,7 @@ static pte_t *resume_one_page_table_init(pmd_t *pmd)
 {
 	if (pmd_none(*pmd)) {
 		pte_t *page_table = (pte_t *)get_safe_page(GFP_ATOMIC);
+
 		if (!page_table)
 			return NULL;
 
-- 
2.11.0




^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-02-26 11:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-26  9:02 [PATCH] arch: x86/power Missing a blank line after declarations wangjingyu
2021-02-26 11:00 ` Pavel Machek
  -- strict thread matches above, loose matches on Subject: below --
2021-02-26  8:47 wangjingyu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).