From patchwork Thu Nov 26 13:42:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 333015 Delivered-To: patch@linaro.org Received: by 2002:a17:906:4755:0:0:0:0 with SMTP id j21csp156366ejs; Thu, 26 Nov 2020 05:44:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJzdeE2iiC/qYeczio/rxNNKHBoS+dHQpqFx1Bl4cC/tnq+Sf7+h4YScDvgv71BQFn9bYwkg X-Received: by 2002:a17:90a:990f:: with SMTP id b15mr2667242pjp.166.1606398248454; Thu, 26 Nov 2020 05:44:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606398248; cv=none; d=google.com; s=arc-20160816; b=XzEPK9iNFeJnJm1ZyxAcHwE6FRkZ9kzGKw2JraapgBpmVMvmYcLysC9RS9WEpaT0m7 Prn+HyCDPPkJr7WOWAbyHBRXwCFi6pRK7S7btQbWkd7HS84b4PnRQNdmWSANG3+JTFPo pGfGcKvArpN2TuleTAibfxsReM+nbgWrxvgZ7QRtfPyzlAVYLo/XpolLcbCzMzNCTHUR j/9gh8sSxC0YJKlwo9Abrxts7X1Pb/qlmnDuH6Z5cnV0Q8WUaME9Pnrmze7//cTsWdMI xmmTt4vn6TgdErKXqGoMKGFGBw+Ja+Yr6VjsIKqIzkaX4cUwuskYssBo1uskB/S0AuCx nedA== 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=f3wtHnEdXeRjqxOtznCvTbOxcD9eE8dhJFnjd5w0R6M=; b=CsOJFaTE2iC2AyVSi1xvWw+VbuOFJcKD15sBtg1v3kbc3+qm2GfmHeJjUpSsysxLnv q4pmbqJ1i1shxdep58bwxtajSwr1cUFThaNsMoZVwwTzgxsd0b8liDdUg/fgKyydU4IQ 5r19ROZ9SSQ2sHY9xmeH1zU3JcNGqpDpQns4A/1A1um7mlH4h7llLx/eB5P/8+4yg/Jb eRPi1ai0VdQl/N8kU87c1lSws85ZMTs3xX1Ob6S3WwgkswsSlFSNn41uD6HnAYQB9iBa WI+nz8s0njBElnyKcArso49Wv/aRXe9AGNJ2XDKTTwGc9f9iX8OgrAkxkDe0AZ94i1gb 99fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=OhdPMGyI; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id z192si5443554pgz.179.2020.11.26.05.44.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2020 05:44:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=OhdPMGyI; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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 58E786E960; Thu, 26 Nov 2020 13:43:46 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by gabe.freedesktop.org (Postfix) with ESMTPS id 843346E99E for ; Thu, 26 Nov 2020 13:43:44 +0000 (UTC) Received: by mail-wr1-x444.google.com with SMTP id m6so2186656wrg.7 for ; Thu, 26 Nov 2020 05:43:44 -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=SMoItuxgDP7ogQHGcYXarl4I2+ROLy8sCFsG16Aywwg=; b=OhdPMGyIXHI+TAj6MaIkGlRL9xzZ4qWRyHui4ZR+pMaQ/MzD27wZVVBTfPeDNog00z NN3tcAMPCRSSI/h4caCGAL300/4COFpkwzh6agGGfqN6hncmMlw7j3PtU1UxqxkVKqBE Kx3u4BG3SofRKVYlqmEaqTRm47XrknFaSfZkn154BEgBa3g0vXg3i9GxIwnJtSkCCz/0 pGce+BNmaLjB3fcPjyUNY78xB8MCxdDrxEoi5L65AvoElMM8WTdbh9XaC/bhHhuDsllP K3czuao4DwqdPvDwxO4w9U/WhJUFgfC5xxn/gW6UHrM8Dmb5UvG/rLxaxLiMBCsgc1e8 uVnA== 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=SMoItuxgDP7ogQHGcYXarl4I2+ROLy8sCFsG16Aywwg=; b=sni8tRWAEGkGgXVB6HI6BRfd4RxUvSW3kkPhfw8jLd0mcvbGbDzQI21hnNyr7WtmFX 8KlAKQuF8pHY4MSm50SbvYQb4JKNLRrsTQMDoGJo94FGeGapjvE0p/AW33wYxz3uzcYn UkA6V08Jp+HVekX7ftA6tWkLHJCUXVjrtuKHyiC05D6AvjxzwvTnNE/yc2jRwAU0ushI Ds4TK9419JgO4rJr4SrQGgzRn6OCtvj4qT1lMZmnaq3XDf8C+YOQVH5ZGNy05QdrS2Hz LZY0XGi91/5FlRadhC6d7mFEy2teXTVn7sW5SEmFW+TTasU4376sHJ5D0QSr2YDmP98w Tq2A== X-Gm-Message-State: AOAM533QuOpqjkXXVUlifS39xZiQN94ypfZLfVmAmiC3kvhn7BCBGssH A2W05B2UOs7EEHl0gtfXjRvulQ== X-Received: by 2002:adf:fc01:: with SMTP id i1mr4133125wrr.250.1606398223218; Thu, 26 Nov 2020 05:43:43 -0800 (PST) Received: from dell.default ([91.110.221.235]) by smtp.gmail.com with ESMTPSA id k205sm9275738wmk.4.2020.11.26.05.43.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2020 05:43:42 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 40/40] drm/amd/display/dc/basics/vector: Make local function 'dal_vector_presized_costruct' static Date: Thu, 26 Nov 2020 13:42:40 +0000 Message-Id: <20201126134240.3214176-41-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201126134240.3214176-1-lee.jones@linaro.org> References: <20201126134240.3214176-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: Leo Li , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, David Airlie , dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6nig?= 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/../display/dc/basics/vector.c:55:6: warning: no previous prototype for ‘dal_vector_presized_costruct’ [-Wmissing-prototypes] Cc: Harry Wentland Cc: Leo Li 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/display/dc/basics/vector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/basics/vector.c b/drivers/gpu/drm/amd/display/dc/basics/vector.c index 8f93d25f91ee2..706c803c4d3b0 100644 --- a/drivers/gpu/drm/amd/display/dc/basics/vector.c +++ b/drivers/gpu/drm/amd/display/dc/basics/vector.c @@ -52,7 +52,7 @@ bool dal_vector_construct( return true; } -bool dal_vector_presized_costruct( +static bool dal_vector_presized_costruct( struct vector *vector, struct dc_context *ctx, uint32_t count,