Hi Dawei,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 92a09c47464d040866cf2b4cd052bc60555185fb]

url:    
https://github.com/intel-lab-lkp/linux/commits/Dawei-Li/rpmsg-char-Reuse-eptdev-logic-for-anon-device/20250507-223209
base:   92a09c47464d040866cf2b4cd052bc60555185fb
patch link:    
https://lore.kernel.org/r/20250507141712.4276-4-dawei.li%40linux.dev
patch subject: [PATCH 3/3] rpmsg: ctrl: Introduce RPMSG_CREATE_EPT_FD_IOCTL uAPI
config: i386-randconfig-011-20250508 
(https://download.01.org/0day-ci/archive/20250509/202505090716.ib4qqaf2-...@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20250509/202505090716.ib4qqaf2-...@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 <l...@intel.com>
| Closes: 
https://lore.kernel.org/oe-kbuild-all/202505090716.ib4qqaf2-...@intel.com/

All warnings (new ones prefixed by >>):

   In file included from drivers/rpmsg/rpmsg_ctrl.c:28:
   drivers/rpmsg/rpmsg_char.h:54:1: error: expected identifier or '(' before 
'{' token
      54 | {
         | ^
>> drivers/rpmsg/rpmsg_char.h:52:19: warning: 'rpmsg_eptdev_create' used but 
>> never defined
      52 | static inline int rpmsg_eptdev_create(struct rpmsg_device *rpdev, 
struct device *parent,
         |                   ^~~~~~~~~~~~~~~~~~~


vim +/rpmsg_eptdev_create +52 drivers/rpmsg/rpmsg_char.h

69265bc12b6567 Arnaud Pouliquen 2022-01-24  51  
73c9f094eaac8b Dawei Li         2025-05-07 @52  static inline int 
rpmsg_eptdev_create(struct rpmsg_device *rpdev, struct device *parent,
73c9f094eaac8b Dawei Li         2025-05-07  53                                  
      struct rpmsg_channel_info chinfo, int *pfd);
73c9f094eaac8b Dawei Li         2025-05-07 @54  {
73c9f094eaac8b Dawei Li         2025-05-07  55          return -ENXIO;
73c9f094eaac8b Dawei Li         2025-05-07  56  }
73c9f094eaac8b Dawei Li         2025-05-07  57  

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

Reply via email to