All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Bastien Nocera <hadess@hadess.net>, linux-bluetooth@vger.kernel.org
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH 2/3] Bluetooth: btnxpuart: Remove unneeded CONFIG_PM ifdef
Date: Sat, 17 Jan 2026 03:50:59 +0800	[thread overview]
Message-ID: <202601170322.MZrwlt6M-lkp@intel.com> (raw)
In-Reply-To: <20260116125803.598552-3-hadess@hadess.net>

Hi Bastien,

kernel test robot noticed the following build warnings:

[auto build test WARNING on bluetooth/master]
[also build test WARNING on linus/master v6.19-rc5]
[cannot apply to bluetooth-next/master next-20260116]
[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/Bastien-Nocera/Bluetooth-btmtksdio-Simplify-dev_pm_ops-usage/20260116-210400
base:   https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth.git master
patch link:    https://lore.kernel.org/r/20260116125803.598552-3-hadess%40hadess.net
patch subject: [PATCH 2/3] Bluetooth: btnxpuart: Remove unneeded CONFIG_PM ifdef
config: x86_64-randconfig-002-20260116 (https://download.01.org/0day-ci/archive/20260117/202601170322.MZrwlt6M-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260117/202601170322.MZrwlt6M-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/202601170322.MZrwlt6M-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/bluetooth/btnxpuart.c:1964:12: warning: 'nxp_serdev_resume' defined but not used [-Wunused-function]
    1964 | static int nxp_serdev_resume(struct device *dev)
         |            ^~~~~~~~~~~~~~~~~
>> drivers/bluetooth/btnxpuart.c:1950:12: warning: 'nxp_serdev_suspend' defined but not used [-Wunused-function]
    1950 | static int nxp_serdev_suspend(struct device *dev)
         |            ^~~~~~~~~~~~~~~~~~


vim +/nxp_serdev_resume +1964 drivers/bluetooth/btnxpuart.c

689ca16e5232784 Neeraj Sanjay Kale 2023-03-16  1949  
658c56d5b3b3a41 Neeraj Sanjay Kale 2024-07-05 @1950  static int nxp_serdev_suspend(struct device *dev)
658c56d5b3b3a41 Neeraj Sanjay Kale 2024-07-05  1951  {
658c56d5b3b3a41 Neeraj Sanjay Kale 2024-07-05  1952  	struct btnxpuart_dev *nxpdev = dev_get_drvdata(dev);
658c56d5b3b3a41 Neeraj Sanjay Kale 2024-07-05  1953  	struct ps_data *psdata = &nxpdev->psdata;
658c56d5b3b3a41 Neeraj Sanjay Kale 2024-07-05  1954  
658c56d5b3b3a41 Neeraj Sanjay Kale 2024-07-05  1955  	ps_control(psdata->hdev, PS_STATE_SLEEP);
c50b56664e48b66 Neeraj Sanjay Kale 2025-04-14  1956  
c50b56664e48b66 Neeraj Sanjay Kale 2025-04-14  1957  	if (psdata->wakeup_source) {
c50b56664e48b66 Neeraj Sanjay Kale 2025-04-14  1958  		enable_irq_wake(psdata->irq_handler);
c50b56664e48b66 Neeraj Sanjay Kale 2025-04-14  1959  		enable_irq(psdata->irq_handler);
c50b56664e48b66 Neeraj Sanjay Kale 2025-04-14  1960  	}
658c56d5b3b3a41 Neeraj Sanjay Kale 2024-07-05  1961  	return 0;
658c56d5b3b3a41 Neeraj Sanjay Kale 2024-07-05  1962  }
658c56d5b3b3a41 Neeraj Sanjay Kale 2024-07-05  1963  
658c56d5b3b3a41 Neeraj Sanjay Kale 2024-07-05 @1964  static int nxp_serdev_resume(struct device *dev)
658c56d5b3b3a41 Neeraj Sanjay Kale 2024-07-05  1965  {
658c56d5b3b3a41 Neeraj Sanjay Kale 2024-07-05  1966  	struct btnxpuart_dev *nxpdev = dev_get_drvdata(dev);
658c56d5b3b3a41 Neeraj Sanjay Kale 2024-07-05  1967  	struct ps_data *psdata = &nxpdev->psdata;
658c56d5b3b3a41 Neeraj Sanjay Kale 2024-07-05  1968  
c50b56664e48b66 Neeraj Sanjay Kale 2025-04-14  1969  	if (psdata->wakeup_source) {
c50b56664e48b66 Neeraj Sanjay Kale 2025-04-14  1970  		disable_irq(psdata->irq_handler);
c50b56664e48b66 Neeraj Sanjay Kale 2025-04-14  1971  		disable_irq_wake(psdata->irq_handler);
c50b56664e48b66 Neeraj Sanjay Kale 2025-04-14  1972  	}
c50b56664e48b66 Neeraj Sanjay Kale 2025-04-14  1973  
658c56d5b3b3a41 Neeraj Sanjay Kale 2024-07-05  1974  	ps_control(psdata->hdev, PS_STATE_AWAKE);
658c56d5b3b3a41 Neeraj Sanjay Kale 2024-07-05  1975  	return 0;
658c56d5b3b3a41 Neeraj Sanjay Kale 2024-07-05  1976  }
658c56d5b3b3a41 Neeraj Sanjay Kale 2024-07-05  1977  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

  parent reply	other threads:[~2026-01-16 19:51 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-16 12:50 [PATCH 0/3] More CONFIG_PM* simplifications Bastien Nocera
2026-01-16 12:50 ` [PATCH 1/3] Bluetooth: btmtksdio: Simplify dev_pm_ops usage Bastien Nocera
2026-01-16 13:33   ` Paul Menzel
2026-01-16 13:42     ` Bastien Nocera
2026-01-16 13:36   ` More CONFIG_PM* simplifications bluez.test.bot
2026-01-16 19:29   ` [PATCH 1/3] Bluetooth: btmtksdio: Simplify dev_pm_ops usage kernel test robot
2026-01-16 12:50 ` [PATCH 2/3] Bluetooth: btnxpuart: Remove unneeded CONFIG_PM ifdef Bastien Nocera
2026-01-16 13:35   ` Paul Menzel
2026-01-16 14:35   ` Luiz Augusto von Dentz
2026-01-16 14:41     ` Bastien Nocera
2026-01-16 19:50   ` kernel test robot [this message]
2026-01-19  7:53     ` Neeraj Sanjay Kale
2026-01-19  9:10       ` Bastien Nocera
2026-01-20 16:42         ` Luiz Augusto von Dentz
2026-01-20 17:17           ` Bastien Nocera
2026-01-20 18:05             ` Luiz Augusto von Dentz
2026-01-20 21:38               ` Bastien Nocera
2026-01-16 12:50 ` [PATCH 3/3] Bluetooth: btintel: Remove unneeded CONFIG_PM* #ifdef's Bastien Nocera
2026-01-16 13:36   ` Paul Menzel
2026-01-16 21:49   ` kernel test robot

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=202601170322.MZrwlt6M-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=hadess@hadess.net \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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.