Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp466723yba; Wed, 24 Apr 2019 04:33:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqy27IZUrgyA/XR0gJAdKLz4UowP71jDdCei6n91VYY4CoapIPED9LSSZoCtzZ2kyEbTjjRC X-Received: by 2002:a17:902:59d7:: with SMTP id d23mr24198422plj.197.1556105582525; Wed, 24 Apr 2019 04:33:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556105582; cv=none; d=google.com; s=arc-20160816; b=srGgMVoPjyj+/K27XKoNG4HwlB9jAIsGvq5NSUxLxeLJHKYRP0W3ot2MFumyB/p9Y6 YSNR2UqUciWfAvu2X802/fYPrq2/ZB7fyH91pP6MYf9AoVjOHpRoguz/+ulCW51WSa0b /UXSvfKwb+MsEzk8RTLUw5arD3PWy26GTInTLGnn3tS3QK+u9E9HveTcATFoDHfepXXM KgrBqFgAhY8/EguWE7jA/vql49qf1xyt7rLdOCk5bIkD8Qg/1/J5fsZejZAlLxFzbkrc ujojDZJYXGziTuVEUGaBDhg8NJz63m1ntfoe9aRh5rEkjRF8uuSsbTjd/Oml5Ae2qcDl EM7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=9pWZS7yFlm3jCGx8ZoRRFTXnaq8fMPphdAp4nx9YpaA=; b=C0NSNPImhmLohR8/gtLPBmNecUDpDf0bzC1N6twtgT3FK7YWfZTGRD0Y94zH5g6mmJ Dx9w+07aMQlZd+zT3mbBHpboKkGc2PTlWz8eIyCHJ+nyHgVqjB6Ru6k9R5sJi+5oTPr7 ADCQJhPqrfynJks+ooej3Pq1B9YtkEbtDHGu1Ln0E7zxWBsDz+zCT/vpldrH7YNPOoIg RNnBX87XBCIcLsrxc4gS8w56x+SOk4ylCQi8sJ/qS+x6OxQ6wsLgitT8Bn/1LGUl0YXe 1e4d3r0v76XyRaXunkjUvMyAUG3zKHg7qZPSwNGc2DeEs3FRC6+m2g3udnjbATqK5hXp M77Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AjMvfUJL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id c12si17561502pgj.461.2019.04.24.04.32.47; Wed, 24 Apr 2019 04:33:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AjMvfUJL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1729384AbfDXLH2 (ORCPT + 99 others); Wed, 24 Apr 2019 07:07:28 -0400 Received: from mail-vs1-f65.google.com ([209.85.217.65]:38340 "EHLO mail-vs1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729236AbfDXLH1 (ORCPT ); Wed, 24 Apr 2019 07:07:27 -0400 Received: by mail-vs1-f65.google.com with SMTP id s2so10130348vsi.5 for ; Wed, 24 Apr 2019 04:07:26 -0700 (PDT) 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; bh=9pWZS7yFlm3jCGx8ZoRRFTXnaq8fMPphdAp4nx9YpaA=; b=AjMvfUJLtaiaBpFtR/KeeVTGqisiknyTNgIl7V1GbX6JW7/ewugs9HTuCnDeZJg0rn tu4VmWCxmVi5sruUhlNCwaWPpcDDHiWHf+AFsFD5tEpY0YmpFw+TuvXwjXDcGFGRz72r br/8CdrV7X6QmgVMJGWvRcHuorOAncVooE8pchMemS3y7gB/XkZVUmtlgrD35hBmZ4Yn E4ZX7Ix/asEIRKJuvAhXmWzL3CRiulXTWdCMTwDrf2gNV+cAJnxbte/Me0yL2SOASlUT f4ZOJDWzYF6oS3flMHzkw+lRJu3cZst99COVoKIsU4zQj/qMhHwuLdJwdYmBBTkZUTE7 /pbQ== 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; bh=9pWZS7yFlm3jCGx8ZoRRFTXnaq8fMPphdAp4nx9YpaA=; b=fkJoX6leJrraqaYGAQoDHO2Qlp4tkzkqm4cAzBGaSCw1FDDT1pBH9tqs5zULRtgelR ag7qcOZCNC4O48QvPLfRQV4pMdtZCllTw026k8oMTRVl36ZzuP3PXUswVs0CoY2zdhdD wSJgb5Oo3vEg7PvpXmXosqU8azHGIFgQAHiSoUfjwSfedqGey1miXLUW/ZTSuyBVwWbm 8Z6WEB8rGLqd3qQ5kMyqbNIMH3LmMyCsUOoHOdUv2/ILf7FoSbM4gYw9pHlR1LPAIQaw 0qgfXRr4p206YGAOb/tgCroipGcox0ik4e0MS3ENqOkbHaCjNSASuvo9gNMckrLXhEo9 ocYg== X-Gm-Message-State: APjAAAVNmJ0bU46qIHIWYdjRfwJmkOmkkMfty0lucAZq5iXI7pQm1wMw 4mZo5TUgemQBh6usK5rtS6Wijxs78PhHsDNEc7E= X-Received: by 2002:a67:8210:: with SMTP id e16mr16126262vsd.85.1556104045869; Wed, 24 Apr 2019 04:07:25 -0700 (PDT) MIME-Version: 1.0 References: <20190424055108.19390-1-james.qian.wang@arm.com> In-Reply-To: <20190424055108.19390-1-james.qian.wang@arm.com> From: Emil Velikov Date: Wed, 24 Apr 2019 12:06:55 +0100 Message-ID: Subject: Re: [PATCH] drm/komeda: Mark the local functions as static To: "james qian wang (Arm Technology China)" Cc: Liviu Dudau , "airlied@linux.ie" , Brian Starkey , "maarten.lankhorst@linux.intel.com" , "sean@poorly.run" , nd , Ayan Halder , "Tiannan Zhu (Arm Technology China)" , "Jonathan Chai (Arm Technology China)" , "linux-kernel@vger.kernel.org" , "dri-devel@lists.freedesktop.org" , "Julien Yin (Arm Technology China)" , "Yiqi Kang (Arm Technology China)" , "thomas Sun (Arm Technology China)" , "Lowry Li (Arm Technology China)" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 24 Apr 2019 at 06:51, james qian wang (Arm Technology China) wrote: > > Fix the kbuild test rebot reported warnings: > - symbol was not declared. Should it be static? > - missing braces around initializer > > Depends on: > - https://patchwork.freedesktop.org/series/58976/ > > Reported-by: kbuild test robot > Signed-off-by: James (Qian) Wang > --- > .../gpu/drm/arm/display/komeda/d71/d71_component.c | 9 +++++---- > drivers/gpu/drm/arm/display/komeda/komeda_crtc.c | 4 ++-- > drivers/gpu/drm/arm/display/komeda/komeda_dev.c | 4 +++- > drivers/gpu/drm/arm/display/komeda/komeda_drv.c | 2 +- > drivers/gpu/drm/arm/display/komeda/komeda_pipeline.c | 2 +- > .../drm/arm/display/komeda/komeda_pipeline_state.c | 11 ++++++----- > drivers/gpu/drm/arm/display/komeda/komeda_plane.c | 10 ++++++---- > 7 files changed, 24 insertions(+), 18 deletions(-) > > diff --git a/drivers/gpu/drm/arm/display/komeda/d71/d71_component.c b/drivers/gpu/drm/arm/display/komeda/d71/d71_component.c > index c56cfc2de147..031e5f305a3c 100644 > --- a/drivers/gpu/drm/arm/display/komeda/d71/d71_component.c > +++ b/drivers/gpu/drm/arm/display/komeda/d71/d71_component.c > @@ -391,7 +391,7 @@ static void d71_compiz_dump(struct komeda_component *c, struct seq_file *sf) > seq_printf(sf, "CU_USER_HIGH:\t\t0x%X\n", v[1]); > } > > -struct komeda_component_funcs d71_compiz_funcs = { > +static struct komeda_component_funcs d71_compiz_funcs = { Side note: Practically any piece of komeda_component_funcs and komeda_pipeline_funcs could (and should) be constified. -Emil