[openeuler:OLK-6.6 3098/3098] drivers/tty/n_gsm.c:4171: warning: Function parameter or member 'dlci' not described in 'gsm_modem_send_initial_msc'
tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: a29fc03bd0ddaf7388cf31604ef5bd9807585109 commit: 0c1413eee50d3f2b8928d788d0df337a3ce85e42 [3098/3098] tty: n_gsm: Don't block input queue by waiting MSC config: arm64-randconfig-001-20251103 (https://download.01.org/0day-ci/archive/20251104/202511040133.5KcpYIBK-lkp@i...) compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project d2625a438020ad35330cda29c3def102c1687b1b) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251104/202511040133.5KcpYIBK-lkp@i...) 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/202511040133.5KcpYIBK-lkp@intel.com/ All warnings (new ones prefixed by >>):
drivers/tty/n_gsm.c:4171: warning: Function parameter or member 'dlci' not described in 'gsm_modem_send_initial_msc'
vim +4171 drivers/tty/n_gsm.c 4159 4160 /** 4161 * gsm_modem_send_initial_msc - Send initial modem status message 4162 * 4163 * @dlci channel 4164 * 4165 * Send an initial MSC message after DLCI open to set the initial 4166 * modem status lines. This is only done for basic mode. 4167 * Does not wait for a response as we cannot block the input queue 4168 * processing. 4169 */ 4170 static int gsm_modem_send_initial_msc(struct gsm_dlci *dlci)
4171 { 4172 u8 modembits[2]; 4173 4174 if (dlci->adaption != 1 || dlci->gsm->encoding != GSM_BASIC_OPT) 4175 return 0; 4176 4177 modembits[0] = (dlci->addr << 2) | 2 | EA; /* DLCI, Valid, EA */ 4178 modembits[1] = (gsm_encode_modem(dlci) << 1) | EA; 4179 return gsm_control_command(dlci->gsm, CMD_MSC, (const u8 *)&modembits, 2); 4180 } 4181
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
participants (1)
-
kernel test robot