Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp612706pxb; Fri, 8 Jan 2021 13:21:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJwi8bzrekGzHyHBsQQ9+1gsITjCfur+w62PzTwyWgW+9wcPcD0o7f2gt4K4Prv2vImwVm3X X-Received: by 2002:a50:d552:: with SMTP id f18mr6504008edj.168.1610140864423; Fri, 08 Jan 2021 13:21:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610140864; cv=none; d=google.com; s=arc-20160816; b=ka8CmaaQ9Fbrmf4jQuoEf4SiSuRSmnhwMiodmw+6rrV/U9b/Ja4Y+m8iabdcyKm8Qe hZRilbvSNqjTCFcDkxGKab5NRF9MaKFt/qqCrdlamJweI7SDzFbOmydNBCxDvp5RCCYN ncLEFlYxbEgnNid2FM3mNQkPj87NCxmIR4Fu/o+Hlxl2+Nfmy8J9ofYJgldKZtb1NMwB NHXB4f5LIXWkGv2iyBLz81z6lsGw9RfGtsvXezwpcA65dhNoB0rwqjpv0rJQmqngo2bZ omsRGPFgskMVyaY9ojGppdmSUemi3rnZV5NkW4ArTnpCpLP2h1QZrqrEEKFmXYfW8trC SXYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=4ELcB1n16HnyQ+PPet2qQqyGcOAAV6Ox4dEHeBx+UOQ=; b=GAnUn0ph3BOIg4ynypJc2iexGX3Phu7WU6FSXw5087MuetBGfwK+xEZwAluksWLVzO +PRLI+9/rYbk4DlQwdLaraVOQtcYiHT6jQ9Ihr55XthiA2Yt4U5lEPk+uNEluSruhSau JNaiaOqjQv29OD9W+pKIV9s+vQfw30STxfHKibaZYjG38LmW2735KiwqqKfuv6+lZYyn h/yuWiwVjy1gdsebHMaBhOGtgs+5DFaTcb2jF5XXW3fjZewyPKIr4tDTxXU+iLEQ1I0R tcJkx/7bA9jhkx0pq5tTk2A6xirUyIGtyn78stH2/JX3l8fJnOubyj6TwiJdooHU7WK7 0Xvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="hLIj/KKW"; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gw26si3911327ejb.537.2021.01.08.13.20.41; Fri, 08 Jan 2021 13:21:04 -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=@gmail.com header.s=20161025 header.b="hLIj/KKW"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729423AbhAHVSq (ORCPT + 99 others); Fri, 8 Jan 2021 16:18:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728890AbhAHVSp (ORCPT ); Fri, 8 Jan 2021 16:18:45 -0500 Received: from mail-ot1-x330.google.com (mail-ot1-x330.google.com [IPv6:2607:f8b0:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E915C061574 for ; Fri, 8 Jan 2021 13:18:05 -0800 (PST) Received: by mail-ot1-x330.google.com with SMTP id b24so11117312otj.0 for ; Fri, 08 Jan 2021 13:18:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=4ELcB1n16HnyQ+PPet2qQqyGcOAAV6Ox4dEHeBx+UOQ=; b=hLIj/KKW2I5OAEqC6oizpKmGpdvX7cKwHI5APTXltw2iaT5tY6p8sBnNeSQxT/CgdA Qfsni1x/hVSULOp2KDdVHyNLIYaxWqHl+YXO27uZGMvgy2Eao3KxJ5t17ssqz27qOHvY DSQZ4Km+A5F/spGhUpzPQY0tp2/0rUYEeKXo5ISyBUf7nXeeKEyWhmxf6GGdo8O4gJSe v1lU1rxVJaaR8/SWtbD5NQcGN9xFvReg+63xlDf6febIC+/ubMWO9WMl1FGEbNL1faD6 MKP5nPLcMBCrKyNfhehpf8NhjQENNLlnmLItBK8w6FBqdVMiUJCjdyB8IVkV5Hqozw4e uasg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=4ELcB1n16HnyQ+PPet2qQqyGcOAAV6Ox4dEHeBx+UOQ=; b=tgIccmoK6HkZdPVj5Nq6e78QrUORoqHhFhNdUkEufe1H5EKf0WkrapKy0TVR1lCnnm wKlpeUtAtVN0/GhidqbdI3RRmLIh7GQrfnXPMCxk2z1/N77Sc4989ysdCC/7y8xDDjXs CGdekocsgSeG/iClqYQT2xDJ98wDVtxTvxhKppIvVjloDpRGVQSZpCMEwgF+yNjb9uHp h+Qn9AcNUBvdFaov42nYDBIaxX1HjxnEgA31j6z/vmdJBQ7wn1jSqiYyjd8T95Gzgnny 2Ee2rStIJGRGY7xf+z1d9S0WTqyMREvLksq6wcMwQfUGB8AFydtg+ZG/o/z7Hv7YxftT 2Dpg== X-Gm-Message-State: AOAM530v2/FDZuvSKkkg2csMJNUv/ZASGailzOf67B+Ot7ZuHDbyBtm+ vlMwmu8P86r2/MWxsoh48UUn/+syhaN3l7Fko6w= X-Received: by 2002:a05:6830:1d66:: with SMTP id l6mr3890500oti.23.1610140684949; Fri, 08 Jan 2021 13:18:04 -0800 (PST) MIME-Version: 1.0 References: <20210108201457.3078600-1-lee.jones@linaro.org> <20210108201457.3078600-30-lee.jones@linaro.org> In-Reply-To: <20210108201457.3078600-30-lee.jones@linaro.org> From: Alex Deucher Date: Fri, 8 Jan 2021 16:17:53 -0500 Message-ID: Subject: Re: [PATCH 29/40] drm/amd/display/dc/dce/dce_dmcu: Staticify local function call 'dce_dmcu_load_iram' To: Lee Jones Cc: Krunoslav Kovac , Leo Li , LKML , amd-gfx list , David Airlie , Maling list - DRI developers , Alex Deucher , =?UTF-8?Q?Christian_K=C3=B6nig?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 8, 2021 at 3:15 PM Lee Jones wrote: > > Fixes the following W=3D1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_dmcu.c:74:6: warning: n= o previous prototype for =E2=80=98dce_dmcu_load_iram=E2=80=99 [-Wmissing-pr= ototypes] > In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_d= mcu.c:31: > > Cc: Harry Wentland > Cc: Leo Li > Cc: Alex Deucher > Cc: "Christian K=C3=B6nig" > Cc: David Airlie > Cc: Daniel Vetter > Cc: Krunoslav Kovac > Cc: amd-gfx@lists.freedesktop.org > Cc: dri-devel@lists.freedesktop.org > Signed-off-by: Lee Jones Applied. Thanks! Alex > --- > drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c b/drivers/gpu/= drm/amd/display/dc/dce/dce_dmcu.c > index f3ed8b619cafd..fa2b47d41ee2f 100644 > --- a/drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c > +++ b/drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c > @@ -71,7 +71,7 @@ static bool dce_dmcu_init(struct dmcu *dmcu) > return true; > } > > -bool dce_dmcu_load_iram(struct dmcu *dmcu, > +static bool dce_dmcu_load_iram(struct dmcu *dmcu, > unsigned int start_offset, > const char *src, > unsigned int bytes) > -- > 2.25.1 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel