arch/arm/mach-s3c/gpio-samsung.c:1309:14: warning: no previous prototype for 's3c2410_modify_misccr'
From: kernel test robot
Date: Wed Nov 10 2021 - 15:59:43 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 89d714ab6043bca7356b5c823f5335f5dce1f930
commit: 71b9114d2c13a648fbe6523dd859e611c316ad90 ARM: s3c: move into a common directory
date: 1 year, 3 months ago
config: arm-randconfig-r006-20211002 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.0
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
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=71b9114d2c13a648fbe6523dd859e611c316ad90
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 71b9114d2c13a648fbe6523dd859e611c316ad90
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All warnings (new ones prefixed by >>):
>> arch/arm/mach-s3c/gpio-samsung.c:1309:14: warning: no previous prototype for 's3c2410_modify_misccr' [-Wmissing-prototypes]
1309 | unsigned int s3c2410_modify_misccr(unsigned int clear, unsigned int change)
| ^~~~~~~~~~~~~~~~~~~~~
vim +/s3c2410_modify_misccr +1309 arch/arm/mach-s3c/gpio-samsung.c
1b39d5f2cc5c28 drivers/gpio/gpio-samsung.c Kukjin Kim 2011-08-30 1307
1b39d5f2cc5c28 drivers/gpio/gpio-samsung.c Kukjin Kim 2011-08-30 1308 #ifdef CONFIG_PLAT_S3C24XX
1b39d5f2cc5c28 drivers/gpio/gpio-samsung.c Kukjin Kim 2011-08-30 @1309 unsigned int s3c2410_modify_misccr(unsigned int clear, unsigned int change)
:::::: The code at line 1309 was first introduced by commit
:::::: 1b39d5f2cc5c28085bbf48db80bf704ab4dedda9 gpio/samsung: gpio-samsung.c to support Samsung GPIOs
:::::: TO: Kukjin Kim <kgene.kim@xxxxxxxxxxx>
:::::: CC: Kukjin Kim <kgene.kim@xxxxxxxxxxx>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip