Re: [PATCH v1 4/9] mfd: Add driver for Asus Transformer embedded controller

From: kernel test robot

Date: Sun Feb 01 2026 - 14:07:14 EST


Hi Svyatoslav,

kernel test robot noticed the following build warnings:

[auto build test WARNING on next-20260130]
[also build test WARNING on linus/master v6.19-rc7]
[cannot apply to lee-mfd/for-mfd-next lee-mfd/for-mfd-fixes dtor-input/next dtor-input/for-linus sre-power-supply/for-next v6.19-rc7 v6.19-rc6 v6.19-rc5]
[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/Svyatoslav-Ryhel/dt-bindings-misc-document-ASUS-Transformers-EC-Dockram/20260201-184740
base: next-20260130
patch link: https://lore.kernel.org/r/20260201104343.79231-5-clamor95%40gmail.com
patch subject: [PATCH v1 4/9] mfd: Add driver for Asus Transformer embedded controller
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20260202/202602020344.ZGXToDMx-lkp@xxxxxxxxx/config)
compiler: alpha-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260202/202602020344.ZGXToDMx-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/202602020344.ZGXToDMx-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

In file included from include/linux/printk.h:620,
from include/asm-generic/bug.h:31,
from arch/alpha/include/asm/bug.h:23,
from include/linux/bug.h:5,
from include/linux/thread_info.h:13,
from include/asm-generic/current.h:6,
from ./arch/alpha/include/generated/asm/current.h:1,
from include/linux/sched.h:12,
from include/linux/delay.h:13,
from drivers/mfd/asus-ec.c:7:
drivers/mfd/asus-ec.c: In function 'asus_ec_read':
>> drivers/mfd/asus-ec.c:107:35: warning: field width specifier '*' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=]
107 | dev_dbg(&priv->self->dev, "EC read: %*ph, ret = %d%s\n",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:231:29: note: in definition of macro '__dynamic_func_call_cls'
231 | func(&id, ##__VA_ARGS__); \
| ^~~~~~~~~~~
include/linux/dynamic_debug.h:261:9: note: in expansion of macro '_dynamic_func_call_cls'
261 | _dynamic_func_call_cls(_DPRINTK_CLASS_DFLT, fmt, func, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:284:9: note: in expansion of macro '_dynamic_func_call'
284 | _dynamic_func_call(fmt, __dynamic_dev_dbg, \
| ^~~~~~~~~~~~~~~~~~
include/linux/dev_printk.h:165:9: note: in expansion of macro 'dynamic_dev_dbg'
165 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~
include/linux/dev_printk.h:165:30: note: in expansion of macro 'dev_fmt'
165 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~
drivers/mfd/asus-ec.c:107:9: note: in expansion of macro 'dev_dbg'
107 | dev_dbg(&priv->self->dev, "EC read: %*ph, ret = %d%s\n",
| ^~~~~~~
drivers/mfd/asus-ec.c:107:46: note: format string is defined here
107 | dev_dbg(&priv->self->dev, "EC read: %*ph, ret = %d%s\n",
| ~^~
| |
| int


vim +107 drivers/mfd/asus-ec.c

100
101 static int asus_ec_read(struct asus_ec_data *priv, bool in_irq)
102 {
103 int ret = i2c_smbus_read_i2c_block_data(priv->self, 0x6A,
104 sizeof(priv->ec_data),
105 priv->ec_data);
106
> 107 dev_dbg(&priv->self->dev, "EC read: %*ph, ret = %d%s\n",
108 sizeof(priv->ec_data), priv->ec_data,
109 ret, in_irq ? "; in irq" : "");
110
111 return ret;
112 }
113

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