From patchwork Tue Nov 24 19:37:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 331411 Delivered-To: patch@linaro.org Received: by 2002:a92:5e16:0:0:0:0:0 with SMTP id s22csp795399ilb; Tue, 24 Nov 2020 11:44:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJwmEHXn+kbwvkPNieRHjl0GvbF3k98oadJ4SE4jRvv3vkao6QxKCv9LKBOju+OnZWS30N5C X-Received: by 2002:a62:7b85:0:b029:198:11e5:596 with SMTP id w127-20020a627b850000b029019811e50596mr334326pfc.40.1606247054947; Tue, 24 Nov 2020 11:44:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606247054; cv=none; d=google.com; s=arc-20160816; b=R5zL8wTaL5OEBWAtJriDkDG6t6kHBl3vJ+6N8AWwniJext+IvaRZ+shTgerYiPqboy Exbpq4vg8aS3A5fXJTbkzVx9/VegR/9zvM/s6OMVKvTOl7ESfr0FF8/VHlNA7wQDVGUv FkBP5odLCTJXfXohF9Pbts7hLd7ZvKssqoXnPrgBBYi4vZdNFqUHQXItVlMYnqXX2zwl IXRtsWNmSymbQi0DDsDSfZeRY153sOvpd2ZCBVUOlHwD2EWw8rJyEHsi/xmSm/K1TGWz gPPWtiySYxlpugdCEoR7/jBjzMUVl7e0B/NDLDJ1jYPTw4zd1fhRLkD0lkuSa6JiD8Gp u4oQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=41owSgfCMg7jVt0OUoMlDdwO6kkpW0ozgZzTz6kWNJU=; b=UZwyauPNMjvlUr6DPbEzZbZ6gVAST/JLg4hyD6L7iugzO3FqAgJDQxoqdZLU1FTlNN 95J6gWYl4L6LpoWL5slsYZN06aZandAQDikxkaukF7HechE59C7BNTniWY6AwRA4hAx5 Ts9F7xc+rh+g7uAdrhGLplGBGqB8a4yQZyUPisbHLzfA5g2vjs1LrlTf3JYdgjm7HhkL V/yv48EaXVr0gS0xE+HjkzdGRlxb8xe3bhUpKuMfFW/vsD28fBv3/gZSD0q4zVep/3Ca lJlG8kacJRVglwFLxRSEyPjZoZ2UlgbEjoqYeGR9ss9TbTmJiuWiwp33x26TRXto6SFj mCkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Cybaq8YB; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id t9si34718plo.340.2020.11.24.11.44.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Nov 2020 11:44:14 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Cybaq8YB; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E67AF6E546; Tue, 24 Nov 2020 19:44:12 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by gabe.freedesktop.org (Postfix) with ESMTPS id 28CC26E53C for ; Tue, 24 Nov 2020 19:44:09 +0000 (UTC) Received: by mail-wm1-x344.google.com with SMTP id h21so95791wmb.2 for ; Tue, 24 Nov 2020 11:44:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=zomKjMWIzPWrEYw6ovqJZadIuaIS2jNkIlpZKRH8vHs=; b=Cybaq8YBYtuTaFR9pBITA1eQRnSBpzhBLkn4zNF+2G3HKC8ZoZ6IIv1b5/uH9fiyVm 34zogKau3MdUz9JhxsXYpQdi3G7agieql+9jT4s0GActMXzOvScBl0L6AxuVTQHjXCwd 8XbMr1LcfHVtvjKBTRkxNgaBWMC2klAWVbsp2zM7N3lf+v1GB61U9DU2YYCWdoM9nUtF TUzZ+vpHwelItISKNaByhSP4b0gb+/zFCFhXKorLw2zAsz3s148A3UfUpuqf5D/mKslA uu66sHvtiZtIKh/qjMtlnJMmd75EIOucoeNL7XXgS8oINJiY9f1yxbNsWiStD/hjpNUi YMzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=zomKjMWIzPWrEYw6ovqJZadIuaIS2jNkIlpZKRH8vHs=; b=SiggOv0c/jr8X/afG0dftX2jQDieCGXsWuoBKH9Au7AlACbKLM5xiocfWFxpTiuHLO JrupFPiA5Ysu8GM+GUsPCCszcXIwMAvGOgwUuGYgk9QxrEWPQmhfNIhUcWAenTLsGdaT 8ATou2ywNS3/o/oYzDlgSaqYv1v3PUC7YKEPdRL+iVesDI22/EMvUoB4Cn7I0m9eTzLu jwwVFt7oVWZ7xoybYx2lWdw/ctwq/DoguUrZQRcArhTQpNGC9RESxbQTtxSe4G4MTGZF 6Eg0ozZ/LfzoGt+sKOaDes5oX3hvC6B5Ak27e9i3igE+a190LvRXOopmdCkafTL/VwGE muBg== X-Gm-Message-State: AOAM530BTOJJS1IS2Wace0nb3HBgdV4pCXq+WxQ+UC1eGpSa8Dnfuy0W 2nAkCajQ80nYoDBwTVO4fijCkw== X-Received: by 2002:a1c:2ec6:: with SMTP id u189mr173565wmu.31.1606247047808; Tue, 24 Nov 2020 11:44:07 -0800 (PST) Received: from dell.default ([91.110.221.235]) by smtp.gmail.com with ESMTPSA id d134sm200511wmd.8.2020.11.24.11.44.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Nov 2020 11:44:07 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 07/40] drm/amd/amdgpu/amdgpu_psp: Make local function 'parse_ta_bin_descriptor' static Date: Tue, 24 Nov 2020 19:37:51 +0000 Message-Id: <20201124193824.1118741-8-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201124193824.1118741-1-lee.jones@linaro.org> References: <20201124193824.1118741-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6?= =?utf-8?q?nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c:2576:5: warning: no previous prototype for ‘parse_ta_bin_descriptor’ [-Wmissing-prototypes] Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c index 74cbaf2126982..910e89dc324b8 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c @@ -2573,9 +2573,9 @@ int psp_init_sos_microcode(struct psp_context *psp, return err; } -int parse_ta_bin_descriptor(struct psp_context *psp, - const struct ta_fw_bin_desc *desc, - const struct ta_firmware_header_v2_0 *ta_hdr) +static int parse_ta_bin_descriptor(struct psp_context *psp, + const struct ta_fw_bin_desc *desc, + const struct ta_firmware_header_v2_0 *ta_hdr) { uint8_t *ucode_start_addr = NULL;