From: Dan Carpenter <dan.carpenter@linaro.org>
To: oe-kbuild@lists.linux.dev, Vitalii Mordan <mordan@ispras.ru>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: lkp@intel.com, oe-kbuild-all@lists.linux.dev,
"Vitalii Mordan" <mordan@ispras.ru>,
"Uwe Kleine-König" <u.kleine-koenig@baylibre.com>,
"Aaro Koskinen" <aaro.koskinen@iki.fi>,
"Felipe Balbi" <felipe.balbi@linux.intel.com>,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
"Fedor Pchelkin" <pchelkin@ispras.ru>,
"Alexey Khoroshilov" <khoroshilov@ispras.ru>,
"Vadim Mutilin" <mutilin@ispras.ru>,
stable@vger.kernel.org
Subject: Re: [PATCH] usb: phy-tahvo: fix call balance for tu->ick handling routines
Date: Mon, 16 Dec 2024 08:53:59 +0300 [thread overview]
Message-ID: <f60184a1-fe12-4a7f-bbbb-e6191f673df4@stanley.mountain> (raw)
In-Reply-To: <20241209152604.1918882-1-mordan@ispras.ru>
Hi Vitalii,
kernel test robot noticed the following build warnings:
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Vitalii-Mordan/usb-phy-tahvo-fix-call-balance-for-tu-ick-handling-routines/20241209-232934
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing
patch link: https://lore.kernel.org/r/20241209152604.1918882-1-mordan%40ispras.ru
patch subject: [PATCH] usb: phy-tahvo: fix call balance for tu->ick handling routines
config: alpha-randconfig-r072-20241215 (https://download.01.org/0day-ci/archive/20241215/202412150530.f03D8q1a-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 14.2.0
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>
| Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
| Closes: https://lore.kernel.org/r/202412150530.f03D8q1a-lkp@intel.com/
smatch warnings:
drivers/usb/phy/phy-tahvo.c:347 tahvo_usb_probe() warn: passing zero to 'PTR_ERR'
vim +/PTR_ERR +347 drivers/usb/phy/phy-tahvo.c
9ba96ae5074c9f Aaro Koskinen 2013-12-06 341
9ba96ae5074c9f Aaro Koskinen 2013-12-06 342 mutex_init(&tu->serialize);
9ba96ae5074c9f Aaro Koskinen 2013-12-06 343
125b175df62ecc Vitalii Mordan 2024-12-09 344 tu->ick = devm_clk_get_enabled(&pdev->dev, "usb_l4_ick");
125b175df62ecc Vitalii Mordan 2024-12-09 345 if (!IS_ERR(tu->ick)) {
^
This typo breaks the driver.
125b175df62ecc Vitalii Mordan 2024-12-09 346 dev_err(&pdev->dev, "failed to get and enable clock\n");
125b175df62ecc Vitalii Mordan 2024-12-09 @347 return PTR_ERR(tu->ick);
125b175df62ecc Vitalii Mordan 2024-12-09 348 }
9ba96ae5074c9f Aaro Koskinen 2013-12-06 349
9ba96ae5074c9f Aaro Koskinen 2013-12-06 350 /*
9ba96ae5074c9f Aaro Koskinen 2013-12-06 351 * Set initial state, so that we generate kevents only on state changes.
9ba96ae5074c9f Aaro Koskinen 2013-12-06 352 */
9ba96ae5074c9f Aaro Koskinen 2013-12-06 353 tu->vbus_state = retu_read(rdev, TAHVO_REG_IDSR) & TAHVO_STAT_VBUS;
9ba96ae5074c9f Aaro Koskinen 2013-12-06 354
860d2686fda7e4 Chanwoo Choi 2015-07-01 355 tu->extcon = devm_extcon_dev_allocate(&pdev->dev, tahvo_cable);
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2024-12-16 5:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-09 15:26 [PATCH] usb: phy-tahvo: fix call balance for tu->ick handling routines Vitalii Mordan
2024-12-16 5:53 ` Dan Carpenter [this message]
2024-12-16 14:07 ` mordan
-- strict thread matches above, loose matches on Subject: below --
2024-12-16 14:24 Vitalii Mordan
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=f60184a1-fe12-4a7f-bbbb-e6191f673df4@stanley.mountain \
--to=dan.carpenter@linaro.org \
--cc=aaro.koskinen@iki.fi \
--cc=felipe.balbi@linux.intel.com \
--cc=gregkh@linuxfoundation.org \
--cc=khoroshilov@ispras.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=lkp@intel.com \
--cc=mordan@ispras.ru \
--cc=mutilin@ispras.ru \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=oe-kbuild@lists.linux.dev \
--cc=pchelkin@ispras.ru \
--cc=stable@vger.kernel.org \
--cc=u.kleine-koenig@baylibre.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