dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Mikko Perttunen <mperttunen@nvidia.com>,
	thierry.reding@gmail.com, jonathanh@nvidia.com, digetx@gmail.com,
	airlied@linux.ie, daniel@ffwll.ch
Cc: linux-tegra@vger.kernel.org, clang-built-linux@googlegroups.com,
	kbuild-all@lists.01.org, dri-devel@lists.freedesktop.org,
	Mikko Perttunen <mperttunen@nvidia.com>
Subject: Re: [PATCH v6 01/14] gpu: host1x: Add DMA fence implementation
Date: Sun, 30 May 2021 21:45:24 +0800	[thread overview]
Message-ID: <202105302124.x8rpySSh-lkp@intel.com> (raw)
In-Reply-To: <20210530122156.3292479-2-mperttunen@nvidia.com>

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

Hi Mikko,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on tegra-drm/drm/tegra/for-next]
[also build test WARNING on v5.13-rc3 next-20210528]
[cannot apply to tegra/for-next]
[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]

url:    https://github.com/0day-ci/linux/commits/Mikko-Perttunen/TegraDRM-UAPI/20210530-205239
base:   git://anongit.freedesktop.org/tegra/linux.git drm/tegra/for-next
config: arm-randconfig-r015-20210530 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project bc6799f2f79f0ae87e9f1ebf9d25ba799fbd25a9)
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 arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # https://github.com/0day-ci/linux/commit/5de49ce9211cbf0fbbfeb200e72ce934f4574d4b
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Mikko-Perttunen/TegraDRM-UAPI/20210530-205239
        git checkout 5de49ce9211cbf0fbbfeb200e72ce934f4574d4b
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm 

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

>> drivers/gpu/host1x/fence.c:170:5: warning: no previous prototype for function 'host1x_fence_create_fd' [-Wmissing-prototypes]
   int host1x_fence_create_fd(struct host1x_syncpt *sp, u32 threshold)
       ^
   drivers/gpu/host1x/fence.c:170:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int host1x_fence_create_fd(struct host1x_syncpt *sp, u32 threshold)
   ^
   static 
   1 warning generated.


vim +/host1x_fence_create_fd +170 drivers/gpu/host1x/fence.c

   169	
 > 170	int host1x_fence_create_fd(struct host1x_syncpt *sp, u32 threshold)
   171	{
   172		struct sync_file *file;
   173		struct dma_fence *f;
   174		int fd;
   175	
   176		f = host1x_fence_create(sp, threshold);
   177		if (IS_ERR(f))
   178			return PTR_ERR(f);
   179	
   180		fd = get_unused_fd_flags(O_CLOEXEC);
   181		if (fd < 0) {
   182			dma_fence_put(f);
   183			return fd;
   184		}
   185	
   186		file = sync_file_create(f);
   187		dma_fence_put(f);
   188		if (!file)
   189			return -ENOMEM;
   190	
   191		fd_install(fd, file->file);
   192	
   193		return fd;
   194	}
   195	EXPORT_SYMBOL(host1x_fence_create_fd);
   196	

---
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: 35760 bytes --]

  reply	other threads:[~2021-05-30 13:46 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-30 12:21 [PATCH v6 00/14] TegraDRM UAPI Mikko Perttunen
2021-05-30 12:21 ` [PATCH v6 01/14] gpu: host1x: Add DMA fence implementation Mikko Perttunen
2021-05-30 13:45   ` kernel test robot [this message]
2021-05-30 12:21 ` [PATCH v6 02/14] gpu: host1x: Add no-recovery mode Mikko Perttunen
2021-05-30 12:21 ` [PATCH v6 03/14] gpu: host1x: Add job release callback Mikko Perttunen
2021-05-30 12:21 ` [PATCH v6 04/14] gpu: host1x: Add support for syncpoint waits in CDMA pushbuffer Mikko Perttunen
2021-05-30 12:21 ` [PATCH v6 05/14] drm/tegra: Extract tegra_gem_lookup Mikko Perttunen
2021-05-30 12:21 ` [PATCH v6 06/14] drm/tegra: Add new UAPI to header Mikko Perttunen
2021-05-30 12:21 ` [PATCH v6 07/14] drm/tegra: Boot VIC during runtime PM resume Mikko Perttunen
2021-05-30 12:21 ` [PATCH v6 08/14] drm/tegra: Allocate per-engine channel in core code Mikko Perttunen
2021-05-30 12:21 ` [PATCH v6 09/14] drm/tegra: Implement new UAPI Mikko Perttunen
2021-05-30 12:21 ` [PATCH v6 10/14] drm/tegra: Implement syncpoint management UAPI Mikko Perttunen
2021-05-30 12:21 ` [PATCH v6 11/14] drm/tegra: Implement syncpoint wait UAPI Mikko Perttunen
2021-05-30 12:21 ` [PATCH v6 12/14] drm/tegra: Implement job submission part of new UAPI Mikko Perttunen
2021-05-30 12:21 ` [PATCH v6 13/14] drm/tegra: Add job firewall Mikko Perttunen
2021-05-30 12:21 ` [PATCH v6 14/14] drm/tegra: Bump driver version Mikko Perttunen

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=202105302124.x8rpySSh-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=airlied@linux.ie \
    --cc=clang-built-linux@googlegroups.com \
    --cc=daniel@ffwll.ch \
    --cc=digetx@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jonathanh@nvidia.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=mperttunen@nvidia.com \
    --cc=thierry.reding@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox