public inbox for oe-kbuild@lists.linux.dev
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: [tglx-devel:cleanups 18/38] ../../../lib/rbtree_test.c:246:9: error: unknown type name 'ktime_t'; did you mean 'time_t'?
Date: Fri, 10 Apr 2026 15:56:16 +0200	[thread overview]
Message-ID: <202604101523.TsaqAHVI-lkp@intel.com> (raw)

:::::: 
:::::: Manual check reason: "low confidence bisect report"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: Thomas Gleixner <tglx@kernel.org>

Hi Thomas,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git cleanups
head:   4334f669c43ca5506bf51471e81f18deb659410f
commit: 54c7fdc5e9c41063e1c76e8b23d52653e9d5beba [18/38] lib/tests: Replace get_cycles() with ktime_get()
:::::: branch date: 2 hours ago
:::::: commit date: 2 hours ago
config: x86_64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260410/202604101523.TsaqAHVI-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260410/202604101523.TsaqAHVI-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/r/202604101523.TsaqAHVI-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from rbtree_test.c:11:
   ../../../lib/rbtree_test.c: In function 'basic_check':
>> ../../../lib/rbtree_test.c:246:9: error: unknown type name 'ktime_t'; did you mean 'time_t'?
     246 |         ktime_t time1, time2, time;
         |         ^~~~~~~
         |         time_t
>> ../../../lib/rbtree_test.c:253:17: error: implicit declaration of function 'ktime_get' [-Wimplicit-function-declaration]
     253 |         time1 = ktime_get();
         |                 ^~~~~~~~~
   ../../../lib/rbtree_test.c: In function 'augmented_check':
   ../../../lib/rbtree_test.c:348:9: error: unknown type name 'ktime_t'; did you mean 'time_t'?
     348 |         ktime_t time1, time2, time;
         |         ^~~~~~~
         |         time_t
   ../../../lib/rbtree_test.c: In function 'rbtree_test_init':
   ../../../lib/rbtree_test.c:402:17: error: implicit declaration of function 'kmalloc_objs'; did you mean 'kzalloc_obj'? [-Wimplicit-function-declaration]
     402 |         nodes = kmalloc_objs(*nodes, nnodes);
         |                 ^~~~~~~~~~~~
         |                 kzalloc_obj
   ../../../lib/rbtree_test.c:402:15: error: assignment to 'struct test_node *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
     402 |         nodes = kmalloc_objs(*nodes, nnodes);
         |               ^
--
   In file included from interval_tree_test.c:11:
   ../../../lib/interval_tree_test.c: In function 'basic_check':
>> ../../../lib/interval_tree_test.c:68:9: error: unknown type name 'ktime_t'; did you mean 'time_t'?
      68 |         ktime_t time1, time2, time;
         |         ^~~~~~~
         |         time_t
>> ../../../lib/interval_tree_test.c:74:17: error: implicit declaration of function 'ktime_get' [-Wimplicit-function-declaration]
      74 |         time1 = ktime_get();
         |                 ^~~~~~~~~
   ../../../lib/interval_tree_test.c: In function 'search_check':
   ../../../lib/interval_tree_test.c:96:9: error: unknown type name 'ktime_t'; did you mean 'time_t'?
      96 |         ktime_t time1, time2, time;
         |         ^~~~~~~
         |         time_t
   ../../../lib/interval_tree_test.c: In function 'interval_tree_test_init':
   ../../../lib/interval_tree_test.c:314:17: error: implicit declaration of function 'kmalloc_objs'; did you mean 'kzalloc_obj'? [-Wimplicit-function-declaration]
     314 |         nodes = kmalloc_objs(struct interval_tree_node, nnodes);
         |                 ^~~~~~~~~~~~
         |                 kzalloc_obj
   ../../../lib/interval_tree_test.c:314:30: error: expected expression before 'struct'
     314 |         nodes = kmalloc_objs(struct interval_tree_node, nnodes);
         |                              ^~~~~~

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

                 reply	other threads:[~2026-04-10 13:57 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=202604101523.TsaqAHVI-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox