All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Boris Brezillon <bbrezillon@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC PATCH] drm/pancsf: Add a new driver for Mali CSF-based GPUs
Date: Mon, 6 Feb 2023 03:51:27 +0800	[thread overview]
Message-ID: <202302060347.qgHwb8oa-lkp@intel.com> (raw)
In-Reply-To: <20230201084832.1708866-1-boris.brezillon@collabora.com>

Hi Boris,

[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on drm-misc/drm-misc-next]
[also build test ERROR on drm/drm-next drm-exynos/exynos-drm-next drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-tip/drm-tip linus/master v6.2-rc6 next-20230203]
[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/Boris-Brezillon/drm-pancsf-Add-a-new-driver-for-Mali-CSF-based-GPUs/20230201-172815
base:   git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
patch link:    https://lore.kernel.org/r/20230201084832.1708866-1-boris.brezillon%40collabora.com
patch subject: [RFC PATCH] drm/pancsf: Add a new driver for Mali CSF-based GPUs
config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20230206/202302060347.qgHwb8oa-lkp@intel.com/config)
compiler: arceb-elf-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/794ce1c0209242bf1496fc4195ca707d45b37e73
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review Boris-Brezillon/drm-pancsf-Add-a-new-driver-for-Mali-CSF-based-GPUs/20230201-172815
        git checkout 794ce1c0209242bf1496fc4195ca707d45b37e73
        # 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=arc olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arc SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

   drivers/gpu/drm/pancsf/pancsf_mcu.c:248:1: warning: no previous prototype for 'pancsf_fw_mem_alloc' [-Wmissing-prototypes]
     248 | pancsf_fw_mem_alloc(struct pancsf_device *pfdev,
         | ^~~~~~~~~~~~~~~~~~~
   In file included from arch/arc/include/asm/thread_info.h:16,
                    from include/linux/thread_info.h:60,
                    from include/asm-generic/preempt.h:5,
                    from ./arch/arc/include/generated/asm/preempt.h:1,
                    from include/linux/preempt.h:78,
                    from include/linux/rcupdate.h:27,
                    from include/linux/rculist.h:11,
                    from include/linux/pid.h:5,
                    from include/linux/sched.h:14,
                    from include/linux/ratelimit.h:6,
                    from include/linux/dev_printk.h:16,
                    from include/linux/device.h:15,
                    from include/linux/dma-mapping.h:7,
                    from drivers/gpu/drm/pancsf/pancsf_mcu.c:4:
   drivers/gpu/drm/pancsf/pancsf_mcu.c: In function 'pancsf_fw_load_section_entry':
>> arch/arc/include/asm/page.h:82:37: error: expected ')' before '{' token
      82 | #define __pgprot(x)     ((pgprot_t) { (x) })
         |                                     ^
   arch/arc/include/asm/pgtable-bits-arcv2.h:49:25: note: in expansion of macro '__pgprot'
      49 | #define PAGE_KERNEL     __pgprot(___DEF | _PAGE_GLOBAL \
         |                         ^~~~~~~~
   include/linux/highmem-internal.h:32:19: note: in expansion of macro 'PAGE_KERNEL'
      32 | #define kmap_prot PAGE_KERNEL
         |                   ^~~~~~~~~~~
   drivers/gpu/drm/pancsf/pancsf_mcu.c:443:34: note: in expansion of macro 'kmap_prot'
     443 |                         pgprot_t kmap_prot = PAGE_KERNEL;
         |                                  ^~~~~~~~~
>> arch/arc/include/asm/page.h:82:44: error: expected statement before ')' token
      82 | #define __pgprot(x)     ((pgprot_t) { (x) })
         |                                            ^
   arch/arc/include/asm/pgtable-bits-arcv2.h:49:25: note: in expansion of macro '__pgprot'
      49 | #define PAGE_KERNEL     __pgprot(___DEF | _PAGE_GLOBAL \
         |                         ^~~~~~~~
   drivers/gpu/drm/pancsf/pancsf_mcu.c:443:46: note: in expansion of macro 'PAGE_KERNEL'
     443 |                         pgprot_t kmap_prot = PAGE_KERNEL;
         |                                              ^~~~~~~~~~~


vim +82 arch/arc/include/asm/page.h

5dda4dc570ac41 Vineet Gupta     2013-01-18  80  
5dda4dc570ac41 Vineet Gupta     2013-01-18  81  #define pgprot_val(x)	((x).pgprot)
5dda4dc570ac41 Vineet Gupta     2013-01-18 @82  #define __pgprot(x)	((pgprot_t) { (x) })
4368902bb90f0e Gilad Ben-Yossef 2013-01-22  83  #define pte_pgprot(x)	__pgprot(pte_val(x))
4368902bb90f0e Gilad Ben-Yossef 2013-01-22  84  

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

      parent reply	other threads:[~2023-02-05 19:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-01  8:48 [RFC PATCH] drm/pancsf: Add a new driver for Mali CSF-based GPUs Boris Brezillon
2023-02-01 14:57 ` kernel test robot
2023-02-01 18:23 ` kernel test robot
2023-02-03 15:41 ` Steven Price
2023-02-03 16:29   ` Alyssa Rosenzweig
2023-02-03 16:43     ` Steven Price
2023-02-03 17:29   ` Boris Brezillon
2023-02-03 17:58     ` Alyssa Rosenzweig
2023-02-06  9:37       ` Steven Price
2023-02-05 19:51 ` kernel test robot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202302060347.qgHwb8oa-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=bbrezillon@kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.