Re: arch/arm/mach-s3c/gpio-samsung.c:1309:14: warning: no previous prototype for 's3c2410_modify_misccr'

From: Krzysztof Kozlowski
Date: Thu Nov 11 2021 - 04:09:59 EST


On 10/11/2021 21:56, kernel test robot wrote:
> 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)
> | ^~~~~~~~~~~~~~~~~~~~~
>
>

I'll fix it, thanks!


Best regards,
Krzysztof