intel-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Desmond Cheong Zhi Xi <desmondcheongzx@gmail.com>,
	maarten.lankhorst@linux.intel.com, mripard@kernel.org,
	tzimmermann@suse.de, airlied@linux.ie, daniel@ffwll.ch
Cc: kbuild-all@lists.01.org,
	Desmond Cheong Zhi Xi <desmondcheongzx@gmail.com>,
	dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org,
	intel-gfx@lists.freedesktop.org, skhan@linuxfoundation.org
Subject: Re: [Intel-gfx] [PATCH v2] drm: avoid races with modesetting rights
Date: Mon, 16 Aug 2021 02:47:26 +0800	[thread overview]
Message-ID: <202108160234.Q9HPB7zT-lkp@intel.com> (raw)
In-Reply-To: <20210815153740.195330-1-desmondcheongzx@gmail.com>

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

Hi Desmond,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on next-20210813]
[also build test WARNING on v5.14-rc5]
[cannot apply to linus/master v5.14-rc5 v5.14-rc4 v5.14-rc3]
[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/Desmond-Cheong-Zhi-Xi/drm-avoid-races-with-modesetting-rights/20210815-234145
base:    4b358aabb93a2c654cd1dcab1a25a589f6e2b153
config: arc-randconfig-r031-20210815 (attached as .config)
compiler: arceb-elf-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
        # https://github.com/0day-ci/linux/commit/cf6d8354b7d7953cd866fad004cbb189adfa074f
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Desmond-Cheong-Zhi-Xi/drm-avoid-races-with-modesetting-rights/20210815-234145
        git checkout cf6d8354b7d7953cd866fad004cbb189adfa074f
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arc 

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/drm/drm_auth.c:483:6: warning: no previous prototype for 'master_flush' [-Wmissing-prototypes]
     483 | void master_flush(struct callback_head *cb)
         |      ^~~~~~~~~~~~


vim +/master_flush +483 drivers/gpu/drm/drm_auth.c

   479	
   480	/* After flushing, all readers that might have seen old master/lease
   481	 * permissions are guaranteed to have completed.
   482	 */
 > 483	void master_flush(struct callback_head *cb)
   484	{
   485		struct drm_device *dev = container_of(cb, struct drm_device,
   486						      master_flush_work);
   487	
   488		down_write(&dev->master_rwsem);
   489		up_write(&dev->master_rwsem);
   490	}
   491	

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

  parent reply	other threads:[~2021-08-15 18:48 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-15 15:37 [Intel-gfx] [PATCH v2] drm: avoid races with modesetting rights Desmond Cheong Zhi Xi
2021-08-15 18:47 ` kernel test robot
2021-08-16  8:53   ` Desmond Cheong Zhi Xi
2021-08-16  9:04     ` Daniel Vetter
2021-08-16 10:31       ` Desmond Cheong Zhi Xi
2021-08-16 13:59         ` Daniel Vetter
2021-08-17 15:06           ` Desmond Cheong Zhi Xi
2021-08-15 18:47 ` kernel test robot [this message]
2021-08-16  6:09   ` Desmond Cheong Zhi Xi
2021-08-16 12:12 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for " Patchwork
2021-08-16 12:41 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2021-08-16 15:20 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork

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=202108160234.Q9HPB7zT-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=airlied@linux.ie \
    --cc=daniel@ffwll.ch \
    --cc=desmondcheongzx@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=skhan@linuxfoundation.org \
    --cc=tzimmermann@suse.de \
    /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;
as well as URLs for NNTP newsgroup(s).