All of lore.kernel.org
 help / color / mirror / Atom feed
* [freescale-fslc:pr/383 15436/19551] drivers/soc/imx/soc-imx8.c:339:5: warning: no previous prototype for function 'imx8mp_get_ldo_trim'
@ 2021-07-02  6:18 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-07-02  6:18 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2743 bytes --]

Hi Oliver,

FYI, the error/warning still remains.

tree:   https://github.com/Freescale/linux-fslc pr/383
head:   db8ff65069a384326486a94ec13716a833fbe6fd
commit: 53ecae250dd9e334787ede9eb40e0555b7fd0c00 [15436/19551] MLK-24911-1: soc: imx: Add support to get iMX8mp LDO trim fuse value
config: arm64-randconfig-r011-20210630 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 8d21d5472501460933e78aead04cf59579025ba4)
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 arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # https://github.com/Freescale/linux-fslc/commit/53ecae250dd9e334787ede9eb40e0555b7fd0c00
        git remote add freescale-fslc https://github.com/Freescale/linux-fslc
        git fetch --no-tags freescale-fslc pr/383
        git checkout 53ecae250dd9e334787ede9eb40e0555b7fd0c00
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 

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

All warnings (new ones prefixed by >>):

   In file included from drivers/soc/imx/soc-imx8.c:8:
   In file included from include/linux/io.h:13:
   In file included from arch/arm64/include/asm/io.h:16:
   In file included from arch/arm64/include/asm/pgtable.h:14:
   arch/arm64/include/asm/tlbflush.h:200:16: warning: variable 'mask' set but not used [-Wunused-but-set-variable]
           unsigned long mask = (1 << 20) - 1;
                         ^
   drivers/soc/imx/soc-imx8.c:324:5: warning: no previous prototype for function 'check_m4_enabled' [-Wmissing-prototypes]
   int check_m4_enabled(void)
       ^
   drivers/soc/imx/soc-imx8.c:324:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int check_m4_enabled(void)
   ^
   static 
>> drivers/soc/imx/soc-imx8.c:339:5: warning: no previous prototype for function 'imx8mp_get_ldo_trim' [-Wmissing-prototypes]
   int imx8mp_get_ldo_trim(int ldo)
       ^
   drivers/soc/imx/soc-imx8.c:339:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int imx8mp_get_ldo_trim(int ldo)
   ^
   static 
   3 warnings generated.


vim +/imx8mp_get_ldo_trim +339 drivers/soc/imx/soc-imx8.c

   338	
 > 339	int imx8mp_get_ldo_trim(int ldo)

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 34116 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-02  6:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-02  6:18 [freescale-fslc:pr/383 15436/19551] drivers/soc/imx/soc-imx8.c:339:5: warning: no previous prototype for function 'imx8mp_get_ldo_trim' kernel test robot

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.