From: kernel test robot <lkp@intel.com>
To: Chen-Yu Tsai <wenst@chromium.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [wens:mtk-test 23/39] drivers/gpu/drm/bridge/analogix/anx7625.c:1591:6: warning: variable 'event' set but not used
Date: Sat, 4 Feb 2023 21:02:02 +0800 [thread overview]
Message-ID: <202302042140.ICI35RL1-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/wens/linux.git mtk-test
head: 14d84237ad57de7b0f267d290ae87e40842965b4
commit: e188f8d5589fc51e365bafe7210b281174a54b76 [23/39] drm/bridge: anx7625: Drop device lock before drm_helper_hpd_irq_event()
config: i386-randconfig-a006 (https://download.01.org/0day-ci/archive/20230204/202302042140.ICI35RL1-lkp@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
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://git.kernel.org/pub/scm/linux/kernel/git/wens/linux.git/commit/?id=e188f8d5589fc51e365bafe7210b281174a54b76
git remote add wens https://git.kernel.org/pub/scm/linux/kernel/git/wens/linux.git
git fetch --no-tags wens mtk-test
git checkout e188f8d5589fc51e365bafe7210b281174a54b76
# 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=i386 olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/gpu/drm/bridge/analogix/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/bridge/analogix/anx7625.c:1591:6: warning: variable 'event' set but not used [-Wunused-but-set-variable]
int event;
^
1 warning generated.
vim +/event +1591 drivers/gpu/drm/bridge/analogix/anx7625.c
8bdfc5dae4e3ba Xin Ji 2020-09-18 1588
8bdfc5dae4e3ba Xin Ji 2020-09-18 1589 static void anx7625_work_func(struct work_struct *work)
8bdfc5dae4e3ba Xin Ji 2020-09-18 1590 {
8bdfc5dae4e3ba Xin Ji 2020-09-18 @1591 int event;
8bdfc5dae4e3ba Xin Ji 2020-09-18 1592 struct anx7625_data *ctx = container_of(work,
8bdfc5dae4e3ba Xin Ji 2020-09-18 1593 struct anx7625_data, work);
8bdfc5dae4e3ba Xin Ji 2020-09-18 1594
8bdfc5dae4e3ba Xin Ji 2020-09-18 1595 mutex_lock(&ctx->lock);
60487584a79abd Pi-Hsun Shih 2021-05-17 1596
e188f8d5589fc5 Chen-Yu Tsai 2023-01-16 1597 if (pm_runtime_suspended(&ctx->client->dev)) {
e188f8d5589fc5 Chen-Yu Tsai 2023-01-16 1598 mutex_unlock(&ctx->lock);
e188f8d5589fc5 Chen-Yu Tsai 2023-01-16 1599 return;
e188f8d5589fc5 Chen-Yu Tsai 2023-01-16 1600 }
60487584a79abd Pi-Hsun Shih 2021-05-17 1601
8bdfc5dae4e3ba Xin Ji 2020-09-18 1602 event = anx7625_hpd_change_detect(ctx);
e188f8d5589fc5 Chen-Yu Tsai 2023-01-16 1603
e188f8d5589fc5 Chen-Yu Tsai 2023-01-16 1604 mutex_unlock(&ctx->lock);
8bdfc5dae4e3ba Xin Ji 2020-09-18 1605
8bdfc5dae4e3ba Xin Ji 2020-09-18 1606 if (ctx->bridge_attached)
8bdfc5dae4e3ba Xin Ji 2020-09-18 1607 drm_helper_hpd_irq_event(ctx->bridge.dev);
8bdfc5dae4e3ba Xin Ji 2020-09-18 1608 }
8bdfc5dae4e3ba Xin Ji 2020-09-18 1609
:::::: The code at line 1591 was first introduced by commit
:::::: 8bdfc5dae4e3ba4d99dfb430ef43249e5f1b7730 drm/bridge: anx7625: Add anx7625 MIPI DSI/DPI to DP
:::::: TO: Xin Ji <xji@analogixsemi.com>
:::::: CC: Sam Ravnborg <sam@ravnborg.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
reply other threads:[~2023-02-04 13:02 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=202302042140.ICI35RL1-lkp@intel.com \
--to=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=wenst@chromium.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox