Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2050014pxu; Tue, 24 Nov 2020 15:53:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJz3KkjTZ6SpWf88ynFxDcDVXKjUI2OZf/PTrsmoH8H5lYAjWBxqBmqQn0vZktJIlnSlw6xr X-Received: by 2002:a05:6402:3089:: with SMTP id de9mr1024970edb.100.1606262019808; Tue, 24 Nov 2020 15:53:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606262019; cv=none; d=google.com; s=arc-20160816; b=gUKL5CGCF9OzJxpoKDVU1TsXefh3EDv/UluR4nMj7j4r5uLXXmShobkGZtwEwsDcNu fUoxGCvP67LFuEcWB/IkojProNKGSv43gq4LEPjvCdltidesZYdqXq23Ol8tumR2v5nA QmscgJp/vYOyhQpPHD3PFl55YSqJZP2CzmHpmIg8e6lvv57B8jYjCF3CMJTp6imCTczG JyfGjlCz40ZXHFi3YccOVkl2M43arjwMl+i9KvJ1WsChfWMj0igMcFA+qHyh28BcqM9B hiuaLn+/xXnHPgI0366akGkp9QtnzHwIj2eZY3erkGaZ6SWie01tzKGucc1CREIDD71v rfdw== 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:cc:to:from :dkim-signature; bh=zomKjMWIzPWrEYw6ovqJZadIuaIS2jNkIlpZKRH8vHs=; b=nLf26fWkPcBk0FSB1TZmGD1lyyBjJl0eNLf716T6eHOnwkZ38jIYMH6+feoA5XNov3 2pu9yYtRYkpcPuJujbOvG+juyfhGHoGoIYX9R0VP+Ery/K0MLooB0YsoTOWxqeSv8nOM dy0XhCS2vyrY+9fb9Vee1s/OEBXWIrtpLcGc4zQ8zZ3w80hWof4K76qtb0cJhPohJaLe M7H6GWErc1hY/uIdRKTp2aO69EHqMYQlEUYQca89vSOYph5ABiqmObrPcth3ueQ+AD+G mI7FOBqnnjWRXl/BYd1DVk4MKGYaHSz4m+g8cXHWM3Fc7jqt47cvblsOdoX/8RMSNXkD NwlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Cybaq8YB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y17si253639ejw.322.2020.11.24.15.53.17; Tue, 24 Nov 2020 15:53:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Cybaq8YB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728254AbgKXTrl (ORCPT + 99 others); Tue, 24 Nov 2020 14:47:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726709AbgKXToK (ORCPT ); Tue, 24 Nov 2020 14:44:10 -0500 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17AF0C061A4F for ; Tue, 24 Nov 2020 11:44:09 -0800 (PST) Received: by mail-wm1-x343.google.com with SMTP id x13so80593wmj.1 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=UjAPpgnhhCoapzpGvYW3occSn2qxcQz4sVAMM/UVFz3C5ggscUDNvQv3RVgxVQ5qIx OljnYm1QeixgaRIWsJTnq0hirpFYAVc9GmzUNxM0QpDrq6Y3Sq2UjxK2McKKFDlArPNS 1yxh2K9I2UOapS+1B5UBcNU8f4RSE3deFENNHWbnPCvlGGocpvPTpmBZWVXLU60csiRV SULKZRjmNGC+pYUexBkmg/GYFS8U5aC4QoFIyuLR9Dy9BDNViQ++0Ydd/acAQLrzJd1m 5sZFEn4pxnOCKZLB0pCU4Jtg7dlS2bzyt8USM2JuAQEpAiqu5xG4K8zqNjAG30oqU4cG YFZA== X-Gm-Message-State: AOAM533vfImWykTF08+CV3KrKeCzPTGwteDwg//HLxbAmi8EH+9RCvoq ryJ8JGbJLWrTEtw3cbsYxI7zMA== 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 Cc: linux-kernel@vger.kernel.org, Alex Deucher , =?UTF-8?q?Christian=20K=C3=B6nig?= , David Airlie , Daniel Vetter , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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; -- 2.25.1