Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp591663rwb; Thu, 27 Jul 2023 18:33:34 -0700 (PDT) X-Google-Smtp-Source: APBJJlFcdRAxdIVJUe40Fl9+vGi0BppSngQaPU2HRZS3ocGg66aUzc1NNp1906YSQXpcd2jUKClV X-Received: by 2002:aa7:cd8a:0:b0:51e:404:1e6d with SMTP id x10-20020aa7cd8a000000b0051e04041e6dmr487718edv.38.1690508014499; Thu, 27 Jul 2023 18:33:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690508014; cv=none; d=google.com; s=arc-20160816; b=McBYR/o0wC1U7Gs73QD/sc4Um632Ckxa8JlE6UQGyvjIIxL2uoFzdwjwr19zDm8yNg G5DpvFEGKtGOTVnwgdeFMFUQdcLjsPbufYq1aQIabm+Pe0aOvAVmkQHhTEWMKYvpVr/S IUGE//vo4Q/euUh9Tr2+e9tZXhjwSUzAUullba8A07euyyVixCTVwPIpW3yBF8f/e7Wq fUO86dt2G+NEh9FobWHqKuCGf1K0tddLgm1tkWNksjgOjnBoErsUn0qoAmfMEdKlVMjN mdor1V43BnCRIWjYKe4HEjjsCEt7Ml81N04yYQF5WAszfxpvrKFC5d58zr0kCT2+FJWB f8Yw== 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 :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=7EEUpEcledMwKQMN6cCFM0SO/BqyLaitdVh9SfWOcQ4=; fh=Yr2brDADcQE9V455gHoYU0CcxIDpCpn37KwXT1yfHDc=; b=GuY1Eet44RHlKMPmYc2Il4uI3wacU02ZwXqWATWgBWomVnowR6C6OrIw0B034rhbZm HZhEOTpc7QSl3QUjAR6ruj030XUCyzCfP/Gug7z4pn5WKILTBd8Dym6cILDCHNs2trOI hcXLN1SQJZ5vAFamzSHGm2yOU+YDf6jWtRrlzGii5Ql/yMyNOtdf6ZLjU5zFEyKymGwE giggO1I2h/OtYzLYHL1A5/6Fah8RytQ8Qz9sPjmGtWnQOmRBv19Ke/ju8p8mE5KNbLiP /JGMuMGP4qu8cagI+QQuGzDADrDaduzEN1pEEWvAaAgpOwCAON0uc1BPGOYiRpaPe6Ys zHkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=QknUkVxl; 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=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u26-20020a05640207da00b005223ae98947si1739608edy.116.2023.07.27.18.33.10; Thu, 27 Jul 2023 18:33:34 -0700 (PDT) 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=@quicinc.com header.s=qcppdkim1 header.b=QknUkVxl; 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=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232402AbjG1AnI (ORCPT + 99 others); Thu, 27 Jul 2023 20:43:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229661AbjG1AnH (ORCPT ); Thu, 27 Jul 2023 20:43:07 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8FE53F3; Thu, 27 Jul 2023 17:43:06 -0700 (PDT) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36S0H4Rp020670; Fri, 28 Jul 2023 00:42:56 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=7EEUpEcledMwKQMN6cCFM0SO/BqyLaitdVh9SfWOcQ4=; b=QknUkVxluQWcV9W+hPBnSl+s7ChKOGIasDf2WmXIULkN988ej8ztqIdu0dSmG1qdOpBp doQeaOV7XP0/Xd5iKyVTbLuZSU+BOcB0cqs/pg8SEDOE9hmEsp5urgyYhPoB1lx60kmv knRIkHryOdHUtqf59mgZOejw+SeOQR1lXm4e3lu4x0mPWbJjt+wGsTb15R5N6PLbyyC3 d5Ie2ygBBnpxXemYYSld/7Dj31toxBCW1sm5VMTMBnwEwHvydeYFf1LdaIcYAH+HHh57 OBVFHyxr3g6Wj4MxDZBr78dDj79yq9y7ezEjosuF4bjkNoQyWxxn9GYVAGvPhHI1GK1s 1g== Received: from nasanppmta05.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3s3f582qcv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 28 Jul 2023 00:42:56 +0000 Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 36S0gt2n006050 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 28 Jul 2023 00:42:55 GMT Received: from hu-gurus-sd.qualcomm.com (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.30; Thu, 27 Jul 2023 17:42:55 -0700 From: Guru Das Srinagesh To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Philipp Zabel , Elliot Berman , "Guru Das Srinagesh" , Loic Poulain , , Subject: [PATCH 2/2] firmware: qcom_scm: Add missing extern specifier Date: Thu, 27 Jul 2023 17:42:49 -0700 Message-ID: X-Mailer: git-send-email 2.40.0 In-Reply-To: <19d9ac0bf79f957574ef9b3b73246ea0113cc0fd.1690503893.git.quic_gurus@quicinc.com> References: <19d9ac0bf79f957574ef9b3b73246ea0113cc0fd.1690503893.git.quic_gurus@quicinc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: aJhcA0GRhpR17Dt-maGzRhIBcSipesnl X-Proofpoint-ORIG-GUID: aJhcA0GRhpR17Dt-maGzRhIBcSipesnl X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-27_10,2023-07-26_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=999 mlxscore=0 spamscore=0 lowpriorityscore=0 impostorscore=0 priorityscore=1501 suspectscore=0 phishscore=0 clxscore=1015 adultscore=0 malwarescore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307280003 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Commit 3a99f121fe0b ("firmware: qcom: scm: Introduce pas_metadata context") left out the `extern` specifier for the API it introduced, so add it. Signed-off-by: Guru Das Srinagesh --- include/linux/firmware/qcom/qcom_scm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/firmware/qcom/qcom_scm.h b/include/linux/firmware/qcom/qcom_scm.h index 250ea4efb7cb..0c091a3f6d49 100644 --- a/include/linux/firmware/qcom/qcom_scm.h +++ b/include/linux/firmware/qcom/qcom_scm.h @@ -75,7 +75,7 @@ struct qcom_scm_pas_metadata { extern int qcom_scm_pas_init_image(u32 peripheral, const void *metadata, size_t size, struct qcom_scm_pas_metadata *ctx); -void qcom_scm_pas_metadata_release(struct qcom_scm_pas_metadata *ctx); +extern void qcom_scm_pas_metadata_release(struct qcom_scm_pas_metadata *ctx); extern int qcom_scm_pas_mem_setup(u32 peripheral, phys_addr_t addr, phys_addr_t size); extern int qcom_scm_pas_auth_and_reset(u32 peripheral); -- 2.40.0