linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* drivers/gpu/drm/i915/gt/uc/intel_uc.c:162:20: error: function 'guc_communication_enabled' is not needed and will not be emitted
@ 2021-08-17 22:51 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-08-17 22:51 UTC (permalink / raw)
  To: Daniele Ceraolo Spurio
  Cc: clang-built-linux, kbuild-all, linux-kernel, Daniel Vetter,
	Matthew Brost

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

Hi Daniele,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   614cb2751d3150850d459bee596c397f344a7936
commit: 1fb12c5871521eab5fa428bf265841b1a3827a97 drm/i915/guc: skip disabling CTBs before sanitizing the GuC
date:   3 months ago
config: x86_64-randconfig-c007-20210817 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 44d0a99a12ec7ead4d2f5ef649ba05b40f6d463d)
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=1fb12c5871521eab5fa428bf265841b1a3827a97
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 1fb12c5871521eab5fa428bf265841b1a3827a97
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

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

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/i915/gt/uc/intel_uc.c:162:20: error: function 'guc_communication_enabled' is not needed and will not be emitted [-Werror,-Wunneeded-internal-declaration]
   static inline bool guc_communication_enabled(struct intel_guc *guc)
                      ^
   1 error generated.


vim +/guc_communication_enabled +162 drivers/gpu/drm/i915/gt/uc/intel_uc.c

a9410a62506430 Daniele Ceraolo Spurio 2020-03-26  161  
8c69bd74a00baf Daniele Ceraolo Spurio 2019-12-16 @162  static inline bool guc_communication_enabled(struct intel_guc *guc)
8c69bd74a00baf Daniele Ceraolo Spurio 2019-12-16  163  {
8c69bd74a00baf Daniele Ceraolo Spurio 2019-12-16  164  	return intel_guc_ct_enabled(&guc->ct);
8c69bd74a00baf Daniele Ceraolo Spurio 2019-12-16  165  }
8c69bd74a00baf Daniele Ceraolo Spurio 2019-12-16  166  

:::::: The code at line 162 was first introduced by commit
:::::: 8c69bd74a00baff85f4ef46b9f79263a42e0d82c drm/i915/guc: Remove function pointers for send/receive calls

:::::: TO: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
:::::: CC: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>

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

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

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

* drivers/gpu/drm/i915/gt/uc/intel_uc.c:162:20: error: function 'guc_communication_enabled' is not needed and will not be emitted
@ 2021-07-19 23:46 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-07-19 23:46 UTC (permalink / raw)
  To: Daniele Ceraolo Spurio
  Cc: clang-built-linux, kbuild-all, linux-kernel, Daniel Vetter,
	Matthew Brost

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

Hi Daniele,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   2734d6c1b1a089fb593ef6a23d4b70903526fe0c
commit: 1fb12c5871521eab5fa428bf265841b1a3827a97 drm/i915/guc: skip disabling CTBs before sanitizing the GuC
date:   7 weeks ago
config: x86_64-randconfig-r024-20210720 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 5d5b08761f944d5b9822d582378333cc4b36a0a7)
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 x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1fb12c5871521eab5fa428bf265841b1a3827a97
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 1fb12c5871521eab5fa428bf265841b1a3827a97
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

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

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/i915/gt/uc/intel_uc.c:162:20: error: function 'guc_communication_enabled' is not needed and will not be emitted [-Werror,-Wunneeded-internal-declaration]
   static inline bool guc_communication_enabled(struct intel_guc *guc)
                      ^
   1 error generated.


vim +/guc_communication_enabled +162 drivers/gpu/drm/i915/gt/uc/intel_uc.c

a9410a62506430 Daniele Ceraolo Spurio 2020-03-26  161  
8c69bd74a00baf Daniele Ceraolo Spurio 2019-12-16 @162  static inline bool guc_communication_enabled(struct intel_guc *guc)
8c69bd74a00baf Daniele Ceraolo Spurio 2019-12-16  163  {
8c69bd74a00baf Daniele Ceraolo Spurio 2019-12-16  164  	return intel_guc_ct_enabled(&guc->ct);
8c69bd74a00baf Daniele Ceraolo Spurio 2019-12-16  165  }
8c69bd74a00baf Daniele Ceraolo Spurio 2019-12-16  166  

:::::: The code at line 162 was first introduced by commit
:::::: 8c69bd74a00baff85f4ef46b9f79263a42e0d82c drm/i915/guc: Remove function pointers for send/receive calls

:::::: TO: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
:::::: CC: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>

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

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

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

end of thread, other threads:[~2021-08-17 22:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-17 22:51 drivers/gpu/drm/i915/gt/uc/intel_uc.c:162:20: error: function 'guc_communication_enabled' is not needed and will not be emitted kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2021-07-19 23:46 kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).