From: kernel test robot <lkp@intel.com>
To: James Ogletree <james.ogletree@opensource.cirrus.com>
Cc: oe-kbuild-all@lists.linux.dev,
James Ogletree <james.ogletree@cirrus.com>,
Dmitry Torokhov <dmitry.torokhov@gmail.com>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzk@kernel.org>, Lee Jones <lee@kernel.org>,
Fred Treven <fred.treven@cirrus.com>,
Ben Bright <ben.bright@cirrus.com>,
linux-input@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4 4/4] Input: cs40l50 - Add support for the CS40L50 haptic driver
Date: Fri, 20 Oct 2023 23:30:44 +0800 [thread overview]
Message-ID: <202310202344.LreohGFP-lkp@intel.com> (raw)
In-Reply-To: <20231018175726.3879955-5-james.ogletree@opensource.cirrus.com>
Hi James,
kernel test robot noticed the following build warnings:
[auto build test WARNING on dtor-input/next]
[also build test WARNING on dtor-input/for-linus lee-mfd/for-mfd-next robh/for-next linus/master lee-mfd/for-mfd-fixes v6.6-rc6 next-20231020]
[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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/James-Ogletree/dt-bindings-input-cirrus-cs40l50-Add-initial-DT-binding/20231019-015950
base: https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next
patch link: https://lore.kernel.org/r/20231018175726.3879955-5-james.ogletree%40opensource.cirrus.com
patch subject: [PATCH v4 4/4] Input: cs40l50 - Add support for the CS40L50 haptic driver
config: sparc-allyesconfig (https://download.01.org/0day-ci/archive/20231020/202310202344.LreohGFP-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231020/202310202344.LreohGFP-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202310202344.LreohGFP-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/input/misc/cs40l50-vibra.c: In function 'cs40l50_vibra_remove':
>> drivers/input/misc/cs40l50-vibra.c:329:13: warning: the comparison will always evaluate as 'true' for the address of 'dsp' will never be NULL [-Waddress]
329 | if (&cs40l50->dsp)
| ^
In file included from drivers/input/misc/cs40l50-vibra.c:11:
include/linux/mfd/cs40l50.h:180:23: note: 'dsp' declared here
180 | struct cs_dsp dsp;
| ^~~
vim +329 drivers/input/misc/cs40l50-vibra.c
319
320 static int cs40l50_vibra_remove(struct platform_device *pdev)
321 {
322 struct cs40l50_private *cs40l50 = dev_get_drvdata(pdev->dev.parent);
323
324 input_unregister_device(cs40l50->input);
325 cs_hap_remove(&cs40l50->haptics);
326
327 if (cs40l50->dsp.booted)
328 cs_dsp_power_down(&cs40l50->dsp);
> 329 if (&cs40l50->dsp)
330 cs_dsp_remove(&cs40l50->dsp);
331
332 return 0;
333 }
334
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2023-10-20 15:31 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-18 17:57 [PATCH v4 0/4] Add support for CS40L50 James Ogletree
2023-10-18 17:57 ` [PATCH v4 1/4] dt-bindings: input: cirrus,cs40l50: Add initial DT binding James Ogletree
2023-10-18 19:21 ` Krzysztof Kozlowski
2023-10-18 21:44 ` James Ogletree
2023-10-18 17:57 ` [PATCH v4 2/4] Input: cs40l50 - Add cirrus haptics base support James Ogletree
2023-10-25 2:04 ` Jeff LaBundy
2023-11-01 20:46 ` James Ogletree
2023-11-26 0:52 ` Jeff LaBundy
2023-11-29 22:22 ` James Ogletree
2023-12-14 2:11 ` Jeff LaBundy
2023-10-18 17:57 ` [PATCH v4 3/4] mfd: cs40l50: Add support for CS40L50 core driver James Ogletree
2023-10-19 16:23 ` Lee Jones
2023-10-20 15:39 ` James Ogletree
2023-10-23 9:20 ` Lee Jones
2023-10-24 1:08 ` Jeff LaBundy
2023-10-24 1:30 ` James Ogletree
2023-10-24 15:47 ` Lee Jones
2023-10-24 1:14 ` James Ogletree
2023-10-21 14:56 ` kernel test robot
2023-10-25 3:20 ` Jeff LaBundy
2023-10-25 9:26 ` Lee Jones
[not found] ` <ZTiD5VUSi65OK4VK@nixie71>
2023-11-01 20:47 ` James Ogletree
2023-11-26 1:03 ` Jeff LaBundy
2023-10-18 17:57 ` [PATCH v4 4/4] Input: cs40l50 - Add support for the CS40L50 haptic driver James Ogletree
2023-10-20 15:30 ` kernel test robot [this message]
2023-10-25 3:03 ` Jeff LaBundy
2023-11-01 20:47 ` James Ogletree
2023-11-26 1:11 ` Jeff LaBundy
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=202310202344.LreohGFP-lkp@intel.com \
--to=lkp@intel.com \
--cc=ben.bright@cirrus.com \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=fred.treven@cirrus.com \
--cc=james.ogletree@cirrus.com \
--cc=james.ogletree@opensource.cirrus.com \
--cc=krzk@kernel.org \
--cc=lee@kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=robh+dt@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 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).