From: kernel test robot <lkp@intel.com>
To: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC PATCH v5 7/7] net: wwan: hwsim: support NMEA port emulation
Date: Thu, 15 Jan 2026 22:56:07 +0800 [thread overview]
Message-ID: <202601152253.zyvd4WRp-lkp@intel.com> (raw)
In-Reply-To: <20260109010909.4216-8-ryazanov.s.a@gmail.com>
Hi Sergey,
[This is a private test report for your RFC patch.]
kernel test robot noticed the following build errors:
[auto build test ERROR on wireless-next/main]
[also build test ERROR on wireless/main net-next/main net/main linus/master v6.19-rc5 next-20260115]
[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/Sergey-Ryazanov/net-wwan-core-remove-unused-port_id-field/20260109-091432
base: https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next.git main
patch link: https://lore.kernel.org/r/20260109010909.4216-8-ryazanov.s.a%40gmail.com
patch subject: [RFC PATCH v5 7/7] net: wwan: hwsim: support NMEA port emulation
config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20260115/202601152253.zyvd4WRp-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260115/202601152253.zyvd4WRp-lkp@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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202601152253.zyvd4WRp-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/net/wwan/wwan_hwsim.c: In function 'wwan_hwsim_nmea_emul_timer':
>> drivers/net/wwan/wwan_hwsim.c:239:40: error: implicit declaration of function 'from_timer'; did you mean 'mod_timer'? [-Wimplicit-function-declaration]
239 | struct wwan_hwsim_port *port = from_timer(port, t, nmea_emul.timer);
| ^~~~~~~~~~
| mod_timer
>> drivers/net/wwan/wwan_hwsim.c:239:60: error: 'nmea_emul' undeclared (first use in this function)
239 | struct wwan_hwsim_port *port = from_timer(port, t, nmea_emul.timer);
| ^~~~~~~~~
drivers/net/wwan/wwan_hwsim.c:239:60: note: each undeclared identifier is reported only once for each function it appears in
vim +239 drivers/net/wwan/wwan_hwsim.c
233
234 static void wwan_hwsim_nmea_emul_timer(struct timer_list *t)
235 {
236 /* 43.74754722298909 N 11.25759835922875 E in DMM format */
237 static const unsigned int coord[4 * 2] = { 43, 44, 8528, 0,
238 11, 15, 4559, 0 };
> 239 struct wwan_hwsim_port *port = from_timer(port, t, nmea_emul.timer);
240 struct sk_buff *skb;
241 struct tm tm;
242
243 time64_to_tm(ktime_get_real_seconds(), 0, &tm);
244
245 mod_timer(&port->nmea_emul.timer, jiffies + HZ); /* 1 second */
246
247 skb = alloc_skb(NMEA_MAX_LEN * 2, GFP_KERNEL); /* GGA + RMC */
248 if (!skb)
249 return;
250
251 wwan_hwsim_nmea_skb_push_sentence(skb,
252 "$GPGGA,%02u%02u%02u.000,%02u%02u.%04u,%c,%03u%02u.%04u,%c,1,7,1.03,176.2,M,55.2,M,,",
253 tm.tm_hour, tm.tm_min, tm.tm_sec,
254 coord[0], coord[1], coord[2],
255 coord[3] ? 'S' : 'N',
256 coord[4], coord[5], coord[6],
257 coord[7] ? 'W' : 'E');
258
259 wwan_hwsim_nmea_skb_push_sentence(skb,
260 "$GPRMC,%02u%02u%02u.000,A,%02u%02u.%04u,%c,%03u%02u.%04u,%c,0.02,31.66,%02u%02u%02u,,,A",
261 tm.tm_hour, tm.tm_min, tm.tm_sec,
262 coord[0], coord[1], coord[2],
263 coord[3] ? 'S' : 'N',
264 coord[4], coord[5], coord[6],
265 coord[7] ? 'W' : 'E',
266 tm.tm_mday, tm.tm_mon + 1,
267 (unsigned int)tm.tm_year - 100);
268
269 wwan_port_rx(port->wwan, skb);
270 }
271
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2026-01-15 14:56 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-09 1:09 [RFC PATCH v5 0/7] net: wwan: add NMEA port type support Sergey Ryazanov
2026-01-09 1:09 ` [RFC PATCH v5 1/7] net: wwan: core: remove unused port_id field Sergey Ryazanov
2026-01-09 1:09 ` [RFC PATCH v5 2/7] net: wwan: core: explicit WWAN device reference counting Sergey Ryazanov
2026-01-14 21:31 ` Loic Poulain
2026-01-15 6:52 ` Sergey Ryazanov
2026-01-15 8:08 ` Slark Xiao
2026-01-09 1:09 ` [RFC PATCH v5 3/7] net: wwan: core: split port creation and registration Sergey Ryazanov
2026-01-09 1:09 ` [RFC PATCH v5 4/7] net: wwan: core: split port unregister and stop Sergey Ryazanov
2026-01-09 1:09 ` [RFC PATCH v5 5/7] net: wwan: add NMEA port support Sergey Ryazanov
2026-01-09 1:09 ` [RFC PATCH v5 6/7] net: wwan: hwsim: refactor to support more port types Sergey Ryazanov
2026-01-09 1:09 ` [RFC PATCH v5 7/7] net: wwan: hwsim: support NMEA port emulation Sergey Ryazanov
2026-01-15 13:16 ` kernel test robot
2026-01-15 14:56 ` kernel test robot [this message]
2026-01-09 3:21 ` Re:[RFC PATCH v5 0/7] net: wwan: add NMEA port type support Slark Xiao
2026-01-09 7:11 ` Sergey Ryazanov
2026-01-13 2:03 ` Slark Xiao
2026-01-13 6:59 ` Sergey Ryazanov
2026-01-14 2:42 ` Slark Xiao
2026-01-14 19:59 ` [RFC " Sergey Ryazanov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202601152253.zyvd4WRp-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=ryazanov.s.a@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.