public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Kees Cook <kees@kernel.org>
To: kernel test robot <lkp@intel.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
	Vlastimil Babka <vbabka@suse.cz>, Arnd Bergmann <arnd@arndb.de>
Subject: Re: include/linux/slab.h:552:15: error: type defaults to 'int' in declaration of 'kmem_buckets_create'
Date: Wed, 28 Aug 2024 18:47:59 -0700	[thread overview]
Message-ID: <202408281843.D8948B2@keescook> (raw)
In-Reply-To: <202408280559.FIsoHAAc-lkp@intel.com>

On Wed, Aug 28, 2024 at 05:21:04AM +0800, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   3ec3f5fc4a91e389ea56b111a73d97ffc94f19c6
> commit: b32801d1255be1da62ea8134df3ed9f3331fba12 mm/slab: Introduce kmem_buckets_create() and family
> date:   8 weeks ago
> config: x86_64-randconfig-072-20240827 (https://download.01.org/0day-ci/archive/20240828/202408280559.FIsoHAAc-lkp@intel.com/config)
> compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240828/202408280559.FIsoHAAc-lkp@intel.com/reproduce)
> 
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202408280559.FIsoHAAc-lkp@intel.com/
> 
> All errors (new ones prefixed by >>):
> 
>    arch/x86/include/asm/fpu/types.h:355:22: note: in expansion of macro 'PAGE_SIZE'
>      355 |         u8 __padding[PAGE_SIZE];
>          |                      ^~~~~~~~~
>    arch/x86/include/asm/page_types.h:10:33: warning: "CONFIG_PAGE_SHIFT" is not defined, evaluates to 0 [-Wundef]
>       10 | #define PAGE_SHIFT              CONFIG_PAGE_SHIFT
>          |                                 ^~~~~~~~~~~~~~~~~

This continues to be a problem with CONFIG_PAGE_SHIFT with this config,
and is a known problem with no clear fix[1]. I think reports could be
silenced for now.

-Kees

[1] https://lore.kernel.org/all/85bb8bbc-f48d-46fd-aebb-03b2f7d3980a@app.fastmail.com/

-- 
Kees Cook

  reply	other threads:[~2024-08-29  1:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-27 21:21 include/linux/slab.h:552:15: error: type defaults to 'int' in declaration of 'kmem_buckets_create' kernel test robot
2024-08-29  1:47 ` Kees Cook [this message]
2024-08-29  2:07   ` Philip Li

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=202408281843.D8948B2@keescook \
    --to=kees@kernel.org \
    --cc=arnd@arndb.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=vbabka@suse.cz \
    /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