All of lore.kernel.org
 help / color / mirror / Atom feed
* [chrome-os:chromeos-5.15 34/38] drivers/gpu/drm/i915/i915_drm_client.h:63:36: error: declaration of 'struct drm_printer' will not be visible outside of this function
@ 2023-05-26 19:37 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2023-05-26 19:37 UTC (permalink / raw)
  To: cros-kernel-buildreports, Guenter Roeck; +Cc: oe-kbuild-all

tree:   https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.15
head:   402fc24bd722630e2ea3afc14ea503bb16124e8d
commit: 44b5553e4a52067966aacc38b1dfea98320ef4dd [34/38] BACKPORT: FROMLIST: drm/i915: Switch to fdinfo helper
config: x86_64-randconfig-x056-20230526 (https://download.01.org/0day-ci/archive/20230527/202305270324.6CI28kle-lkp@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
reproduce (this is a W=1 build):
        mkdir -p ~/bin
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git remote add chrome-os https://chromium.googlesource.com/chromiumos/third_party/kernel
        git fetch --no-tags chrome-os chromeos-5.15
        git checkout 44b5553e4a52067966aacc38b1dfea98320ef4dd
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=x86_64 olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/gpu/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202305270324.6CI28kle-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from <built-in>:4:
>> drivers/gpu/drm/i915/i915_drm_client.h:63:36: error: declaration of 'struct drm_printer' will not be visible outside of this function [-Werror,-Wvisibility]
   void i915_drm_client_fdinfo(struct drm_printer *p, struct drm_file *file);
                                      ^
>> drivers/gpu/drm/i915/i915_drm_client.h:63:59: error: declaration of 'struct drm_file' will not be visible outside of this function [-Werror,-Wvisibility]
   void i915_drm_client_fdinfo(struct drm_printer *p, struct drm_file *file);
                                                             ^
   2 errors generated.


vim +63 drivers/gpu/drm/i915/i915_drm_client.h

    61	
    62	#ifdef CONFIG_PROC_FS
  > 63	void i915_drm_client_fdinfo(struct drm_printer *p, struct drm_file *file);
    64	#endif
    65	

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [chrome-os:chromeos-5.15 34/38] drivers/gpu/drm/i915/i915_drm_client.h:63:36: error: declaration of 'struct drm_printer' will not be visible outside of this function
@ 2023-05-26 19:47 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2023-05-26 19:47 UTC (permalink / raw)
  To: cros-kernel-buildreports, Guenter Roeck; +Cc: oe-kbuild-all

tree:   https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.15
head:   402fc24bd722630e2ea3afc14ea503bb16124e8d
commit: 44b5553e4a52067966aacc38b1dfea98320ef4dd [34/38] BACKPORT: FROMLIST: drm/i915: Switch to fdinfo helper
config: x86_64-randconfig-r011-20230526 (https://download.01.org/0day-ci/archive/20230527/202305270344.yJqVbHX2-lkp@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
reproduce (this is a W=1 build):
        mkdir -p ~/bin
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git remote add chrome-os https://chromium.googlesource.com/chromiumos/third_party/kernel
        git fetch --no-tags chrome-os chromeos-5.15
        git checkout 44b5553e4a52067966aacc38b1dfea98320ef4dd
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=x86_64 olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/gpu/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202305270344.yJqVbHX2-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from <built-in>:4:
>> drivers/gpu/drm/i915/i915_drm_client.h:63:36: error: declaration of 'struct drm_printer' will not be visible outside of this function [-Werror,-Wvisibility]
   void i915_drm_client_fdinfo(struct drm_printer *p, struct drm_file *file);
                                      ^
>> drivers/gpu/drm/i915/i915_drm_client.h:63:59: error: declaration of 'struct drm_file' will not be visible outside of this function [-Werror,-Wvisibility]
   void i915_drm_client_fdinfo(struct drm_printer *p, struct drm_file *file);
                                                             ^
   2 errors generated.


vim +63 drivers/gpu/drm/i915/i915_drm_client.h

    61	
    62	#ifdef CONFIG_PROC_FS
  > 63	void i915_drm_client_fdinfo(struct drm_printer *p, struct drm_file *file);
    64	#endif
    65	

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-05-26 19:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-26 19:37 [chrome-os:chromeos-5.15 34/38] drivers/gpu/drm/i915/i915_drm_client.h:63:36: error: declaration of 'struct drm_printer' will not be visible outside of this function kernel test robot
2023-05-26 19:47 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.