lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202301112236.W6Y76KzL-lkp@intel.com>
Date:   Wed, 11 Jan 2023 22:59:53 +0800
From:   kernel test robot <lkp@...el.com>
To:     Li Chen <me@...ux.beauty>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        "Rafael J. Wysocki" <rafael@...nel.org>
Cc:     oe-kbuild-all@...ts.linux.dev, Li Chen <lchen@...arella.com>,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] debugfs: allow to use regmap for print regs

Hi Li,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on driver-core/driver-core-testing]
[also build test ERROR on driver-core/driver-core-next driver-core/driver-core-linus linus/master v6.2-rc3 next-20230111]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Li-Chen/debugfs-allow-to-use-regmap-for-print-regs/20230111-152441
patch link:    https://lore.kernel.org/r/20230111072130.3885460-1-me%40linux.beauty
patch subject: [PATCH v2] debugfs: allow to use regmap for print regs
config: arm-randconfig-r001-20230110
compiler: arm-linux-gnueabi-gcc (GCC) 12.1.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://github.com/intel-lab-lkp/linux/commit/35287a838ccde41d6f83dd12e3aa89ed68e5b150
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review Li-Chen/debugfs-allow-to-use-regmap-for-print-regs/20230111-152441
        git checkout 35287a838ccde41d6f83dd12e3aa89ed68e5b150
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash drivers/gpu/drm/tilcdc/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>

All errors (new ones prefixed by >>):

   In file included from include/drm/drm_print.h:33,
                    from include/drm/drm_mm.h:51,
                    from include/drm/drm_vma_manager.h:26,
                    from include/drm/drm_gem.h:40,
                    from include/drm/drm_gem_dma_helper.h:7,
                    from drivers/gpu/drm/tilcdc/tilcdc_crtc.c:18:
>> include/linux/debugfs.h:346:20: error: 'debugfs_print_regmap_regs32' declared 'static' but never defined [-Werror=unused-function]
     346 | static inline void debugfs_print_regmap_regs32(struct seq_file *s,
         |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors


vim +346 include/linux/debugfs.h

   345	
 > 346	static inline void debugfs_print_regmap_regs32(struct seq_file *s,
   347						       const struct debugfs_reg32 *regs,
   348						       int nregs, struct regmap *regmap,
   349						       char *prefix);
   350	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests

View attachment "config" of type "text/plain" (141837 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ