All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Aneesh Kumar K.V (Arm)" <aneesh.kumar@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev, 0day robot <lkp@intel.com>
Subject: include/linux/swiotlb.h:236:36: error: static declaration of 'swiotlb_adjusted_size' follows non-static declaration
Date: Thu, 10 Sep 2026 17:39:16 +0200	[thread overview]
Message-ID: <202609092003.yIZwwi2l-lkp@intel.com> (raw)

tree:   https://github.com/intel-lab-lkp/linux/commits/Aneesh-Kumar-K-V-Arm/dma-swiotlb-Centralize-default-pool-policy-selection/20260904-154807
head:   946f0f99e295541ece6b88a541cb0552bf53a305
commit: 4ec8b860ec4014ba52aefcafbb9c178b95b5b967 dma: swiotlb: Centralize memory-encryption pool sizing
date:   3 days ago
config: i386-randconfig-2006-20250825 (https://download.01.org/0day-ci/archive/20260909/202609092003.yIZwwi2l-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260909/202609092003.yIZwwi2l-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/202609092003.yIZwwi2l-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from arch/x86/kernel/setup.c:28:
>> include/linux/swiotlb.h:236:36: error: static declaration of 'swiotlb_adjusted_size' follows non-static declaration
     236 | static inline unsigned long __init swiotlb_adjusted_size(void)
         |                                    ^~~~~~~~~~~~~~~~~~~~~
   In file included from include/linux/crash_reserve.h:9,
                    from include/linux/kexec.h:19,
                    from include/linux/crash_dump.h:5,
                    from arch/x86/kernel/setup.c:12:
   arch/x86/include/asm/crash_reserve.h:21:22: note: previous declaration of 'swiotlb_adjusted_size' with type 'long unsigned int(void)'
      21 | unsigned long __init swiotlb_adjusted_size(void);
         |                      ^~~~~~~~~~~~~~~~~~~~~


vim +/swiotlb_adjusted_size +236 include/linux/swiotlb.h

   235	
 > 236	static inline unsigned long __init swiotlb_adjusted_size(void)
   237	{
   238		return 0;
   239	}
   240	

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2026-09-10 15:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202609092003.yIZwwi2l-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=aneesh.kumar@kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.