From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 09137261ED for ; Mon, 5 Jun 2023 20:32:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1685997146; x=1717533146; h=date:from:to:cc:subject:message-id:mime-version; bh=A5Z4FxxwmQBhj7GzkZ0z7Yckx10HS+9XcnYo3RfeTGs=; b=PWFYeBaKPV23oJkHKA6AYVpu14I4P2tgEE/shJxsfIxz6fdO5YAl+rXz CdWKguMbBIxzDPMMw8AeTH4TFrcFHapuETqiLoeDhoVT1cHXNOh6taaAg 2GWIZmezC+954jN0I8nAJGYPxxk3qhW2jXC3wPKnJqddeTucFUpeNcnXh 5D2UYWjRz2jB8JoVDT5GHAiiLPnGBy7TrzfY5jLAs+e4vy6s3rdveHANf sdlOIyVE3sA88w8yJ6/swydyWisUTpS7i3rQpeLe9VOyBAS5b+Jv5dVFT W6dra1H2SYj665i426AycU1twO6SkP37eeNbWegDTUhLePk7CBzm/kJa7 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10732"; a="341112537" X-IronPort-AV: E=Sophos;i="6.00,218,1681196400"; d="scan'208";a="341112537" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jun 2023 13:32:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10732"; a="883048130" X-IronPort-AV: E=Sophos;i="6.00,218,1681196400"; d="scan'208";a="883048130" Received: from lkp-server01.sh.intel.com (HELO 15ab08e44a81) ([10.239.97.150]) by orsmga005.jf.intel.com with ESMTP; 05 Jun 2023 13:32:23 -0700 Received: from kbuild by 15ab08e44a81 with local (Exim 4.96) (envelope-from ) id 1q6GsI-0004QP-1Y; Mon, 05 Jun 2023 20:32:22 +0000 Date: Tue, 6 Jun 2023 04:31:56 +0800 From: kernel test robot To: John Ogness Cc: oe-kbuild-all@lists.linux.dev, Sebastian Andrzej Siewior Subject: [rt-devel:linux-6.4.y-rt-rebase 46/79] kernel/printk/printk.c:3361:6: warning: no previous prototype for 'console_bkl_kthread_create' Message-ID: <202306060412.TopuoTat-lkp@intel.com> Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline tree: https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git linux-6.4.y-rt-rebase head: 0576a708b07124cac8205893c9ed734ee41f64a9 commit: 11258cd77d13c2c949b61c4dc60ccd0437a260af [46/79] printk: Add threaded printing support for BKL consoles. config: sparc-randconfig-r035-20230605 (https://download.01.org/0day-ci/archive/20230606/202306060412.TopuoTat-lkp@intel.com/config) compiler: sparc64-linux-gcc (GCC) 12.3.0 reproduce (this is a W=1 build): mkdir -p ~/bin wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git/commit/?id=11258cd77d13c2c949b61c4dc60ccd0437a260af git remote add rt-devel https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git git fetch --no-tags rt-devel linux-6.4.y-rt-rebase git checkout 11258cd77d13c2c949b61c4dc60ccd0437a260af # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.3.0 ~/bin/make.cross W=1 O=build_dir ARCH=sparc olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.3.0 ~/bin/make.cross W=1 O=build_dir ARCH=sparc SHELL=/bin/bash kernel/printk/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202306060412.TopuoTat-lkp@intel.com/ All warnings (new ones prefixed by >>): >> kernel/printk/printk.c:3361:6: warning: no previous prototype for 'console_bkl_kthread_create' [-Wmissing-prototypes] 3361 | void console_bkl_kthread_create(void) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ vim +/console_bkl_kthread_create +3361 kernel/printk/printk.c 3360 > 3361 void console_bkl_kthread_create(void) 3362 { 3363 struct task_struct *kt; 3364 struct console *c; 3365 3366 lockdep_assert_held(&console_mutex); 3367 3368 if (!IS_ENABLED(CONFIG_PREEMPT_RT)) 3369 return; 3370 3371 if (!printk_threads_enabled || console_bkl_kthread) 3372 return; 3373 3374 for_each_console(c) { 3375 if (c->flags & CON_BOOT) 3376 return; 3377 } 3378 3379 kt = kthread_run(console_bkl_kthread_func, NULL, "pr/bkl"); 3380 if (IS_ERR(kt)) { 3381 pr_err("unable to start BKL printing thread\n"); 3382 return; 3383 } 3384 3385 console_bkl_kthread = kt; 3386 3387 /* 3388 * It is important that console printing threads are scheduled 3389 * shortly after a printk call and with generous runtime budgets. 3390 */ 3391 sched_set_normal(console_bkl_kthread, -20); 3392 } 3393 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki