[soc:arm/multiplatform-late 13/18] arch/arm/mach-s3c/s3c24xx.c:683:9: warning: The platform is deprecated and scheduled for removal. Please reach to the maintainers of the platform and linux-samsung-soc at vger.kernel.org if you still use it.Without such feedback, the platform will be removed...

kernel test robot lkp at intel.com
Mon Apr 25 20:24:56 PDT 2022


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git arm/multiplatform-late
head:   4894b187da71512fa656294ca916e7e73aa3243e
commit: 6a5e69c7ddeacbfcab1ffe501c32e21d7989c0f8 [13/18] ARM: s3c: mark as deprecated and schedule removal
config: arm-s3c2410_defconfig (https://download.01.org/0day-ci/archive/20220426/202204261130.D9GY2vp9-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 1cddcfdc3c683b393df1a5c9063252eb60e52818)
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/soc/soc.git/commit/?id=6a5e69c7ddeacbfcab1ffe501c32e21d7989c0f8
        git remote add soc https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git
        git fetch --no-tags soc arm/multiplatform-late
        git checkout 6a5e69c7ddeacbfcab1ffe501c32e21d7989c0f8
        # 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 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>

All warnings (new ones prefixed by >>):

   arch/arm/mach-s3c/s3c24xx.c:177:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable]
           unsigned long tmp = 0;
                         ^
>> arch/arm/mach-s3c/s3c24xx.c:683:9: warning: The platform is deprecated and scheduled for removal. Please reach to the maintainers of the platform and linux-samsung-soc at vger.kernel.org if you still use it.Without such feedback, the platform will be removed after 2022. [-W#pragma-messages]
   #pragma message "The platform is deprecated and scheduled for removal. " \
           ^
   2 warnings generated.


vim +683 arch/arm/mach-s3c/s3c24xx.c

   681	
   682	#ifndef CONFIG_COMPILE_TEST
 > 683	#pragma message "The platform is deprecated and scheduled for removal. " \

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp



More information about the linux-arm-kernel mailing list