Message ID | 20210226084745.22996-1-wangjingyu@uniontech.com |
---|---|
State | New |
Headers | show |
Series | arch: x86/power Missing a blank line after declarations | expand |
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;
Ensure checkpatch compliance Signed-off-by: wangjingyu <wangjingyu@uniontech.com> --- arch/x86/power/hibernate_32.c | 1 + 1 file changed, 1 insertion(+)