Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp37959pxb; Tue, 12 Jan 2021 19:18:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJxyVQ334ESvJY4XbwbNP1pLC5KknpBFgcdfbWMsxYIAt+DpNzdBp/3b4RahiMzWTnIadDJl X-Received: by 2002:a50:b223:: with SMTP id o32mr116065edd.79.1610507923133; Tue, 12 Jan 2021 19:18:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610507923; cv=none; d=google.com; s=arc-20160816; b=R67CEY9FSeXV5iehA2MVlmIyf1KFCsBXT4M9qrpBRIT4Ql7rYqTtvBHK/T62I6sLl2 e+fQcF1qswbbTsPiwfojx9+CrSiAw4yiGAUo7XcCi82itjwO24rY50u8IcTFeQxZc0py UL1XPjUG2vx2x1HAm498Pmo8jekyFAWMNsvUjXgCi1ES1rABhgBhPLgCqSBFBB1FEIbc l5lg6Gush8izvozppp0YPPd51JQFQx7JC8iVSeUxMeO7Pdd6qGgu25kIOsf5b+6wsB4F YhsOi+ptOOKBthJ0pKMtXr83dcRsUL492YJfCV8e+PjqyjaTLumAqoakiVwdChE9Oln3 mpow== 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=RBVtaHdcQr8AlNJUiFJGPz+6ofz2SELMI2v9FhPS71Y=; b=mG9b1fBZrxC6ooh4LHcPNxOuDxUQ/Db/RxMNc6mZo43VyQvZYlR8crqjJ6rPbKSG7Y Lh1T6MUsIkTsgzRjjR4Ag/xWaKADPtNXZpYFu4pyxZcdbGh71x3BZePWij4f3VAFgoU+ IRpYMPC0XVCvSp6fxTlVLNDXwwh91Tm3erPY0oVUPnsCXbAtWpCVZJQNsSYPirx4znoS p96tT13bTzPDRuUWEu2RghnFkL8x5XXKRRTGWjOXEEzNiREXSnxHaNor6jikaqlqvHMq xKWX8aJfsT3xZ1foSaAj8cuUHytXz9pbOxEJaFWW+LzNeuJAnhNv9cTZxgdF2Ux+23HM QTTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=aOvWUfVq; 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 n25si369407edw.77.2021.01.12.19.18.19; Tue, 12 Jan 2021 19:18:43 -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=aOvWUfVq; 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 S2394664AbhALWgF (ORCPT + 99 others); Tue, 12 Jan 2021 17:36:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727074AbhALWgF (ORCPT ); Tue, 12 Jan 2021 17:36:05 -0500 Received: from mail-ot1-x334.google.com (mail-ot1-x334.google.com [IPv6:2607:f8b0:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3EA95C061575 for ; Tue, 12 Jan 2021 14:35:25 -0800 (PST) Received: by mail-ot1-x334.google.com with SMTP id x13so40070oto.8 for ; Tue, 12 Jan 2021 14:35:25 -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=RBVtaHdcQr8AlNJUiFJGPz+6ofz2SELMI2v9FhPS71Y=; b=aOvWUfVqqcCVbTNyxyI42GpQ0qD41QueTQ+Zjs7OV6xW3pUqQ60xMpGe7wWwXe0ukd rVXjtQ9CTJVP+hzzpSd+2tyZUi4ZqGSe/qTbwnCQZ50OaaiMI30XCZihRQiCuQ3ulj4o nA3gEH/WBcAbTN6IUL/kh3TIW3Z35NHMDxBlVhWwT3c0RHSGcLEoBtZJZ/s9ZEpj0E4q lS3Yd0eX+Yktoi1sJ8vaDAb1lM/ml3tzrioetWkf7kKzvhiixqHlm5M5t0WHMPm8kSvS /3lS5f0seacmisWtNnKkIkvSRLeNujXWU4i3jXn6tCSf7Ev95GS175262wffpd2u36NR P9MA== 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=RBVtaHdcQr8AlNJUiFJGPz+6ofz2SELMI2v9FhPS71Y=; b=f7dVArKWBxQQCCVZmXf0pol1ZAS97qHQdXtxHy3ZmADA7WVNnQw182oDGpZp8gKnyd Sa9HqijNO4AlhYxGsjKbWzKzsm9ltNFWnpUuQSJ4PLvYmg6BhhxQvcv4422ot4ctTRYF xzy7LR+7VUp6FG+WMxJqG+9q5qT48t9sGdG3OoCJfRoPu10pSxxU+Cg4gHnfWPoa1TKT mqdZ+f8YdCgDqkyCiptEuLt/owpsDea0/eyzhFplDZwQhScnab3QzzZ70BCcFq32GCXj O1J3g360Tc6F/VRMuz4yD62Xxr47fGQwi7rV4+Q+CRyfaY5zlziGAKfubHKtTc87w1Bi bdzg== X-Gm-Message-State: AOAM532OkSpC12Stg9t5Mu47h3ZQp219AVkMU/hoqJkZdwXUXVQh6EwL /PXorHbRlNStYWsHcBwyAHIaViAAQZGacjFXe/s= X-Received: by 2002:a05:6830:1b7b:: with SMTP id d27mr1142211ote.132.1610490924728; Tue, 12 Jan 2021 14:35:24 -0800 (PST) MIME-Version: 1.0 References: <20210111191926.3688443-1-lee.jones@linaro.org> <20210111191926.3688443-33-lee.jones@linaro.org> In-Reply-To: <20210111191926.3688443-33-lee.jones@linaro.org> From: Alex Deucher Date: Tue, 12 Jan 2021 17:35:13 -0500 Message-ID: Subject: Re: [PATCH 32/40] drm/amd/display/dc/dce110/Makefile: Ignore -Woverride-init warning To: Lee Jones Cc: 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 Mon, Jan 11, 2021 at 2:20 PM Lee Jones wrote: > > Fixes the following W=3D1 kernel build warning(s): > > In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dc= e110_resource.c:66: > drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_11_0_sh_mask.h:59= 36:51: warning: initialized field overwritten [-Woverride-init] > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_stream_encoder.h:116:16= : note: in expansion of macro =E2=80=98DIG_FE_CNTL__DIG_STEREOSYNC_SELECT__= SHIFT=E2=80=99 > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_stream_encoder.h:306:2:= note: in expansion of macro =E2=80=98SE_SF=E2=80=99 > drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_resource.c:272:3:= note: in expansion of macro =E2=80=98SE_COMMON_MASK_SH_LIST_DCE110=E2=80= =99 > drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_11_0_sh_mask.h:59= 36:51: note: (near initialization for =E2=80=98se_shift.DIG_STEREOSYNC_SELE= CT=E2=80=99) > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_stream_encoder.h:116:16= : note: in expansion of macro =E2=80=98DIG_FE_CNTL__DIG_STEREOSYNC_SELECT__= SHIFT=E2=80=99 > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_stream_encoder.h:306:2:= note: in expansion of macro =E2=80=98SE_SF=E2=80=99 > drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_resource.c:272:3:= note: in expansion of macro =E2=80=98SE_COMMON_MASK_SH_LIST_DCE110=E2=80= =99 > drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_11_0_sh_mask.h:59= 38:52: warning: initialized field overwritten [-Woverride-init] > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_stream_encoder.h:116:16= : note: in expansion of macro =E2=80=98DIG_FE_CNTL__DIG_STEREOSYNC_GATE_EN_= _SHIFT=E2=80=99 > drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_stream_encoder.h:307:2:= note: in expansion of macro =E2=80=98SE_SF=E2=80=99 > drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_resource.c:272:3:= note: in expansion of macro =E2=80=98SE_COMMON_MASK_SH_LIST_DCE110=E2=80= =99 > drivers/gpu/drm/amd/amdgpu/../include/asic_reg/dce/dce_11_0_sh_mask.h:59= 38:52: note: (near initialization for =E2=80=98se_shift.DIG_STEREOSYNC_GATE= _EN=E2=80=99) > > NB: Snipped for brevity > > Cc: Harry Wentland > Cc: Leo Li > Cc: Alex Deucher > Cc: "Christian K=C3=B6nig" > Cc: David Airlie > Cc: Daniel Vetter > 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/dce110/Makefile | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/gpu/drm/amd/display/dc/dce110/Makefile b/drivers/gpu= /drm/amd/display/dc/dce110/Makefile > index d564c0eb8b045..84ab48df0c261 100644 > --- a/drivers/gpu/drm/amd/display/dc/dce110/Makefile > +++ b/drivers/gpu/drm/amd/display/dc/dce110/Makefile > @@ -23,6 +23,8 @@ > # Makefile for the 'controller' sub-component of DAL. > # It provides the control and status of HW CRTC block. > > +CFLAGS_$(AMDDALPATH)/dc/dce110/dce110_resource.o =3D $(call cc-disable-w= arning, override-init) > + > DCE110 =3D dce110_timing_generator.o \ > dce110_compressor.o dce110_hw_sequencer.o dce110_resource.o \ > dce110_opp_regamma_v.o dce110_opp_csc_v.o dce110_timing_generator_v.o \ > -- > 2.25.1 > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel