From: Philip Li <philip.li@intel.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: kernel test robot <lkp@intel.com>,
Linux Memory Management List <linux-mm@kvack.org>,
<amd-gfx@lists.freedesktop.org>, <imx@lists.linux.dev>,
<intel-xe@lists.freedesktop.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-arm-msm@vger.kernel.org>, <linux-input@vger.kernel.org>,
<linux-mediatek@lists.infradead.org>,
<linux-mtd@lists.infradead.org>,
<linux-trace-kernel@vger.kernel.org>, <netdev@vger.kernel.org>,
Mark Brown <broonie@kernel.org>,
Baolin Wang <baolin.wang@linux.alibaba.com>
Subject: Re: [linux-next:master] BUILD REGRESSION f76698bd9a8ca01d3581236082d786e9a6b72bb7
Date: Tue, 25 Jun 2024 20:55:13 +0800 [thread overview]
Message-ID: <Znq+MVbzKvDAXkaX@rli9-mobl> (raw)
In-Reply-To: <20240624123154.4c3125c3093636de35b407dd@linux-foundation.org>
On Mon, Jun 24, 2024 at 12:31:54PM -0700, Andrew Morton wrote:
> On Sun, 23 Jun 2024 07:11:24 +0800 kernel test robot <lkp@intel.com> wrote:
>
> > tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> > branch HEAD: f76698bd9a8ca01d3581236082d786e9a6b72bb7 Add linux-next specific files for 20240621
> >
> > Error/Warning reports:
> >
> > https://lore.kernel.org/oe-kbuild-all/202406220536.JnAncjqz-lkp@intel.com
> > https://lore.kernel.org/oe-kbuild-all/202406220754.evK8Hrjw-lkp@intel.com
> >
> > Error/Warning: (recently discovered and may have been fixed)
> >
> > drivers/soc/qcom/smsm.c:(.text.qcom_smsm_remove+0x70): undefined reference to `mbox_free_channel'
> >
> > Unverified Error/Warning (likely false positive, please contact us if interested):
> >
> > include/linux/container_of.h:20:54: error: invalid use of undefined type 'struct thpsize'
> > include/linux/list.h:645:25: error: invalid use of undefined type 'struct thpsize'
> > include/linux/stddef.h:16:33: error: invalid use of undefined type 'struct thpsize'
> > mm/huge_memory.c:455:21: error: implicit declaration of function 'to_thpsize'; did you mean 'thp_size'? [-Werror=implicit-function-declaration]
> > mm/huge_memory.c:455:37: error: invalid type argument of '->' (have 'int')
> > mm/huge_memory.c:558:35: error: 'MTHP_STAT_FILE_ALLOC' undeclared (first use in this function); did you mean 'THP_FILE_ALLOC'?
> > mm/huge_memory.c:559:38: error: 'MTHP_STAT_FILE_FALLBACK' undeclared (first use in this function); did you mean 'THP_FILE_FALLBACK'?
> > mm/huge_memory.c:560:45: error: 'MTHP_STAT_FILE_FALLBACK_CHARGE' undeclared (first use in this function); did you mean 'THP_FILE_FALLBACK_CHARGE'?
> > mm/huge_memory.c:579:17: warning: assignment to 'struct thpsize *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
> > mm/huge_memory.c:579:33: error: invalid application of 'sizeof' to incomplete type 'struct thpsize'
> > mm/huge_memory.c:583:44: error: invalid use of undefined type 'struct thpsize'
> > mm/huge_memory.c:608:15: warning: passing argument 1 of 'kfree' makes pointer from integer without a cast [-Wint-conversion]
> >
> >
> > ...
> >
> >
> > |-- x86_64-randconfig-014-20240202
> > | |-- include-linux-container_of.h:error:invalid-use-of-undefined-type-struct-thpsize
> > | |-- include-linux-list.h:error:invalid-use-of-undefined-type-struct-thpsize
> > | |-- include-linux-stddef.h:error:invalid-use-of-undefined-type-struct-thpsize
> > | |-- mm-huge_memory.c:error:MTHP_STAT_FILE_ALLOC-undeclared-(first-use-in-this-function)
> > | |-- mm-huge_memory.c:error:MTHP_STAT_FILE_FALLBACK-undeclared-(first-use-in-this-function)
> > | |-- mm-huge_memory.c:error:MTHP_STAT_FILE_FALLBACK_CHARGE-undeclared-(first-use-in-this-function)
> > | |-- mm-huge_memory.c:error:implicit-declaration-of-function-to_thpsize
> > | |-- mm-huge_memory.c:error:invalid-application-of-sizeof-to-incomplete-type-struct-thpsize
> > | |-- mm-huge_memory.c:error:invalid-type-argument-of-(have-int-)
> > | |-- mm-huge_memory.c:error:invalid-use-of-undefined-type-struct-thpsize
> > | |-- mm-huge_memory.c:warning:assignment-to-struct-thpsize-from-int-makes-pointer-from-integer-without-a-cast
> > | `-- mm-huge_memory.c:warning:passing-argument-of-kfree-makes-pointer-from-integer-without-a-cast
>
> Is there a way for us to obtain that config file?
Sorry, kindly ignore the issues associated with x86_64-randconfig-014-20240202 kconfig.
The bisected reports for it are mostly wrong such as [1], [2] due to bot issue, thus these
wrong info was included in this summary report as well.
[1] https://lore.kernel.org/oe-kbuild-all/202406220112.qjyQbasK-lkp@intel.com/
[2] https://lore.kernel.org/oe-kbuild-all/202406211750.Ks4k82Gi-lkp@intel.com/
>
> "mm: shmem: add multi-size THP sysfs interface for anonymous shmem"
> moved things into mm_tytpes.h but didn't include it so perhaps this
> will fix:
>
> --- a/mm/huge_memory.c~mm-shmem-add-multi-size-thp-sysfs-interface-for-anonymous-shmem-fix-4
> +++ a/mm/huge_memory.c
> @@ -20,6 +20,7 @@
> #include <linux/swapops.h>
> #include <linux/backing-dev.h>
> #include <linux/dax.h>
> +#include <linux/mm_types.h>
> #include <linux/khugepaged.h>
> #include <linux/freezer.h>
> #include <linux/pfn_t.h>
> _
>
prev parent reply other threads:[~2024-06-25 12:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-22 23:11 [linux-next:master] BUILD REGRESSION f76698bd9a8ca01d3581236082d786e9a6b72bb7 kernel test robot
2024-06-24 19:31 ` Andrew Morton
2024-06-25 12:55 ` Philip Li [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Znq+MVbzKvDAXkaX@rli9-mobl \
--to=philip.li@intel.com \
--cc=akpm@linux-foundation.org \
--cc=amd-gfx@lists.freedesktop.org \
--cc=baolin.wang@linux.alibaba.com \
--cc=broonie@kernel.org \
--cc=imx@lists.linux.dev \
--cc=intel-xe@lists.freedesktop.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-mm@kvack.org \
--cc=linux-mtd@lists.infradead.org \
--cc=linux-trace-kernel@vger.kernel.org \
--cc=lkp@intel.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).