All of lore.kernel.org
 help / color / mirror / Atom feed
* [chrome-os:chromeos-5.10 9987/9999] drivers/gpu/arm/valhall/backend/gpu/mali_kbase_irq_linux.c:182:13: warning: no previous prototype for 'kbase_gpu_irq_test_handler'
@ 2022-01-19  6:07 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-01-19  6:07 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.10
head:   d2945e83762685e27b20286924d8e59daa10233f
commit: 79b0a1f26446bb3026f29a6cc0cf40d82112ca85 [9987/9999] CHROMIUM: gpu: mali: Apply Valhall r32p0 EAC release
config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20220119/202201191307.IKuVnor0-lkp(a)intel.com/config)
compiler: aarch64-linux-gcc (GCC) 11.2.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
        git remote add chrome-os https://chromium.googlesource.com/chromiumos/third_party/kernel
        git fetch --no-tags chrome-os chromeos-5.10
        git checkout 79b0a1f26446bb3026f29a6cc0cf40d82112ca85
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/gpu/arm/valhall/

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 >>):

   cc1: warning: kbuild/src/consumer/drivers/gpu/arm/valhall: No such file or directory [-Wmissing-include-dirs]
   drivers/gpu/arm/valhall/mali_kbase_jd_debugfs.c: In function 'kbase_jd_debugfs_fence_info':
>> drivers/gpu/arm/valhall/mali_kbase_jd_debugfs.c:78:46: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'u64' {aka 'long long unsigned int'} [-Wformat=]
      78 |                                    "Sd(%llu#%u: %s) ",
         |                                             ~^
         |                                              |
         |                                              unsigned int
         |                                             %llu
      79 | #endif
      80 |                                    fence->context, fence->seqno,
         |                                                    ~~~~~~~~~~~~
         |                                                         |
         |                                                         u64 {aka long long unsigned int}
   drivers/gpu/arm/valhall/mali_kbase_jd_debugfs.c:97:46: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'u64' {aka 'long long unsigned int'} [-Wformat=]
      97 |                                    "Wd(%llu#%u: %s) ",
         |                                             ~^
         |                                              |
         |                                              unsigned int
         |                                             %llu
      98 | #endif
      99 |                                    fence->context, fence->seqno,
         |                                                    ~~~~~~~~~~~~
         |                                                         |
         |                                                         u64 {aka long long unsigned int}
--
   cc1: warning: kbuild/src/consumer/drivers/gpu/arm/valhall: No such file or directory [-Wmissing-include-dirs]
>> drivers/gpu/arm/valhall/backend/gpu/mali_kbase_irq_linux.c:182:13: warning: no previous prototype for 'kbase_gpu_irq_test_handler' [-Wmissing-prototypes]
     182 | irqreturn_t kbase_gpu_irq_test_handler(int irq, void *data, u32 val)
         |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/gpu/arm/valhall/backend/gpu/mali_kbase_irq_linux.c:210:5: warning: no previous prototype for 'kbase_set_custom_irq_handler' [-Wmissing-prototypes]
     210 | int kbase_set_custom_irq_handler(struct kbase_device *kbdev,
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/kbase_gpu_irq_test_handler +182 drivers/gpu/arm/valhall/backend/gpu/mali_kbase_irq_linux.c

f38632197c49e65 Nicolas Boichat 2020-04-18  168  
f38632197c49e65 Nicolas Boichat 2020-04-18  169  /**
f38632197c49e65 Nicolas Boichat 2020-04-18  170   * kbase_gpu_irq_test_handler - Variant (for test) of kbase_gpu_irq_handler()
f38632197c49e65 Nicolas Boichat 2020-04-18  171   * @irq:  IRQ number
f38632197c49e65 Nicolas Boichat 2020-04-18  172   * @data: Data associated with this IRQ (i.e. kbdev)
f38632197c49e65 Nicolas Boichat 2020-04-18  173   * @val:  Value of the GPU_CONTROL_REG(GPU_IRQ_STATUS)
f38632197c49e65 Nicolas Boichat 2020-04-18  174   *
f38632197c49e65 Nicolas Boichat 2020-04-18  175   * Handle the GPU device interrupt source requests reflected in the
f38632197c49e65 Nicolas Boichat 2020-04-18  176   * given source bit-pattern. The test code caller is responsible for
f38632197c49e65 Nicolas Boichat 2020-04-18  177   * undertaking the required device power maintenace.
f38632197c49e65 Nicolas Boichat 2020-04-18  178   *
f38632197c49e65 Nicolas Boichat 2020-04-18  179   * Return: IRQ_HANDLED if the requests are from the GPU device,
f38632197c49e65 Nicolas Boichat 2020-04-18  180   *         IRQ_NONE otherwise
f38632197c49e65 Nicolas Boichat 2020-04-18  181   */
10cd017481f1fa5 Fei Shao        2021-06-17 @182  irqreturn_t kbase_gpu_irq_test_handler(int irq, void *data, u32 val)
f38632197c49e65 Nicolas Boichat 2020-04-18  183  {
f38632197c49e65 Nicolas Boichat 2020-04-18  184  	struct kbase_device *kbdev = kbase_untag(data);
f38632197c49e65 Nicolas Boichat 2020-04-18  185  
f38632197c49e65 Nicolas Boichat 2020-04-18  186  	if (!val)
f38632197c49e65 Nicolas Boichat 2020-04-18  187  		return IRQ_NONE;
f38632197c49e65 Nicolas Boichat 2020-04-18  188  
f38632197c49e65 Nicolas Boichat 2020-04-18  189  	dev_dbg(kbdev->dev, "%s: irq %d irqstatus 0x%x\n", __func__, irq, val);
f38632197c49e65 Nicolas Boichat 2020-04-18  190  
f38632197c49e65 Nicolas Boichat 2020-04-18  191  	kbase_gpu_interrupt(kbdev, val);
f38632197c49e65 Nicolas Boichat 2020-04-18  192  
f38632197c49e65 Nicolas Boichat 2020-04-18  193  	return IRQ_HANDLED;
f38632197c49e65 Nicolas Boichat 2020-04-18  194  }
f38632197c49e65 Nicolas Boichat 2020-04-18  195  

:::::: The code at line 182 was first introduced by commit
:::::: 10cd017481f1fa5fd8308956be32117a4103519f CHROMIUM: MALI: Include kutf modules

:::::: TO: Fei Shao <fshao@chromium.org>
:::::: CC: Commit Bot <commit-bot@chromium.org>

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

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

only message in thread, other threads:[~2022-01-19  6:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-19  6:07 [chrome-os:chromeos-5.10 9987/9999] drivers/gpu/arm/valhall/backend/gpu/mali_kbase_irq_linux.c:182:13: warning: no previous prototype for 'kbase_gpu_irq_test_handler' 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.