From: kernel test robot <lkp@intel.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
linux-kernel@vger.kernel.org
Subject: arch/arm/mach-omap2/cpuidle44xx.c:88: warning: expecting prototype for omap_enter_idle_[simple/coupled](). Prototype was for omap_enter_idle_simple() instead
Date: Sat, 29 Apr 2023 20:54:15 +0800 [thread overview]
Message-ID: <202304292001.RvJU7sWm-lkp@intel.com> (raw)
Hi Arnd,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 89d77f71f493a3663b10fa812d17f472935d24be
commit: 09f6b27d5ddd9ad0ec096d1b0f8decdacc70f0f8 ARM: dove: multiplatform support
date: 1 year, 1 month ago
config: arm-randconfig-r034-20230429 (https://download.01.org/0day-ci/archive/20230429/202304292001.RvJU7sWm-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project 437b7602e4a998220871de78afcb020b9c14a661)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=09f6b27d5ddd9ad0ec096d1b0f8decdacc70f0f8
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 09f6b27d5ddd9ad0ec096d1b0f8decdacc70f0f8
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202304292001.RvJU7sWm-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> arch/arm/mach-omap2/cpuidle44xx.c:88: warning: expecting prototype for omap_enter_idle_[simple/coupled](). Prototype was for omap_enter_idle_simple() instead
vim +88 arch/arm/mach-omap2/cpuidle44xx.c
9db316b6bf0234 Paul Walmsley 2012-12-15 74
98272660970a71 Santosh Shilimkar 2011-08-16 75 /**
db4f3dab629109 Santosh Shilimkar 2013-04-05 76 * omap_enter_idle_[simple/coupled] - OMAP4PLUS cpuidle entry functions
98272660970a71 Santosh Shilimkar 2011-08-16 77 * @dev: cpuidle device
98272660970a71 Santosh Shilimkar 2011-08-16 78 * @drv: cpuidle driver
98272660970a71 Santosh Shilimkar 2011-08-16 79 * @index: the index of state to be entered
98272660970a71 Santosh Shilimkar 2011-08-16 80 *
98272660970a71 Santosh Shilimkar 2011-08-16 81 * Called from the CPUidle framework to program the device to the
98272660970a71 Santosh Shilimkar 2011-08-16 82 * specified low power state selected by the governor.
98272660970a71 Santosh Shilimkar 2011-08-16 83 * Returns the amount of time spent in the low power state.
98272660970a71 Santosh Shilimkar 2011-08-16 84 */
db4f3dab629109 Santosh Shilimkar 2013-04-05 85 static int omap_enter_idle_simple(struct cpuidle_device *dev,
dd3ad97c5621aa Santosh Shilimkar 2011-12-25 86 struct cpuidle_driver *drv,
dd3ad97c5621aa Santosh Shilimkar 2011-12-25 87 int index)
dd3ad97c5621aa Santosh Shilimkar 2011-12-25 @88 {
dd3ad97c5621aa Santosh Shilimkar 2011-12-25 89 omap_do_wfi();
dd3ad97c5621aa Santosh Shilimkar 2011-12-25 90 return index;
dd3ad97c5621aa Santosh Shilimkar 2011-12-25 91 }
dd3ad97c5621aa Santosh Shilimkar 2011-12-25 92
:::::: The code at line 88 was first introduced by commit
:::::: dd3ad97c5621aa853843dd5e6783ca787466158c ARM: OMAP4: CPUidle: Use coupled cpuidle states to implement SMP cpuidle.
:::::: TO: Santosh Shilimkar <santosh.shilimkar@ti.com>
:::::: CC: Kevin Hilman <khilman@ti.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
reply other threads:[~2023-04-29 12:59 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=202304292001.RvJU7sWm-lkp@intel.com \
--to=lkp@intel.com \
--cc=arnd@arndb.de \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox