Message ID | 166887634865.4906.2868849268609528843.tip-bot2@tip-bot2 |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp800115wrr; Sat, 19 Nov 2022 09:16:35 -0800 (PST) X-Google-Smtp-Source: AA0mqf6ThNM7X6tZ1ij2aFTh4XOYY/ZR6hupjFODwA7+LIdQ2ST3UogrPVKzlgwhxRB8eDV67b9t X-Received: by 2002:a63:f925:0:b0:470:88:8c18 with SMTP id h37-20020a63f925000000b0047000888c18mr842146pgi.23.1668878195057; Sat, 19 Nov 2022 09:16:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668878195; cv=none; d=google.com; s=arc-20160816; b=u4mJLYl5b42JWnHCXS/G4OaZMw3L+DkJderDFfSkK6TC3iS2V26Jyz210oywIV+L9R B28yP3vfGevkVmlUjWU+qTKguLawkc0h/CSnPW/br9KdqlbrGau+cfH3zTb7XYDQNrQE Q9kUA+nBEFVmL4RQMreS+3GWmqDUhqwu2m8Yt356pTS3a+u/D6IYKocsJbPS4eZ8yiLa rJp8/XnGiVy7RLb3/vsBhRs2nXwQD+TkatFwkyIFSKvpnHjjJSerqIbWAYhfpiHGqSzC u5UK1HIfXIIFPk8l8eARLhcf+2u6ItHj1CQywqzypsscutjVxSXlKeKaxxOjrY3bPoMb OZtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=plrm+xmykYAoNg4a8w8hWmbbNHyol+PQH2YoAgui7nk=; b=XrzjDWmnSvIodT3Dt3EqgpW8axx1VVUhS5b9hfoiowXGmVxZ65sm6YYYysXiKMrYJQ 8d7hxDyyldAjGH3mwk6ZiCwZIxSQC2ooriFVSlknjS/Ef9xPTYco6lZSxsOtv3NoMcga lf7Ny+72jrS86mGDa50YRzLoce5dgPw760SWedeTdI9wb17mwS/f8zNh0/PIkXLSAdxq NCA0g/OhfzPEhAZQCR2RFsfnkthP9o7WRzJ6HBVD7bddWvduArzIGsEEPjkIr9xZsY7w 584iWxn2aA2AnmK/3P6eYYUOiQAkqR4nXmrgXxHX3O54Q0dcbmJgOteC+G9tr3Du9+J0 ZjUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=uWZ6azFF; dkim=neutral (no key) header.i=@linutronix.de header.b=dI3IO8rX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k7-20020aa788c7000000b0056c064d3fb1si7303017pff.152.2022.11.19.09.16.21; Sat, 19 Nov 2022 09:16:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=uWZ6azFF; dkim=neutral (no key) header.i=@linutronix.de header.b=dI3IO8rX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234464AbiKSQp7 (ORCPT <rfc822;kkmonlee@gmail.com> + 99 others); Sat, 19 Nov 2022 11:45:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234463AbiKSQpw (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 19 Nov 2022 11:45:52 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8AFEC8F; Sat, 19 Nov 2022 08:45:51 -0800 (PST) Date: Sat, 19 Nov 2022 16:45:48 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1668876350; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=plrm+xmykYAoNg4a8w8hWmbbNHyol+PQH2YoAgui7nk=; b=uWZ6azFF/+JU7kz1vdz4gQXkCeOKj/tJulY2q2Ee8WArXfLu5LwGH3kdfm1lMtbl/nE6wJ oxLpoIbmukCyT0HaYcRTB31Sr1mkyOZsGjzy0nVGm58dLTAlKtSJkWRLUjWugg2mhpJHUF gN8vhg3SEUkZcW4q/aq5t7xr3kcxNwV2dMbHtwHGI7PfqlL84q0FAjx1nYCUikk2n0I0Td SB9OOjDizonRjBxXQUfJOwQubGuPfaS6An7YdjEiLbywyFe3q5aAvqpefYC0iL2S5TLrsL VH/H/J8hUXSysAon1rf1HP6dWyh7RjA0hXQ6PN0VAx5oKwj5VA/XFz/xkvtE5g== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1668876350; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=plrm+xmykYAoNg4a8w8hWmbbNHyol+PQH2YoAgui7nk=; b=dI3IO8rXU+lpkblq0oTd1IelvE/rM5qTRCCQGnORjqXSU3k2uQkIWx/qtLInHsf3WQikN6 CsfSHpP9hNKofTCw== From: "tip-bot2 for Jiapeng Chong" <tip-bot2@linutronix.de> Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/cleanups] x86/kaslr: Fix process_mem_region()'s return value Cc: Abaci Robot <abaci@linux.alibaba.com>, Jiapeng Chong <jiapeng.chong@linux.alibaba.com>, Borislav Petkov <bp@suse.de>, x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20220421202556.129799-1-jiapeng.chong@linux.alibaba.com> References: <20220421202556.129799-1-jiapeng.chong@linux.alibaba.com> MIME-Version: 1.0 Message-ID: <166887634865.4906.2868849268609528843.tip-bot2@tip-bot2> Robot-ID: <tip-bot2@linutronix.de> Robot-Unsubscribe: Contact <mailto:tglx@linutronix.de> to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749945621886370502?= X-GMAIL-MSGID: =?utf-8?q?1749945621886370502?= |
Series |
[tip:,x86/cleanups] x86/kaslr: Fix process_mem_region()'s return value
|
|
Commit Message
tip-bot2 for Thomas Gleixner
Nov. 19, 2022, 4:45 p.m. UTC
The following commit has been merged into the x86/cleanups branch of tip: Commit-ID: ee92fa03918d114d3ac9c36a8bf2c032ede75a3b Gitweb: https://git.kernel.org/tip/ee92fa03918d114d3ac9c36a8bf2c032ede75a3b Author: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> AuthorDate: Fri, 22 Apr 2022 04:25:56 +08:00 Committer: Borislav Petkov <bp@suse.de> CommitterDate: Sat, 19 Nov 2022 17:35:10 +01:00 x86/kaslr: Fix process_mem_region()'s return value Fix the following coccicheck warning: ./arch/x86/boot/compressed/kaslr.c:670:8-9: WARNING: return of 0/1 in function 'process_mem_region' with return type bool. Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lore.kernel.org/r/20220421202556.129799-1-jiapeng.chong@linux.alibaba.com --- arch/x86/boot/compressed/kaslr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/boot/compressed/kaslr.c b/arch/x86/boot/compressed/kaslr.c index e476bcb..454757f 100644 --- a/arch/x86/boot/compressed/kaslr.c +++ b/arch/x86/boot/compressed/kaslr.c @@ -668,7 +668,7 @@ static bool process_mem_region(struct mem_vector *region, } } #endif - return 0; + return false; } #ifdef CONFIG_EFI