Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp614899pxb; Fri, 8 Jan 2021 13:25:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJz9xt0SgBU/aEF8RXty9seNUoHeLQqGiLQenJnt1V6oH3qAzwgWDd9cXYzdVqDebYo6X9qq X-Received: by 2002:aa7:cf04:: with SMTP id a4mr6638580edy.99.1610141126749; Fri, 08 Jan 2021 13:25:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610141126; cv=none; d=google.com; s=arc-20160816; b=DfBH48kMcXhXE9l5KnLY3h25YIXx1EsyD95y0gxJ6a7Qs5mbEEHeJEDgh5kl0iOKBn 2+QOYQOMv2b2RPGI4MMgPpgNv8Q8DnYNIieg800gn7jPIxjfZd8mMEHN/UVjB8AQjCDI akHCQyy6rYrWl0w4rpJjJH4Xsx53GQifK4cI7wybuX3zE+txeJWQ6Yiylw0Tf8uWYWFo WnMxS6D55Fci3VXc2W09GsMXW0B0YIyn1zNvQZkqPe9k7QXPbx5MsgDQKWwXEiQyZS+o Q+gz7uw3B5UUZ2cJT+uAW8wX2bLBAT6i+eTMZkS2fur35waUqluxlSwaV9DjcEwlquv+ NExA== 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=aCoAbGKkVysmTlB8nOnLajkPksJNfkFdrsTwnEpGsSI=; b=V27N1kQ8bimSVKlVcYCmqexBhN4fKVmLQvlUvElv3HMXuBhTPPDQsmbORUacMyQBgF p8toE9LyEZeH/X6iFiVMAFpNzIQITYdteRTiJmdDifea5nVVQTUvvBkuIxpm6HIlvpDl AgEPPqaGWM1izvIHMTGw9AYJdNby5l8wIVGLaLIoyYAoZOPCFVzgjR1oAKy7nairFgl1 XZeIEtKZo28r4JT24aHfklDwlDC4/jVHq3S148P66i9vJYADaKrSzH3Jz4wHM+TBVi8q SKRi9sY+2A2CIf8gL9irBunWDchWUxywFLaiIca7GESJy9mevaLuaoKCT7iWqcWcUlXI a9JA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dw8z5uqc; 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 v18si3849000ejb.13.2021.01.08.13.25.03; Fri, 08 Jan 2021 13:25:26 -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=dw8z5uqc; 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 S1727377AbhAHVY1 (ORCPT + 99 others); Fri, 8 Jan 2021 16:24:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726935AbhAHVY0 (ORCPT ); Fri, 8 Jan 2021 16:24:26 -0500 Received: from mail-ot1-x32f.google.com (mail-ot1-x32f.google.com [IPv6:2607:f8b0:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 995DAC061574 for ; Fri, 8 Jan 2021 13:23:46 -0800 (PST) Received: by mail-ot1-x32f.google.com with SMTP id w3so11013139otp.13 for ; Fri, 08 Jan 2021 13:23:46 -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=aCoAbGKkVysmTlB8nOnLajkPksJNfkFdrsTwnEpGsSI=; b=dw8z5uqcP4yfpvEpx9m+W8twaWwhF8X4C4YEoWC+okMrrLSN5v6vdoivlehcwM4w3K byA8Y+RzIDsNBmPVhbzKcg3unN/BdvyFfaZCPHVqLD29UWDIjHhjGAjdBe4pdEjOwP18 4JWdj9ObeNJjTa0/ZtxRXkP7Gx/DgCKBLOda9cDDT2bT1w0yzEuLc54Gq/tMZd4WNxcQ sQhnrTmTxgwy+GOTfJkw05hxw7UyvNlshkNR2ZyDdtLIsthz5Man2QrnUowaGSz6tUiU lYZbe+E9Thy3pjpjm06DqesLhYnHy5+btBCFzsDf1573SMgRpU9dTN+7zlCb+0IUcAaJ /Ckg== 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=aCoAbGKkVysmTlB8nOnLajkPksJNfkFdrsTwnEpGsSI=; b=t8P1KA21paHcjPcjwQlta8Hd6am96vr/CKk7cNifNfTpNcGfgQ0aVe8fS4i3AP7Gs/ b+9lK05VZQkWqbBzfK9NUzBDBvmuISxnJRnAxQ8N5qmM/jjKrx0aV3GB09yF7sXINUOY +tMH9bNB3wXFA8twsz9alNKlILvxfru1hmbMlIi1veUMsOTRuiefubNxYHFmjWQzBOg0 ty2bkiY3PQqj0dn9JZNzkikYK61eK+R78vXpgHHR5RRY3uGL5UoNdtXfbaiS5mweOpX4 Y/BhogsUVoddd7iY2CF62/ur19MHVCgN0YjffKmiJIta/nWSVdhXQS8TTbNz3OSXvGju nxdw== X-Gm-Message-State: AOAM5325zSomI7yTxFuDwPEGmVYse9avL4FMf6CPEp1hdhIiDv3Q0P65 yIsJVmy3zSBlqwV3uPjxWWsuvilkRgrB+dFPP7dWYHtW X-Received: by 2002:a05:6830:1d66:: with SMTP id l6mr3902194oti.23.1610141024619; Fri, 08 Jan 2021 13:23:44 -0800 (PST) MIME-Version: 1.0 References: <20210108201457.3078600-1-lee.jones@linaro.org> <20210108201457.3078600-37-lee.jones@linaro.org> In-Reply-To: <20210108201457.3078600-37-lee.jones@linaro.org> From: Alex Deucher Date: Fri, 8 Jan 2021 16:23:33 -0500 Message-ID: Subject: Re: [PATCH 36/40] drm/amd/display/dc/dce/dce_i2c_hw: Make functions called by reference static To: Lee Jones Cc: Lewis Huang , 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:16 PM Lee Jones wrote: > > Fixes the following W=3D1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_i2c_hw.c:438:35: warnin= g: no previous prototype for =E2=80=98dce_i2c_hw_engine_wait_on_operation_r= esult=E2=80=99 [-Wmissing-prototypes] > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_i2c_hw.c:505:6: warning= : no previous prototype for =E2=80=98dce_i2c_hw_engine_submit_payload=E2=80= =99 [-Wmissing-prototypes] > > Cc: Harry Wentland > Cc: Leo Li > Cc: Alex Deucher > Cc: "Christian K=C3=B6nig" > Cc: David Airlie > Cc: Daniel Vetter > Cc: Lewis Huang > 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_i2c_hw.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_i2c_hw.c b/drivers/gp= u/drm/amd/display/dc/dce/dce_i2c_hw.c > index 7fbd92fbc63a9..a524f471e0d75 100644 > --- a/drivers/gpu/drm/amd/display/dc/dce/dce_i2c_hw.c > +++ b/drivers/gpu/drm/amd/display/dc/dce/dce_i2c_hw.c > @@ -435,7 +435,7 @@ struct dce_i2c_hw *acquire_i2c_hw_engine( > return dce_i2c_hw; > } > > -enum i2c_channel_operation_result dce_i2c_hw_engine_wait_on_operation_re= sult( > +static enum i2c_channel_operation_result dce_i2c_hw_engine_wait_on_opera= tion_result( > struct dce_i2c_hw *dce_i2c_hw, > uint32_t timeout, > enum i2c_channel_operation_result expected_result) > @@ -502,7 +502,7 @@ static uint32_t get_transaction_timeout_hw( > return period_timeout * num_of_clock_stretches; > } > > -bool dce_i2c_hw_engine_submit_payload( > +static bool dce_i2c_hw_engine_submit_payload( > struct dce_i2c_hw *dce_i2c_hw, > struct i2c_payload *payload, > bool middle_of_transaction, > -- > 2.25.1 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel