All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Thomas Weißschuh " <linux@weissschuh.net>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [thomas-weissschuh:b4/vdso-timens-conditional 12/12] arch/sparc/include/uapi/../../../../lib/vdso/gettimeofday.c:483:24: error: implicit declaration of function 'clock_getres_fallback'; did you mean 'clock_getres32_fallback'?
Date: Mon, 28 Sep 2026 00:20:23 +0200	[thread overview]
Message-ID: <202609280041.GO294f3K-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/thomas.weissschuh/linux.git b4/vdso-timens-conditional
head:   dbe6d2a5ee3233a9e819a0663236161d27841d5a
commit: dbe6d2a5ee3233a9e819a0663236161d27841d5a [12/12] VDSO_HAS_CLOCK_GETRES
config: sparc-randconfig-r2107-20260927 (https://download.01.org/0day-ci/archive/20260928/202609280041.GO294f3K-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 14.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260928/202609280041.GO294f3K-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/202609280041.GO294f3K-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from arch/sparc/vdso/vclock_gettime.c:22:
   arch/sparc/include/uapi/../../../../lib/vdso/gettimeofday.c: In function '__cvdso_clock_getres_data':
>> arch/sparc/include/uapi/../../../../lib/vdso/gettimeofday.c:483:24: error: implicit declaration of function 'clock_getres_fallback'; did you mean 'clock_getres32_fallback'? [-Wimplicit-function-declaration]
     483 |                 return clock_getres_fallback(clock, res);
         |                        ^~~~~~~~~~~~~~~~~~~~~
         |                        clock_getres32_fallback
--
   In file included from arch/sparc/vdso/vdso32/../vclock_gettime.c:22,
                    from arch/sparc/vdso/vdso32/vclock_gettime.c:22:
   arch/sparc/include/uapi/../../../../lib/vdso/gettimeofday.c: In function '__cvdso_clock_getres_data':
   arch/sparc/include/uapi/../../../../lib/vdso/gettimeofday.c:483:24: error: implicit declaration of function 'clock_getres_fallback'; did you mean 'clock_gettime_fallback'? [-Wimplicit-function-declaration]
     483 |                 return clock_getres_fallback(clock, res);
         |                        ^~~~~~~~~~~~~~~~~~~~~
         |                        clock_gettime_fallback
   arch/sparc/include/uapi/../../../../lib/vdso/gettimeofday.c: In function '__cvdso_clock_getres_time32_data':
>> arch/sparc/include/uapi/../../../../lib/vdso/gettimeofday.c:505:24: error: implicit declaration of function 'clock_getres32_fallback'; did you mean 'clock_gettime32_fallback'? [-Wimplicit-function-declaration]
     505 |                 return clock_getres32_fallback(clock, res);
         |                        ^~~~~~~~~~~~~~~~~~~~~~~
         |                        clock_gettime32_fallback


vim +483 arch/sparc/include/uapi/../../../../lib/vdso/gettimeofday.c

502a590a170b3b Thomas Gleixner   2019-07-28  473  
08cd5e1de81584 Thomas Weißschuh  2026-02-27  474  static
ac1a42f4e4e296 Thomas Weißschuh  2025-02-04  475  int __cvdso_clock_getres_data(const struct vdso_time_data *vd, clockid_t clock,
e876f0b69dc993 Christophe Leroy  2020-02-07  476  			      struct __kernel_timespec *res)
502a590a170b3b Thomas Gleixner   2019-07-28  477  {
34f888e3405ace Thomas Weißschuh  2025-07-01  478  	bool ok;
00b26474c2f161 Vincenzo Frascino 2019-06-21  479  
34f888e3405ace Thomas Weißschuh  2025-07-01  480  	ok =  __cvdso_clock_getres_common(vd, clock, res);
34f888e3405ace Thomas Weißschuh  2025-07-01  481  
34f888e3405ace Thomas Weißschuh  2025-07-01  482  	if (unlikely(!ok))
00b26474c2f161 Vincenzo Frascino 2019-06-21 @483  		return clock_getres_fallback(clock, res);
502a590a170b3b Thomas Gleixner   2019-07-28  484  	return 0;
00b26474c2f161 Vincenzo Frascino 2019-06-21  485  }
00b26474c2f161 Vincenzo Frascino 2019-06-21  486  
e876f0b69dc993 Christophe Leroy  2020-02-07  487  static __maybe_unused
e876f0b69dc993 Christophe Leroy  2020-02-07  488  int __cvdso_clock_getres(clockid_t clock, struct __kernel_timespec *res)
e876f0b69dc993 Christophe Leroy  2020-02-07  489  {
df7fcbefa71090 Thomas Weißschuh  2025-02-04  490  	return __cvdso_clock_getres_data(__arch_get_vdso_u_time_data(), clock, res);
e876f0b69dc993 Christophe Leroy  2020-02-07  491  }
e876f0b69dc993 Christophe Leroy  2020-02-07  492  
08cd5e1de81584 Thomas Weißschuh  2026-02-27  493  static int
ac1a42f4e4e296 Thomas Weißschuh  2025-02-04  494  __cvdso_clock_getres_time32_data(const struct vdso_time_data *vd, clockid_t clock,
e876f0b69dc993 Christophe Leroy  2020-02-07  495  				 struct old_timespec32 *res)
00b26474c2f161 Vincenzo Frascino 2019-06-21  496  {
00b26474c2f161 Vincenzo Frascino 2019-06-21  497  	struct __kernel_timespec ts;
34f888e3405ace Thomas Weißschuh  2025-07-01  498  	bool ok;
00b26474c2f161 Vincenzo Frascino 2019-06-21  499  
369cecd238ac83 Thomas Weißschuh  2026-07-02  500  	BUILD_BUG_ON(!IS_ENABLED(CONFIG_COMPAT_32BIT_TIME));
369cecd238ac83 Thomas Weißschuh  2026-07-02  501  
34f888e3405ace Thomas Weißschuh  2025-07-01  502  	ok = __cvdso_clock_getres_common(vd, clock, &ts);
c60a32ea4f459f Thomas Gleixner   2019-07-30  503  
34f888e3405ace Thomas Weißschuh  2025-07-01  504  	if (unlikely(!ok))
c60a32ea4f459f Thomas Gleixner   2019-07-30 @505  		return clock_getres32_fallback(clock, res);
00b26474c2f161 Vincenzo Frascino 2019-06-21  506  
a279235ddbe975 Vincenzo Frascino 2019-08-30  507  	if (likely(res)) {
00b26474c2f161 Vincenzo Frascino 2019-06-21  508  		res->tv_sec = ts.tv_sec;
00b26474c2f161 Vincenzo Frascino 2019-06-21  509  		res->tv_nsec = ts.tv_nsec;
00b26474c2f161 Vincenzo Frascino 2019-06-21  510  	}
34f888e3405ace Thomas Weißschuh  2025-07-01  511  	return 0;
00b26474c2f161 Vincenzo Frascino 2019-06-21  512  }
e876f0b69dc993 Christophe Leroy  2020-02-07  513  

:::::: The code at line 483 was first introduced by commit
:::::: 00b26474c2f1613d7ab894c525f775c67c8a9e8f lib/vdso: Provide generic VDSO implementation

:::::: TO: Vincenzo Frascino <vincenzo.frascino@arm.com>
:::::: CC: Thomas Gleixner <tglx@linutronix.de>

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

                 reply	other threads:[~2026-09-27 22:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202609280041.GO294f3K-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=linux@weissschuh.net \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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.