Subject: Re: [PATCH v15 net-next 05/11] net/nebula-matrix: add channel layer

From: Jakub Kicinski <[email-masked]>
Date: Fri, 22 May 2026 10:16:09 -0700

On Wed, 20 May 2026 11:29:37 +0800 illusion.wang wrote:
> A channel management layer provides a structured approach to handle
> communication between different components and drivers. Here's a summary
> of its key functionalities:

In file included from ../include/linux/device.h:15,
                 from ../drivers/net/ethernet/nebula-matrix/nbl/nbl_channel/nbl_channel.c:6:
../drivers/net/ethernet/nebula-matrix/nbl/nbl_channel/nbl_channel.c: In function ‘nbl_chan_recv_msg’:
../drivers/net/ethernet/nebula-matrix/nbl/nbl_channel/nbl_channel.c:502:38: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘unsigned int’ [-Wformat=]
  502 |                         dev_err(dev, "buf_len=%u exceeds external buffer size=%lu\n",
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/linux/dev_printk.h:110:30: note: in definition of macro ‘dev_printk_index_wrap’
  110 |                 _p_func(dev, fmt, ##__VA_ARGS__);                       \
      |                              ^~~
../include/linux/dev_printk.h:154:56: note: in expansion of macro ‘dev_fmt’
  154 |         dev_printk_index_wrap(_dev_err, KERN_ERR, dev, dev_fmt(fmt), ##__VA_ARGS__)
      |                                                        ^~~~~~~
../drivers/net/ethernet/nebula-matrix/nbl/nbl_channel/nbl_channel.c:502:25: note: in expansion of macro ‘dev_err’
  502 |                         dev_err(dev, "buf_len=%u exceeds external buffer size=%lu\n",
      |                         ^~~~~~~
../drivers/net/ethernet/nebula-matrix/nbl/nbl_channel/nbl_channel.c:502:81: note: format string is defined here
  502 |                         dev_err(dev, "buf_len=%u exceeds external buffer size=%lu\n",
      |                                                                               ~~^
      |                                                                                 |
      |                                                                                 long unsigned int
      |                                                                               %u
-- 
pw-bot: cr