Re: [PATCH] ima: define ima_create_tmpfile() hook and add missing call

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

 



Hi Mimi,

I love your patch! Perhaps something to improve:

[auto build test WARNING on linus/master]
[also build test WARNING on v4.20-rc7 next-20181217]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Mimi-Zohar/ima-define-ima_create_tmpfile-hook-and-add-missing-call/20181218-081329
config: x86_64-randconfig-x006-201850 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   In file included from fs//attr.c:19:0:
   include/linux/ima.h: In function 'ima_post_create_tmpfile':
>> include/linux/ima.h:47:9: warning: 'return' with a value, in function returning void
     return 0;
            ^
   include/linux/ima.h:45:20: note: declared here
    static inline void ima_post_create_tmpfile(const struct file *file)
                       ^~~~~~~~~~~~~~~~~~~~~~~

vim +/return +47 include/linux/ima.h

    44	
    45	static inline void ima_post_create_tmpfile(const struct file *file)
    46	{
  > 47		return 0;
    48	}
    49	

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

Attachment: .config.gz
Description: application/gzip


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux Kernel]     [Linux Kernel Hardening]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux