From patchwork Sat Feb 3 10:50:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 196237 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:9bc1:b0:106:209c:c626 with SMTP id op1csp955246dyc; Sat, 3 Feb 2024 02:51:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IFg9dZi40rKDa9XkXJMbdTDGbTQnK3v0hT+EHsvDE3pir1M0kiPpnVBq6iGt+ugtfKF5OjR X-Received: by 2002:aa7:8895:0:b0:6dd:8891:c4 with SMTP id z21-20020aa78895000000b006dd889100c4mr12379873pfe.25.1706957467806; Sat, 03 Feb 2024 02:51:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706957467; cv=pass; d=google.com; s=arc-20160816; b=vwLbLvU0pYomoDsQdILsAqOjXmz/yO0BcBQlJ1o16cmnRGCIq4ApHx3P3Fze2iAfkY XUKNSNzPx1NNOdeTz/BXHgv+oCyIx25/fzPAC1DHBy28pR3r2p4n7q5f6jwxZRdshecx X8Woa2Xo9qf10IbLC8K3Q0oOrHrKS/SNuGVCqpmgGeeWMP2fAMZ46UfoozI/RVPI/0M9 7WDIWdaSKQaSTjBeLchdcBQoMWjuQ0b49tIRQ0oLNJLcCzQ/32G8FU1R37iL39AHEjil iJzuryiC3BvGTw5vDGrARUG6Fu4sGK58JC/iA4rZ4MvXGPXz6WJTMgrKQkqn06OSYv+B GBeA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:precedence:robot-unsubscribe:robot-id :message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:references:in-reply-to:cc:subject:to:reply-to:sender :from:dkim-signature:dkim-signature:date; bh=XthI37Rn5AE+IkZ15bLGzPARq8tp0utJz+1j7r9ZG7k=; fh=IpDl384/vaZbDnD0A86cXx9W4KG9SSTFLtg+eog6cug=; b=Jxn9fDxtDHp1sHel0Oo5WXDgwGWLOKus8klxq8kYxEvLQo3IysQnpLhFoxLprTweu+ Y6sCVhjj0lGKYi7i/R1reGOpmUmJ/cJKaSbXGvS52Y08a/O4qVlqd2aU1Uf4aG67HuQo HEu9LtRp8NNADDD2inIWFmzxryuEYuZ5lrhoBD9DjgOgyzwqsxV1SN0FKuFBWQMXT4/P 6es+eCVuMUqZHihTx8Flh0b+69DNjIFuzNYKflbfXNiYMmcYRHlvOUBMzOWhtnfwTm77 ZilHAU7TiIbt5L6XwgMxQ8xJO8ydeFEYrm78y5G/YN4R6c+frArv6SzNwn/YQC7h3jly 2/pQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="vCb/lVju"; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-51030-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51030-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de X-Forwarded-Encrypted: i=1; AJvYcCWfEarGXTKVvALCpbNpJmT8cO+0enRA4uAJHT3lRO/2leH8fMs9CBM9p7u+D5PwrVyHnY4urYuBUvCdSJsAG1SpOBBmNQ== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id a8-20020a630b48000000b005cd84b844edsi3027751pgl.604.2024.02.03.02.51.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Feb 2024 02:51:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-51030-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="vCb/lVju"; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-51030-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51030-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 95615289652 for ; Sat, 3 Feb 2024 10:51:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 365C85D91F; Sat, 3 Feb 2024 10:50:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="vCb/lVju"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="5peQ+UkP" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D6A8D5D737; Sat, 3 Feb 2024 10:50:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706957442; cv=none; b=IxihiU3ys4j48Z+ZlVIcH+DADDYh11oGGSZSndu04DXuINeeKQAUMStG527scbYgBI2WvDPOVYaVOhBNprJHe0wmO4wP5B9LlgXor58/erqAQwcejpXTkqizRx9OCncJo1GiGSXyBoEwZj1xULGLdofvDj/ofCc4Mxc42kIMRXY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706957442; c=relaxed/simple; bh=aWCOzQqgOFKDUQJx68iHdcEhe6YBP2AarwHisn+qFuE=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=OiO9XDVHY8E5UmoDMYxRMLLkXbJcWEbLu9MTQqbAiA0Znhq9f6E6C8agQZ9QRN6EPemgU5Xv8I6V30q7WvKcP9CqQ4O0IsRmf/DSjPB3UtuFVbbp10N9BBLs6lr0skiAPoW2LkjVR/W2FAaZdCvCe+kOOs7QZFwQGnUYGl6wGqE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=vCb/lVju; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=5peQ+UkP; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Date: Sat, 03 Feb 2024 10:50:35 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1706957436; 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=XthI37Rn5AE+IkZ15bLGzPARq8tp0utJz+1j7r9ZG7k=; b=vCb/lVju2329REks/bzPD+PEdJtoCHnatYBM/Qt8Ln4Nq+JlP14jcJDLD5PtPHEo9i/Ter 5iUrDB4jBc5An/nElbjSuHOXxCZQjRtSM8QhaY+NNkAVnVmdMfjo60nHdPoyk5VMqp0Bl5 7IoXuq9QLUwsWx2IhPgLjq0DiEoEtYx5OsW1HbPxYxeZMewcXAyzc2R55WrafTXKwIuwOF HASHuYf8IuT3Xrtw3ViB3RgQRvfqgm7zELN8gtPxVmmiUfWGq5djpgEBkNEEXnqoFwpo3C E7qEN+ym87/maP+7Gkmm+HZ/MNYhXAiRNbDoQWGyak4J8lBPTAQUaxNPCB+n2Q== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1706957436; 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=XthI37Rn5AE+IkZ15bLGzPARq8tp0utJz+1j7r9ZG7k=; b=5peQ+UkPcqlyidnMjjWZNr40AIqnGDC/0aP6V6kTMKdYxHSJ5urI8s8mGY9kKgPcRbmakX IQnoWerMCghMzVBg== From: "tip-bot2 for Borislav Petkov (AMD)" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/sev] crypto: ccp: Make snp_range_list static Cc: kernel test robot , "Borislav Petkov (AMD)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <202402031410.GTE3PJ1Y-lkp@intel.com> References: <202402031410.GTE3PJ1Y-lkp@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <170695743567.398.10498615272513461095.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789874633949550300 X-GMAIL-MSGID: 1789874633949550300 The following commit has been merged into the x86/sev branch of tip: Commit-ID: f9e6f00d93d34f60f90b42c24e80194b11a72bb2 Gitweb: https://git.kernel.org/tip/f9e6f00d93d34f60f90b42c24e80194b11a72bb2 Author: Borislav Petkov (AMD) AuthorDate: Sat, 03 Feb 2024 11:40:48 +01:00 Committer: Borislav Petkov (AMD) CommitterDate: Sat, 03 Feb 2024 11:41:41 +01:00 crypto: ccp: Make snp_range_list static Fix: drivers/crypto/ccp/sev-dev.c:93:28: sparse: sparse: symbol 'snp_range_list' was not declared. Should it be static? Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202402031410.GTE3PJ1Y-lkp@intel.com Signed-off-by: Borislav Petkov (AMD) Link: https://lore.kernel.org/r/202402031410.GTE3PJ1Y-lkp@intel.com --- drivers/crypto/ccp/sev-dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/ccp/sev-dev.c b/drivers/crypto/ccp/sev-dev.c index f1a5795..182427f 100644 --- a/drivers/crypto/ccp/sev-dev.c +++ b/drivers/crypto/ccp/sev-dev.c @@ -107,7 +107,7 @@ static void *sev_init_ex_buffer; * Array containing range of pages that firmware transitions to HV-fixed * page state. */ -struct sev_data_range_list *snp_range_list; +static struct sev_data_range_list *snp_range_list; static inline bool sev_version_greater_or_equal(u8 maj, u8 min) {