From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: Re: [PATCH v4] gpio: amdptpci: add support for AMD PT PCI controller
Date: Tue, 24 Nov 2026 22:12:08 +0800 [thread overview]
Message-ID: <20261124220243.DfEpXhMD-lkp@intel.com> (raw)
::::::
:::::: Manual check reason: "linux-review patch is more than 7 days old, verify it wasn't already superseded"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20261116075510.5722-1-Chloe_Chen@asmedia.com.tw>
References: <20261116075510.5722-1-Chloe_Chen@asmedia.com.tw>
TO: Szuying Chen <Chloe_Chen@asmedia.com.tw>
TO: linusw@kernel.org
TO: Markus.Elfring@web.de
TO: linux-gpio@vger.kernel.org
TO: brgl@kernel.org
TO: linux-kernel@vger.kernel.org
CC: Yd_Tseng@asmedia.com.tw
CC: Jesse1_Chang@asmedia.com.tw
CC: Richard_Hsu@asmedia.com.tw
CC: Szuying Chen <Chloe_Chen@asmedia.com.tw>
Hi Szuying,
kernel test robot noticed the following build warnings:
[auto build test WARNING on brgl/gpio/for-next]
[also build test WARNING on linus/master v7.4-rc4 next-20261123]
[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/Szuying-Chen/gpio-amdptpci-add-support-for-AMD-PT-PCI-controller/20261116-155510
base: https://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git gpio/for-next
patch link: https://lore.kernel.org/r/20261116075510.5722-1-Chloe_Chen%40asmedia.com.tw
patch subject: [PATCH v4] gpio: amdptpci: add support for AMD PT PCI controller
:::::: branch date: 8 days ago
:::::: commit date: 8 days ago
config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20261124/20261124220243.DfEpXhMD-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/20261124/20261124220243.DfEpXhMD-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/r/20261124220243.DfEpXhMD-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/gpio/gpio-amdptpci.c: In function 'pt27_gpio_suspend':
>> drivers/gpio/gpio-amdptpci.c:537:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
537 | if (!device_may_wakeup(dev))
| ^~
drivers/gpio/gpio-amdptpci.c:540:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
540 | iowrite16(PT27_WAKE_MASK, chip->base + PT27_REG_WAKE_STAT);
| ^~~~~~~~~
vim +/if +537 drivers/gpio/gpio-amdptpci.c
bba230f88fa2c8 Szuying Chen 2026-11-16 521
bba230f88fa2c8 Szuying Chen 2026-11-16 522 static int __maybe_unused pt27_gpio_suspend(struct device *dev)
bba230f88fa2c8 Szuying Chen 2026-11-16 523 {
bba230f88fa2c8 Szuying Chen 2026-11-16 524 struct pt27_gpio *chip = dev_get_drvdata(dev);
bba230f88fa2c8 Szuying Chen 2026-11-16 525
bba230f88fa2c8 Szuying Chen 2026-11-16 526 if (pm_runtime_status_suspended(dev)) {
bba230f88fa2c8 Szuying Chen 2026-11-16 527 dev_dbg(dev, "%s: already runtime-suspended, skipping save\n", __func__);
bba230f88fa2c8 Szuying Chen 2026-11-16 528 return 0;
bba230f88fa2c8 Szuying Chen 2026-11-16 529 }
bba230f88fa2c8 Szuying Chen 2026-11-16 530
bba230f88fa2c8 Szuying Chen 2026-11-16 531 scoped_guard(raw_spinlock_irqsave, &chip->gen.lock) {
bba230f88fa2c8 Szuying Chen 2026-11-16 532 pt27_save_regs(chip);
bba230f88fa2c8 Szuying Chen 2026-11-16 533 iowrite32(0, chip->base + PT27_REG_INT_EN);
bba230f88fa2c8 Szuying Chen 2026-11-16 534 iowrite32(PT27_GPIO_MASK, chip->base + PT27_REG_INT_MASK);
bba230f88fa2c8 Szuying Chen 2026-11-16 535 iowrite32(PT27_GPIO_MASK, chip->base + PT27_REG_INT_STAT);
bba230f88fa2c8 Szuying Chen 2026-11-16 536
bba230f88fa2c8 Szuying Chen 2026-11-16 @537 if (!device_may_wakeup(dev))
bba230f88fa2c8 Szuying Chen 2026-11-16 538 iowrite16(0, chip->base + PT27_REG_WAKE_EN);
bba230f88fa2c8 Szuying Chen 2026-11-16 539
bba230f88fa2c8 Szuying Chen 2026-11-16 540 iowrite16(PT27_WAKE_MASK, chip->base + PT27_REG_WAKE_STAT);
bba230f88fa2c8 Szuying Chen 2026-11-16 541 }
bba230f88fa2c8 Szuying Chen 2026-11-16 542
bba230f88fa2c8 Szuying Chen 2026-11-16 543 synchronize_irq(chip->irq);
bba230f88fa2c8 Szuying Chen 2026-11-16 544 return 0;
bba230f88fa2c8 Szuying Chen 2026-11-16 545 }
bba230f88fa2c8 Szuying Chen 2026-11-16 546
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2026-11-24 14:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 14:12 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-11-26 5:45 [PATCH v4] gpio: amdptpci: add support for AMD PT PCI controller kernel test robot
2026-11-16 7:55 Szuying Chen
2026-11-16 8:42 ` sashiko-bot
2026-11-16 10:03 ` Markus Elfring
2026-11-26 13:25 ` Linus Walleij
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=20261124220243.DfEpXhMD-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild@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.