From: kernel test robot <lkp@intel.com>
To: Yusuf Khan <yusisamerican@gmail.com>, linux-kernel@vger.kernel.org
Cc: kbuild-all@lists.01.org, jasowang@redhat.com,
mikelley@microsoft.com, mst@redhat.com,
gregkh@linuxfoundation.org, javier@javigon.com, arnd@arndb.de,
will@kernel.org, axboe@kernel.dk,
Yusuf Khan <yusisamerican@gmail.com>,
Christoph Grenz <christophg+lkml@grenz-bonn.de>
Subject: Re: [PATCH v8 1/2] drivers: ddcci: upstream DDCCI driver
Date: Mon, 21 Mar 2022 22:34:39 +0800 [thread overview]
Message-ID: <202203212212.7eOgDRf0-lkp@intel.com> (raw)
In-Reply-To: <20220321031438.14762-1-yusisamerican@gmail.com>
Hi Yusuf,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on char-misc/char-misc-testing]
[also build test WARNING on linux/master linus/master lee-backlight/for-backlight-next v5.17 next-20220318]
[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/Yusuf-Khan/drivers-ddcci-upstream-DDCCI-driver/20220321-111557
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git 37fd83916da2e4cae03d350015c82a67b1b334c4
config: ia64-allmodconfig (https://download.01.org/0day-ci/archive/20220321/202203212212.7eOgDRf0-lkp@intel.com/config)
compiler: ia64-linux-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/42317fc284bbedc623892f2b20e404df80f8c393
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Yusuf-Khan/drivers-ddcci-upstream-DDCCI-driver/20220321-111557
git checkout 42317fc284bbedc623892f2b20e404df80f8c393
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=ia64 SHELL=/bin/bash drivers/char/
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/char/ddcci.c: In function 'ddcci_device_remove':
>> drivers/char/ddcci.c:1206:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
1206 | int ret = 0;
| ^~~
vim +/ret +1206 drivers/char/ddcci.c
1201
1202 static void ddcci_device_remove(struct device *dev)
1203 {
1204 struct ddcci_device *device = ddcci_verify_device(dev);
1205 struct ddcci_driver *driver;
> 1206 int ret = 0;
1207
1208 if (!device)
1209 return;
1210 driver = to_ddcci_driver(dev->driver);
1211
1212 if (driver->remove)
1213 ret = driver->remove(device);
1214 }
1215
--
0-DAY CI Kernel Test Service
https://01.org/lkp
prev parent reply other threads:[~2022-03-21 14:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-21 3:14 [PATCH v8 1/2] drivers: ddcci: upstream DDCCI driver Yusuf Khan
2022-03-21 3:14 ` [PATCH v8 2/2] " Yusuf Khan
2022-03-21 6:19 ` Greg KH
2022-03-21 12:01 ` [PATCH v8 1/2] " kernel test robot
2022-03-21 14:34 ` 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=202203212212.7eOgDRf0-lkp@intel.com \
--to=lkp@intel.com \
--cc=arnd@arndb.de \
--cc=axboe@kernel.dk \
--cc=christophg+lkml@grenz-bonn.de \
--cc=gregkh@linuxfoundation.org \
--cc=jasowang@redhat.com \
--cc=javier@javigon.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mikelley@microsoft.com \
--cc=mst@redhat.com \
--cc=will@kernel.org \
--cc=yusisamerican@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