Re: [PATCH v3 7/7] mm: kasan: Initial memory quarantine implementation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Alexander,

[auto build test ERROR on tip/x86/core]
[also build test ERROR on v4.5-rc5]
[cannot apply to next-20160226]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Alexander-Potapenko/SLAB-support-for-KASAN/20160226-213301
config: x86_64-randconfig-x006-201608 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

   mm/slab.c: In function '__cache_free':
>> mm/slab.c:3384:2: error: implicit declaration of function '___cache_free' [-Werror=implicit-function-declaration]
     ___cache_free(cachep, objp, caller);
     ^
   mm/slab.c: At top level:
>> mm/slab.c:3387:6: warning: conflicting types for '___cache_free'
    void ___cache_free(struct kmem_cache *cachep, void *objp,
         ^
   mm/slab.c:3384:2: note: previous implicit declaration of '___cache_free' was here
     ___cache_free(cachep, objp, caller);
     ^
   cc1: some warnings being treated as errors

vim +/___cache_free +3384 mm/slab.c

  3378		if (kasan_slab_free(cachep, objp))
  3379			/* The object has been put into the quarantine, don't touch it
  3380			 * for now.
  3381			 */
  3382			return;
  3383	#endif
> 3384		___cache_free(cachep, objp, caller);
  3385	}
  3386	
> 3387	void ___cache_free(struct kmem_cache *cachep, void *objp,
  3388			unsigned long caller)
  3389	{
  3390		struct array_cache *ac;

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]