Re: [PATCH] ata: libahci: fix panic when accessing ports beyond MMIO region

Niklas Cassel
2026-04-30T12:48:37Z

On Thu, Apr 30, 2026 at 08:59:57AM +0800, kernel test robot wrote:
> Hi,
>
> kernel test robot noticed the following build errors:
>
> [auto build test ERROR on linus/master]
> [also build test ERROR on v7.1-rc1 next-20260429]
> [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/dayou5941-163-com/ata-libahci-fix-panic-when-accessing-ports-beyond-MMIO-region/20260422-192119
> base: linus/master
> patch link: https://lore.kernel.org/r/20260422080322.1006592-1-dayou5941%40163.com
> patch subject: [PATCH] ata: libahci: fix panic when accessing ports beyond MMIO region
> config: arm64-randconfig-003-20260430 (https://download.01.org/0day-ci/archive/20260430/202604300815.6kpEidbJ-lkp@intel.com/config)
> compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 5bac06718f502014fade905512f1d26d578a18f3)
> rustc: rustc 1.88.0 (6b00bc388 2025-06-23)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260430/202604300815.6kpEidbJ-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/202604300815.6kpEidbJ-lkp@intel.com/
>
> All errors (new ones prefixed by >>):
>
> drivers/ata/libahci.c:614:18: warning: missing terminating '"' character [-Winvalid-pp-token]
> 614 | dev_warn(dev, "Port %d (offset 0x%llx) exceeds MMIO region (0x%llx),
> | ^
> drivers/ata/libahci.c:615:44: warning: missing terminating '"' character [-Winvalid-pp-token]
> 615 | truncating port map at port %d\n",
> | ^
> >> drivers/ata/libahci.c:614:18: error: expected expression
> 614 | dev_warn(dev, "Port %d (offset 0x%llx) exceeds MMIO region (0x%llx),
> | ^
> 2 warnings and 1 error generated.

Thank you dear kernel test robot,

However, this report is for V1, we have applied V5 of this patch:
https://lore.kernel.org/linux-ide/177735961706.2183577.4033506737290437474.b4-ty@b4/T/#t

Which does not have this problem.

Kind regards,
Niklas