From: wangjingyu <wangjingyu@uniontech.com>
To: rjw@rjwysocki.net
Cc: pavel@ucw.cz, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de,
x86@kernel.org, hpa@zytor.com, linux-pm@vger.kernel.org,
linux-kernel@vger.kernel.org,
wangjingyu <wangjingyu@uniontech.com>
Subject: [PATCH] arch: x86/power Missing a blank line after declarations
Date: Fri, 26 Feb 2021 16:47:45 +0800 [thread overview]
Message-ID: <20210226084745.22996-1-wangjingyu@uniontech.com> (raw)
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
next reply other threads:[~2021-02-26 8:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-26 8:47 wangjingyu [this message]
2021-02-26 9:02 [PATCH] arch: x86/power Missing a blank line after declarations wangjingyu
2021-02-26 11:00 ` Pavel Machek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210226084745.22996-1-wangjingyu@uniontech.com \
--to=wangjingyu@uniontech.com \
--cc=bp@alien8.de \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=pavel@ucw.cz \
--cc=rjw@rjwysocki.net \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).