Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp537713pxk; Thu, 17 Sep 2020 09:23:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyPxRC1O3w/gNTYP7Y/dB5r1q6hUfJ4gq8s57kROvdzbbeuQehcYYlg4sLZKIIXN8L1itId X-Received: by 2002:a17:906:6409:: with SMTP id d9mr31142350ejm.344.1600359798869; Thu, 17 Sep 2020 09:23:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600359798; cv=none; d=google.com; s=arc-20160816; b=IHeL9F+Udpvw8u/z0552wownyE8WsYQgZH7twppuQ5lFPFW8uolghImb5vxyCmrvou dQ1VWn8lP51ZqKVtee5bnhlOihDC3WIydtGU8JJSaL4A20q+2tu+ZuUeay3GzaWTdnIW 5A9ET1haJweTIs59tZPmaJMOGa65sUk1jS2wk8AZ2/dHYOpQdWEF8DL3GSyDYE9HzoTR 29N4MBmluIwNeGG+OKIXvlxukRx5xCD5ccmiivYkQxI1PV/dq2PNI31CZf5uYx/e3WGz ZZPWHTh1i1VsXkfjkW4z/jolbKm/kSioDBRFZavAmSTFgsDyNjLu6d5Il0alU55gsQbj zl1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature:dkim-filter; bh=mTFyjjqzXwQDDrMyMujceAFrT3D5DZ9GB1b6zo1PGhc=; b=dz0NkAeXwB418QJ9ayane9KxU361PZ7eRzURmjw23nwRllrJ9VedBdQrncLCgcfNjb ML9NdW1fpu9S34tO/dzj4EyLQiiiYbBL3qqNYjjz0tMy6LKooyQmoA1qwdDq73Ayi3Dt MS+4lr168T84DvM6uJ3AiJLviS3SyWU8LTJcbP9BTEa4+JaWNLMo7P2PR9XOWrsl51S1 89d718P7MUD5jBE1bwuqf0zZ2PMFOzGuUoXGU29pYhdLCvazcEKOrgU2w2J/uEpUse31 YKqlFx1LQBXcUmUMXMlnk3Iqptyvh0VPxE3MKputb3V1rqWykPciIPSw7mVvaHsv35+I jQSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=Fa78KBoi; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id zh8si351250ejb.92.2020.09.17.09.22.54; Thu, 17 Sep 2020 09:23:18 -0700 (PDT) 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=@nifty.com header.s=dec2015msa header.b=Fa78KBoi; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728378AbgIQQR2 (ORCPT + 99 others); Thu, 17 Sep 2020 12:17:28 -0400 Received: from condef-03.nifty.com ([202.248.20.68]:39514 "EHLO condef-03.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728352AbgIQQQb (ORCPT ); Thu, 17 Sep 2020 12:16:31 -0400 Received: from conssluserg-01.nifty.com ([10.126.8.80])by condef-03.nifty.com with ESMTP id 08HGAHUr028024; Fri, 18 Sep 2020 01:10:17 +0900 Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) (authenticated) by conssluserg-01.nifty.com with ESMTP id 08HG7gI6018043; Fri, 18 Sep 2020 01:07:42 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com 08HG7gI6018043 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1600358862; bh=mTFyjjqzXwQDDrMyMujceAFrT3D5DZ9GB1b6zo1PGhc=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Fa78KBoicbBAy01paEcUSp8fmnMryefGfPNS4tUgw51hgHWq/Cp1QPvMSjfD/03qZ gZgIuGTWiTa2HlIojJO5N1xcqjus6kgP6nrJLwBmf3OyfexWFKMb1nejxfLCOvxt1H kE2aBfb5Ap1L4u5IE9+DgIMjSdB+eMFjdcHbDbIwhA3EAyYqadDeKq/Dqm4P4QEk+D ekPJlK7SnmV9ekKWRKtSYPtYNzx29OKHy7YFNPkSAdtuKv3hOzE/AhJLxFgBn2mObo eKx6D08slxorJ68rq75s6+6sB6TsLwutZF6u/rJqIysDcV9CBQTqKw8G+NAeJXO8G4 r/2E1s0XN06HQ== X-Nifty-SrcIP: [209.85.214.176] Received: by mail-pl1-f176.google.com with SMTP id bg9so1381550plb.2; Thu, 17 Sep 2020 09:07:42 -0700 (PDT) X-Gm-Message-State: AOAM532V9j4O06xUrTr8eSFryrYcUu/al7nVcBKPoTcLoclgjK9oQPvn rlKSIr8/2qC4yXV3DqgOuYleSpVRuE7ul3s1e2I= X-Received: by 2002:a17:90b:1211:: with SMTP id gl17mr9333071pjb.87.1600358861790; Thu, 17 Sep 2020 09:07:41 -0700 (PDT) MIME-Version: 1.0 References: <20200908221638.2782778-1-masahiroy@kernel.org> <20200908221638.2782778-2-masahiroy@kernel.org> In-Reply-To: From: Masahiro Yamada Date: Fri, 18 Sep 2020 01:07:04 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 2/2] kconfig: fix incomplete type 'struct gstr' warning To: Boris Kolpackov Cc: Linux Kbuild mailing list , Nathan Chancellor , Nick Desaulniers , clang-built-linux , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 9, 2020 at 11:09 PM Boris Kolpackov wrote: > > Masahiro Yamada writes: > > > Currently, get_relations_str() is declared before the struct gstr > > definition. > > Yes, I also ran into this while building the kconfig code with MSVC. > I just moved the struct gstr definition before lkc_proto.h #include > but your fix works just as well. > > Acked-by: Boris Kolpackov > > > > BTW, some are declared in lkc.h and some in lkc_proto.h, but the > > difference is unclear. I guess some refactoring is needed. > > Yes, please. My (potentially incorrect) understanding is that lkc_proto.h > was for functions that are not (or should not be) used by clients but > should nevertheless have prototypes due to -Wmissing-prototypes. I, > however, believe this no longer holds and so would vote to merge > lkc_proto.h into lkc.h. > > -- > You received this message because you are subscribed to the Google Groups "Clang Built Linux" group. > To unsubscribe from this group and stop receiving emails from it, send an email to clang-built-linux+unsubscribe@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/clang-built-linux/boris.20200909155725%40codesynthesis.com. Applied to linux-kbuild/fixes. -- Best Regards Masahiro Yamada