[android-common:android16-6.12 12/12] drivers/tty/n_gsm.c:4171: warning: Function parameter or struct member 'dlci' not described in 'gsm_modem_send_initial_msc'
kernel test robot <[email protected]>
| Newsgroups | dev.linux.lists.oe-kbuild-all |
|---|---|
| Message-ID | <[email protected]> |
Hi Seppo, FYI, the error/warning still remains. tree: https://android.googlesource.com/kernel/common android16-6.12 head: 0fd55a309793adc6b8cddb5c29e80caa545ba4bb commit: 5416e89b81b00443cb03c88df8da097ae091a141 [12/12] tty: n_gsm: Don't block input queue by waiting MSC config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20260719/[email protected]/config) compiler: arm-linux-gnueabi-gcc (GCC) 16.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260719/[email protected]/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 <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ All warnings (new ones prefixed by >>): >> drivers/tty/n_gsm.c:4171: warning: Function parameter or struct 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