From: kernel test robot <lkp@intel.com> To: Chris Down <chris@chrisdown.name>, linux-kernel@vger.kernel.org Cc: kbuild-all@lists.01.org, Petr Mladek <pmladek@suse.com>, Jessica Yu <jeyu@kernel.org>, Sergey Senozhatsky <sergey.senozhatsky@gmail.com>, John Ogness <john.ogness@linutronix.de>, Steven Rostedt <rostedt@goodmis.org>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Johannes Weiner <hannes@cmpxchg.org>, Kees Cook <keescook@chromium.org>, Andy Shevchenko <andriy.shevchenko@linux.intel.com> Subject: Re: [PATCH v7 4/5] printk: Userspace format indexing support Date: Fri, 18 Jun 2021 19:48:58 +0800 [thread overview] Message-ID: <202106181930.0rU3pZgm-lkp@intel.com> (raw) In-Reply-To: <e42070983637ac5e384f17fbdbe86d19c7b212a5.1623775748.git.chris@chrisdown.name> [-- Attachment #1: Type: text/plain, Size: 6113 bytes --] Hi Chris, I love your patch! Yet something to improve: [auto build test ERROR on jeyu/modules-next] [also build test ERROR on linux/master soc/for-next openrisc/for-next powerpc/next uml/linux-next asm-generic/master driver-core/driver-core-testing linus/master v5.13-rc6 next-20210617] [cannot apply to tip/x86/core] [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] url: https://github.com/0day-ci/linux/commits/Chris-Down/printk-Userspace-format-indexing-support/20210617-101450 base: https://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux.git modules-next config: ia64-randconfig-s031-20210618 (attached as .config) compiler: ia64-linux-gcc (GCC) 9.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.3-341-g8af24329-dirty # https://github.com/0day-ci/linux/commit/819166a91ddffdbf04d0b4e6905a5ab3b568194f git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Chris-Down/printk-Userspace-format-indexing-support/20210617-101450 git checkout 819166a91ddffdbf04d0b4e6905a5ab3b568194f # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' W=1 ARCH=ia64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com> All errors (new ones prefixed by >>): In file included from include/linux/kernel.h:17, from include/asm-generic/bug.h:20, from arch/ia64/include/asm/bug.h:17, from include/linux/bug.h:5, from include/linux/page-flags.h:10, from kernel/bounds.c:10: >> include/linux/printk.h:219:5: error: static declaration of '_printk' follows non-static declaration 219 | int _printk(const char *s, ...) | ^~~~~~~ In file included from arch/ia64/include/uapi/asm/intrinsics.h:22, from arch/ia64/include/asm/intrinsics.h:11, from arch/ia64/include/asm/bitops.h:19, from include/linux/bitops.h:32, from include/linux/kernel.h:12, from include/asm-generic/bug.h:20, from arch/ia64/include/asm/bug.h:17, from include/linux/bug.h:5, from include/linux/page-flags.h:10, from kernel/bounds.c:10: arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: previous declaration of '_printk' was here 142 | extern int _printk(const char *fmt, ...); \ | ^~~~~~~ arch/ia64/include/asm/bitops.h:309:3: note: in expansion of macro 'CMPXCHG_BUGCHECK' 309 | CMPXCHG_BUGCHECK(m); | ^~~~~~~~~~~~~~~~ -- In file included from include/linux/kernel.h:17, from include/asm-generic/bug.h:20, from arch/ia64/include/asm/bug.h:17, from include/linux/bug.h:5, from include/linux/page-flags.h:10, from kernel/bounds.c:10: >> include/linux/printk.h:219:5: error: static declaration of '_printk' follows non-static declaration 219 | int _printk(const char *s, ...) | ^~~~~~~ In file included from arch/ia64/include/uapi/asm/intrinsics.h:22, from arch/ia64/include/asm/intrinsics.h:11, from arch/ia64/include/asm/bitops.h:19, from include/linux/bitops.h:32, from include/linux/kernel.h:12, from include/asm-generic/bug.h:20, from arch/ia64/include/asm/bug.h:17, from include/linux/bug.h:5, from include/linux/page-flags.h:10, from kernel/bounds.c:10: arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: previous declaration of '_printk' was here 142 | extern int _printk(const char *fmt, ...); \ | ^~~~~~~ arch/ia64/include/asm/bitops.h:309:3: note: in expansion of macro 'CMPXCHG_BUGCHECK' 309 | CMPXCHG_BUGCHECK(m); | ^~~~~~~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:117: kernel/bounds.s] Error 1 make[2]: Target '__build' not remade because of errors. make[1]: *** [Makefile:1227: prepare0] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:215: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. vim +/_printk +219 include/linux/printk.h 201 202 char *log_buf_addr_get(void); 203 u32 log_buf_len_get(void); 204 void log_buf_vmcoreinfo_setup(void); 205 void __init setup_log_buf(int early); 206 __printf(1, 2) void dump_stack_set_arch_desc(const char *fmt, ...); 207 void dump_stack_print_info(const char *log_lvl); 208 void show_regs_print_info(const char *log_lvl); 209 extern asmlinkage void dump_stack(void) __cold; 210 extern void printk_safe_flush(void); 211 extern void printk_safe_flush_on_panic(void); 212 #else 213 static inline __printf(1, 0) 214 int vprintk(const char *s, va_list args) 215 { 216 return 0; 217 } 218 static inline __printf(1, 2) __cold > 219 int _printk(const char *s, ...) 220 { 221 return 0; 222 } 223 static inline __printf(1, 2) __cold 224 int _printk_deferred(const char *s, ...) 225 { 226 return 0; 227 } 228 static inline int printk_ratelimit(void) 229 { 230 return 0; 231 } 232 static inline bool printk_timed_ratelimit(unsigned long *caller_jiffies, 233 unsigned int interval_msec) 234 { 235 return false; 236 } 237 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [-- Attachment #2: .config.gz --] [-- Type: application/gzip, Size: 27503 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com> To: kbuild-all@lists.01.org Subject: Re: [PATCH v7 4/5] printk: Userspace format indexing support Date: Fri, 18 Jun 2021 19:48:58 +0800 [thread overview] Message-ID: <202106181930.0rU3pZgm-lkp@intel.com> (raw) In-Reply-To: <e42070983637ac5e384f17fbdbe86d19c7b212a5.1623775748.git.chris@chrisdown.name> [-- Attachment #1: Type: text/plain, Size: 6249 bytes --] Hi Chris, I love your patch! Yet something to improve: [auto build test ERROR on jeyu/modules-next] [also build test ERROR on linux/master soc/for-next openrisc/for-next powerpc/next uml/linux-next asm-generic/master driver-core/driver-core-testing linus/master v5.13-rc6 next-20210617] [cannot apply to tip/x86/core] [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] url: https://github.com/0day-ci/linux/commits/Chris-Down/printk-Userspace-format-indexing-support/20210617-101450 base: https://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux.git modules-next config: ia64-randconfig-s031-20210618 (attached as .config) compiler: ia64-linux-gcc (GCC) 9.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.3-341-g8af24329-dirty # https://github.com/0day-ci/linux/commit/819166a91ddffdbf04d0b4e6905a5ab3b568194f git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Chris-Down/printk-Userspace-format-indexing-support/20210617-101450 git checkout 819166a91ddffdbf04d0b4e6905a5ab3b568194f # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' W=1 ARCH=ia64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com> All errors (new ones prefixed by >>): In file included from include/linux/kernel.h:17, from include/asm-generic/bug.h:20, from arch/ia64/include/asm/bug.h:17, from include/linux/bug.h:5, from include/linux/page-flags.h:10, from kernel/bounds.c:10: >> include/linux/printk.h:219:5: error: static declaration of '_printk' follows non-static declaration 219 | int _printk(const char *s, ...) | ^~~~~~~ In file included from arch/ia64/include/uapi/asm/intrinsics.h:22, from arch/ia64/include/asm/intrinsics.h:11, from arch/ia64/include/asm/bitops.h:19, from include/linux/bitops.h:32, from include/linux/kernel.h:12, from include/asm-generic/bug.h:20, from arch/ia64/include/asm/bug.h:17, from include/linux/bug.h:5, from include/linux/page-flags.h:10, from kernel/bounds.c:10: arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: previous declaration of '_printk' was here 142 | extern int _printk(const char *fmt, ...); \ | ^~~~~~~ arch/ia64/include/asm/bitops.h:309:3: note: in expansion of macro 'CMPXCHG_BUGCHECK' 309 | CMPXCHG_BUGCHECK(m); | ^~~~~~~~~~~~~~~~ -- In file included from include/linux/kernel.h:17, from include/asm-generic/bug.h:20, from arch/ia64/include/asm/bug.h:17, from include/linux/bug.h:5, from include/linux/page-flags.h:10, from kernel/bounds.c:10: >> include/linux/printk.h:219:5: error: static declaration of '_printk' follows non-static declaration 219 | int _printk(const char *s, ...) | ^~~~~~~ In file included from arch/ia64/include/uapi/asm/intrinsics.h:22, from arch/ia64/include/asm/intrinsics.h:11, from arch/ia64/include/asm/bitops.h:19, from include/linux/bitops.h:32, from include/linux/kernel.h:12, from include/asm-generic/bug.h:20, from arch/ia64/include/asm/bug.h:17, from include/linux/bug.h:5, from include/linux/page-flags.h:10, from kernel/bounds.c:10: arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: previous declaration of '_printk' was here 142 | extern int _printk(const char *fmt, ...); \ | ^~~~~~~ arch/ia64/include/asm/bitops.h:309:3: note: in expansion of macro 'CMPXCHG_BUGCHECK' 309 | CMPXCHG_BUGCHECK(m); | ^~~~~~~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:117: kernel/bounds.s] Error 1 make[2]: Target '__build' not remade because of errors. make[1]: *** [Makefile:1227: prepare0] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:215: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. vim +/_printk +219 include/linux/printk.h 201 202 char *log_buf_addr_get(void); 203 u32 log_buf_len_get(void); 204 void log_buf_vmcoreinfo_setup(void); 205 void __init setup_log_buf(int early); 206 __printf(1, 2) void dump_stack_set_arch_desc(const char *fmt, ...); 207 void dump_stack_print_info(const char *log_lvl); 208 void show_regs_print_info(const char *log_lvl); 209 extern asmlinkage void dump_stack(void) __cold; 210 extern void printk_safe_flush(void); 211 extern void printk_safe_flush_on_panic(void); 212 #else 213 static inline __printf(1, 0) 214 int vprintk(const char *s, va_list args) 215 { 216 return 0; 217 } 218 static inline __printf(1, 2) __cold > 219 int _printk(const char *s, ...) 220 { 221 return 0; 222 } 223 static inline __printf(1, 2) __cold 224 int _printk_deferred(const char *s, ...) 225 { 226 return 0; 227 } 228 static inline int printk_ratelimit(void) 229 { 230 return 0; 231 } 232 static inline bool printk_timed_ratelimit(unsigned long *caller_jiffies, 233 unsigned int interval_msec) 234 { 235 return false; 236 } 237 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org [-- Attachment #2: config.gz --] [-- Type: application/gzip, Size: 27503 bytes --]
next prev parent reply other threads:[~2021-06-18 11:50 UTC|newest] Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-06-15 16:52 [PATCH v7 0/5] printk: Userspace format indexing support Chris Down 2021-06-15 16:52 ` [PATCH v7 1/5] string_helpers: Escape double quotes in escape_special Chris Down 2021-06-15 21:42 ` Andy Shevchenko 2021-06-16 0:00 ` Chris Down 2021-06-16 2:05 ` Randy Dunlap 2021-06-16 8:08 ` Andy Shevchenko 2021-06-16 13:30 ` Steven Rostedt 2021-06-15 16:52 ` [PATCH v7 2/5] printk: Straighten out log_flags into printk_info_flags Chris Down 2021-06-15 16:52 ` [PATCH v7 3/5] printk: Rework parse_prefix into printk_parse_prefix Chris Down 2021-06-17 8:02 ` Petr Mladek 2021-06-15 16:52 ` [PATCH v7 4/5] printk: Userspace format indexing support Chris Down 2021-06-17 7:36 ` kernel test robot 2021-06-17 7:36 ` kernel test robot 2021-06-17 8:38 ` Andy Shevchenko 2021-06-17 8:38 ` Andy Shevchenko 2021-06-17 9:39 ` Petr Mladek 2021-06-17 9:39 ` Petr Mladek 2021-06-17 11:57 ` Chris Down 2021-06-17 11:57 ` Chris Down 2021-06-17 9:43 ` Petr Mladek 2021-06-18 11:48 ` kernel test robot [this message] 2021-06-18 11:48 ` kernel test robot 2021-06-18 12:19 ` Chris Down 2021-06-18 12:19 ` Chris Down 2021-06-18 15:00 ` Petr Mladek 2021-06-18 15:00 ` Petr Mladek 2021-06-15 16:52 ` [PATCH v7 5/5] printk: index: Add indexing support to dev_printk Chris Down 2021-06-17 10:02 ` Petr Mladek 2021-06-17 10:10 ` [PATCH v7 0/5] printk: Userspace format indexing support Petr Mladek 2021-06-17 12:33 ` Andy Shevchenko 2021-06-17 14:50 ` Chris Down 2021-06-17 14:52 ` Chris Down 2021-06-17 12:36 ` Jessica Yu 2021-06-21 8:54 ` Petr Mladek 2021-06-23 21:08 ` Andrew Morton 2021-06-25 9:35 ` Petr Mladek 2021-07-19 13:06 ` Petr Mladek 2021-07-19 13:08 ` Petr Mladek
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=202106181930.0rU3pZgm-lkp@intel.com \ --to=lkp@intel.com \ --cc=andriy.shevchenko@linux.intel.com \ --cc=chris@chrisdown.name \ --cc=gregkh@linuxfoundation.org \ --cc=hannes@cmpxchg.org \ --cc=jeyu@kernel.org \ --cc=john.ogness@linutronix.de \ --cc=kbuild-all@lists.01.org \ --cc=keescook@chromium.org \ --cc=linux-kernel@vger.kernel.org \ --cc=pmladek@suse.com \ --cc=rostedt@goodmis.org \ --cc=sergey.senozhatsky@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: linkBe 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.