From: kernel test robot <lkp@intel.com>
To: Johan Hovold <johan+linaro@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Sasha Levin <sashal@kernel.org>,
Dmitry Baryshkov <dmitry.baryshkov@linaro.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Subject: [linux-stable-rc:queue/6.1 154/183] drivers/gpu/drm/msm/msm_drv.c:567:1: warning: unused label 'err_put_dev'
Date: Sat, 13 May 2023 20:12:47 +0800 [thread overview]
Message-ID: <202305132013.OTjUZVR5-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git queue/6.1
head: b35b1f6de36bba692669bc17cc73a8c04ab72347
commit: 33b0190e2d33a31066ff655c30500bd4fb6dbd91 [154/183] drm/msm: fix workqueue leak on bind errors
config: arm-defconfig (https://download.01.org/0day-ci/archive/20230513/202305132013.OTjUZVR5-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project b0fb98227c90adf2536c9ad644a74d5e92961111)
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://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=33b0190e2d33a31066ff655c30500bd4fb6dbd91
git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git fetch --no-tags linux-stable-rc queue/6.1
git checkout 33b0190e2d33a31066ff655c30500bd4fb6dbd91
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash drivers/gpu/drm/msm/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202305132013.OTjUZVR5-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/msm/msm_drv.c:567:1: warning: unused label 'err_put_dev' [-Wunused-label]
err_put_dev:
^~~~~~~~~~~~
1 warning generated.
vim +/err_put_dev +567 drivers/gpu/drm/msm/msm_drv.c
c8afe684c95cd1 Rob Clark 2013-06-26 548
2b669875332fbd Archit Taneja 2016-05-02 549 ret = msm_debugfs_late_init(ddev);
a7d3c9509b2fec Rob Clark 2014-05-30 550 if (ret)
77050c3febb180 Jeykumar Sankaran 2018-06-27 551 goto err_msm_uninit;
a7d3c9509b2fec Rob Clark 2014-05-30 552
2b669875332fbd Archit Taneja 2016-05-02 553 drm_kms_helper_poll_init(ddev);
c8afe684c95cd1 Rob Clark 2013-06-26 554
c8afe684c95cd1 Rob Clark 2013-06-26 555 return 0;
c8afe684c95cd1 Rob Clark 2013-06-26 556
77050c3febb180 Jeykumar Sankaran 2018-06-27 557 err_msm_uninit:
2b669875332fbd Archit Taneja 2016-05-02 558 msm_drm_uninit(dev);
005811446f06d8 Johan Hovold 2023-03-06 559
005811446f06d8 Johan Hovold 2023-03-06 560 return ret;
005811446f06d8 Johan Hovold 2023-03-06 561
c91b75f465d975 Johan Hovold 2023-03-06 562 err_deinit_vram:
c91b75f465d975 Johan Hovold 2023-03-06 563 msm_deinit_vram(ddev);
33b0190e2d33a3 Johan Hovold 2023-03-06 564 err_cleanup_mode_config:
33b0190e2d33a3 Johan Hovold 2023-03-06 565 drm_mode_config_cleanup(ddev);
33b0190e2d33a3 Johan Hovold 2023-03-06 566 destroy_workqueue(priv->wq);
005811446f06d8 Johan Hovold 2023-03-06 @567 err_put_dev:
005811446f06d8 Johan Hovold 2023-03-06 568 drm_dev_put(ddev);
005811446f06d8 Johan Hovold 2023-03-06 569
c8afe684c95cd1 Rob Clark 2013-06-26 570 return ret;
c8afe684c95cd1 Rob Clark 2013-06-26 571 }
c8afe684c95cd1 Rob Clark 2013-06-26 572
:::::: The code at line 567 was first introduced by commit
:::::: 005811446f06d8b939b0c0ef55ade26cb655391c drm/msm: fix drm device leak on bind errors
:::::: TO: Johan Hovold <johan+linaro@kernel.org>
:::::: CC: Sasha Levin <sashal@kernel.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
reply other threads:[~2023-05-13 12:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202305132013.OTjUZVR5-lkp@intel.com \
--to=lkp@intel.com \
--cc=dmitry.baryshkov@linaro.org \
--cc=gregkh@linuxfoundation.org \
--cc=johan+linaro@kernel.org \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=sashal@kernel.org \
/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.