All of lore.kernel.org
 help / color / mirror / Atom feed
* [kees:kspp/cfi/x86 39/69] include/linux/scs.h:77:15: error: unknown type name 'bool'
@ 2019-11-12  2:17 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-11-12  2:17 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 3578 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git kspp/cfi/x86
head:   3baeecfdeffc3ae699b0282859a8098b376b8f05
commit: d3292207ccf0dc44fd11ad7056e25709f72a697e [39/69] scs: add support for stack usage debugging
config: x86_64-randconfig-a001-201945 (attached as .config)
compiler: gcc-5 (Ubuntu 5.5.0-12ubuntu1) 5.5.0 20171010
reproduce:
        git checkout d3292207ccf0dc44fd11ad7056e25709f72a697e
        # save the attached .config to linux build tree
        make ARCH=x86_64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   In file included from <command-line>:0:0:
   include/linux/scs.h:47:37: warning: 'struct task_struct' declared inside parameter list
    static inline void *task_scs(struct task_struct *tsk)
                                        ^
   include/linux/scs.h:47:37: warning: its scope is only this definition or declaration, which is probably not what you want
   include/linux/scs.h:52:40: warning: 'struct task_struct' declared inside parameter list
    static inline void task_set_scs(struct task_struct *tsk, void *s)
                                           ^
   include/linux/scs.h:60:46: warning: 'struct task_struct' declared inside parameter list
    static inline void scs_set_init_magic(struct task_struct *tsk)
                                                 ^
   include/linux/scs.h:64:41: warning: 'struct task_struct' declared inside parameter list
    static inline void scs_task_init(struct task_struct *tsk)
                                            ^
   include/linux/scs.h:68:42: warning: 'struct task_struct' declared inside parameter list
    static inline void scs_task_reset(struct task_struct *tsk)
                                             ^
   include/linux/scs.h:72:38: warning: 'struct task_struct' declared inside parameter list
    static inline int scs_prepare(struct task_struct *tsk, int node)
                                         ^
>> include/linux/scs.h:77:15: error: unknown type name 'bool'
    static inline bool scs_corrupted(struct task_struct *tsk)
                  ^
   include/linux/scs.h:77:41: warning: 'struct task_struct' declared inside parameter list
    static inline bool scs_corrupted(struct task_struct *tsk)
                                            ^
   include/linux/scs.h: In function 'scs_corrupted':
>> include/linux/scs.h:79:9: error: 'false' undeclared (first use in this function)
     return false;
            ^
   include/linux/scs.h:79:9: note: each undeclared identifier is reported only once for each function it appears in
   include/linux/scs.h: At top level:
   include/linux/scs.h:82:39: warning: 'struct task_struct' declared inside parameter list
    static inline void scs_release(struct task_struct *tsk)
                                          ^

vim +/bool +77 include/linux/scs.h

    63	
  > 64	static inline void scs_task_init(struct task_struct *tsk)
    65	{
    66	}
    67	
    68	static inline void scs_task_reset(struct task_struct *tsk)
    69	{
    70	}
    71	
    72	static inline int scs_prepare(struct task_struct *tsk, int node)
    73	{
    74		return 0;
    75	}
    76	
  > 77	static inline bool scs_corrupted(struct task_struct *tsk)
    78	{
  > 79		return false;
    80	}
    81	

---
0-DAY kernel test infrastructure                 Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 35500 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-11-12  2:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-12  2:17 [kees:kspp/cfi/x86 39/69] include/linux/scs.h:77:15: error: unknown type name 'bool' kbuild test robot

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.