Re: [PATCH 2/2] bus: add Altera timeout bridge driver

From: kernel test robot

Date: Tue Oct 06 2026 - 05:57:40 EST


Hi Vyacheslav,

kernel test robot noticed the following build errors:

[auto build test ERROR on a74306e2e676f9775457366fc047a660fbf02f26]

url: https://github.com/intel-lab-lkp/linux/commits/Vyacheslav-Yurkov-via-B4-Relay/dt-bindings-bus-Add-binding-for-Altera-AXI-Timeout-Bridge/20261003-201919
base: a74306e2e676f9775457366fc047a660fbf02f26
patch link: https://lore.kernel.org/r/20261003-feature-timeout-ip-v1-2-8837c311d571%40bruker.com
patch subject: [PATCH 2/2] bus: add Altera timeout bridge driver
config: s390-allyesconfig (https://download.01.org/0day-ci/archive/20261006/202610061734.ZXwVnIt2-lkp@xxxxxxxxx/config)
compiler: s390-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261006/202610061734.ZXwVnIt2-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202610061734.ZXwVnIt2-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

drivers/bus/altera-timeout-bridge.c: In function 'bridge_reg_read':
>> drivers/bus/altera-timeout-bridge.c:60:18: error: implicit declaration of function 'readl' [-Wimplicit-function-declaration]
60 | result = readl(driver_data->bridge_registers + offset);
| ^~~~~
drivers/bus/altera-timeout-bridge.c: In function 'bridge_reg_write':
>> drivers/bus/altera-timeout-bridge.c:69:9: error: implicit declaration of function 'writel' [-Wimplicit-function-declaration]
69 | writel(value, driver_data->bridge_registers + offset);
| ^~~~~~


vim +/readl +60 drivers/bus/altera-timeout-bridge.c

53
54 static u32
55 bridge_reg_read(struct altera_timeout_bridge_data *driver_data,
56 u32 offset)
57 {
58 u32 result;
59
> 60 result = readl(driver_data->bridge_registers + offset);
61
62 return result;
63 }
64
65 static void bridge_reg_write(
66 struct altera_timeout_bridge_data *driver_data,
67 int offset, u32 value)
68 {
> 69 writel(value, driver_data->bridge_registers + offset);
70 }
71

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