Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp2446369rdb; Mon, 20 Nov 2023 10:58:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IElebrLsm1mGTlfJ3Hzh3+8k6noAYCTST10oYcgxf0jOSkQCFXzo/ib2mbU4ZM+h5MrBKlE X-Received: by 2002:a54:4806:0:b0:3b5:2ede:d9c1 with SMTP id j6-20020a544806000000b003b52eded9c1mr9528825oij.47.1700506714547; Mon, 20 Nov 2023 10:58:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700506714; cv=none; d=google.com; s=arc-20160816; b=jRe1zsybQAE3G0TOxQ660zhj9g7IK82DTEbTyvzf/9DC2CoMGMGOYrqAnOHoZeGDBC zRnALz2Ev6NkBFF60D0/Tk1Ka/uPG+QG4RPS8aVw65/egyMe1jBFOZimMqoTix97Doym vqUEv7lhC0gSMVN0BdpgGM+YyVK4ep69SFEYYvpugU7zxs8hUTqkOePF2ROdiCOOZvK0 bQTMT851eQTrmItdYL+yNYbFUpJ5+yXpGyal5ZMZ/AZL+qaGhF7tvKQb4Rx8j4g4+F99 ZqRkkbd1XJoMKCkQqqBXD+eUF7qLjubHK1kAZBZzoHklU6I4ENQWk3KVteRL5FkUMJqA ig8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=6ujELrVFY4be6CUqKjNRUfHmySKN0sInkgu1RJGqy2s=; fh=GAjAIca3WiYa+wDsxY7BREshy8AJUG7uHo83HvxW0C0=; b=TZzgdGy7plV8Jm8S0gBVTgWFGj8TIGLxyrht1WsdmAeSJqD4NMd5dyNiGshqV+J3Ce dKOHFJpW16ux2XlRYJr1b4Vhi+CrX4K9WB+ae8fVVrXwDkzFOW9hrzdmrNxsNNCNDLSK 1ILYlOH5/wgV9kcJJ+PspCmfagf/HHNUw45j12DrZJcxD6vCbEio1qy1iAaD/+ROaWSI 7tGTehFOqLto+i8kZDUcO/8z9y0LzOgdKO36GZ2cSWyUSbBoWX6Rp5GcTDQtocQHElue SjEnCUp+ce17gWOOWJnUSoQCZpFcG0c01mH2ycOn4vxuOk/yqXMIBo0XPEfZLoZUKGG7 ndqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nNQC3xNu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id a22-20020a656416000000b00578666614f1si8790035pgv.63.2023.11.20.10.58.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 10:58:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nNQC3xNu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id C417B808869D; Mon, 20 Nov 2023 10:56:45 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229623AbjKTS4f (ORCPT + 99 others); Mon, 20 Nov 2023 13:56:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229497AbjKTS4d (ORCPT ); Mon, 20 Nov 2023 13:56:33 -0500 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA04CCD for ; Mon, 20 Nov 2023 10:56:29 -0800 (PST) Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-507962561adso6908699e87.0 for ; Mon, 20 Nov 2023 10:56:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1700506588; x=1701111388; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=6ujELrVFY4be6CUqKjNRUfHmySKN0sInkgu1RJGqy2s=; b=nNQC3xNuCqSNUX0YNlBSs1tFk8utgux8aIvTLJCjHzbJkBqbB053Nlc2OJ+dlVZLMe Mr/bIPiHVN++ViaXsuatzZo6O0pqmjcfJ3JNpIFb7HzJNpRF6GkVrgKrj89VqfHK9MX6 PzO34hwm4kibjGnnUfYDvx9drqx7qMNntKScZnqyLHzBf7c+jVIok2Uqe9qkW/xh8DhS 164XwRKOqTKeENbrGUkniy36xrNizFEK8FmIDNDPPgVT6KAWJE0UTzx1eyn6J2cNYSYw DSvWo3rqMGgRX2ktjkYXJHE+n6ueFRLsk9YFqEykMFO78pK5XRnU9z9hMLlgUBylWLey zfNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700506588; x=1701111388; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=6ujELrVFY4be6CUqKjNRUfHmySKN0sInkgu1RJGqy2s=; b=TExM0o9dRxBRZYabSC7mbJ0GIFewgRK3w8ajmoIRvlrXzw9Uh2vMdLFxu2KLR0f6ul 5pfJqt/3hvBelzac1fRVJTOs2qPj9hok/Vhqh+NnDHbl+V3WV9/D/ZCFKqjYVjzoNjqk VjIDljGom6ra+A+4zPL2a8SwCzX/f4IAqc0j7x/1KFwGEidJzXk/aY8R3QWA1ZQetUjP PCABQANKgjNFuLSSzfph6zOmvEr+lCBMwE1w6G0DDBXVgn9Tr76ilDu3uytDa5KBEv5D mZUd10QzJJYjOqP6I5wee/c9lvCqswx/TGFUS2W6GkiYqIRAuKUlgfZVvZ3mPj/Xj6gQ MCnw== X-Gm-Message-State: AOJu0YwYRIkuL+GsqWP74IgxXNfiDIRJpyXXbio+2OwtAF8K0OWxLls2 Smn54PUh3vm1jir6sYqdwBvt1Q== X-Received: by 2002:ac2:5159:0:b0:509:38df:1e77 with SMTP id q25-20020ac25159000000b0050938df1e77mr5924245lfd.10.1700506588031; Mon, 20 Nov 2023 10:56:28 -0800 (PST) Received: from krzk-bin.. ([178.197.222.11]) by smtp.gmail.com with ESMTPSA id k26-20020aa7c05a000000b005485282a520sm3412520edo.75.2023.11.20.10.56.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 10:56:27 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Johan Hovold , Maximilian Luz , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , kernel test robot Subject: [PATCH] firmware: qcom: qcm: fix unused qcom_scm_qseecom_allowlist Date: Mon, 20 Nov 2023 19:56:23 +0100 Message-Id: <20231120185623.338608-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 20 Nov 2023 10:56:45 -0800 (PST) For !OF builds, the qcom_scm_qseecom_allowlist is unused: drivers/firmware/qcom/qcom_scm.c:1652:34: error: ‘qcom_scm_qseecom_allowlist’ defined but not used [-Werror=unused-const-variable=] Fixes: 00b1248606ba ("firmware: qcom_scm: Add support for Qualcomm Secure Execution Environment SCM interface") Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202311191654.S4wlVUrz-lkp@intel.com/ Signed-off-by: Krzysztof Kozlowski --- drivers/firmware/qcom/qcom_scm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware/qcom/qcom_scm.c b/drivers/firmware/qcom/qcom_scm.c index 520de9b5633a..ecdb367dc9b8 100644 --- a/drivers/firmware/qcom/qcom_scm.c +++ b/drivers/firmware/qcom/qcom_scm.c @@ -1649,7 +1649,7 @@ EXPORT_SYMBOL_GPL(qcom_scm_qseecom_app_send); * We do not yet support re-entrant calls via the qseecom interface. To prevent + any potential issues with this, only allow validated machines for now. */ -static const struct of_device_id qcom_scm_qseecom_allowlist[] = { +static const struct of_device_id qcom_scm_qseecom_allowlist[] __maybe_unused = { { .compatible = "lenovo,thinkpad-x13s", }, { } }; -- 2.34.1