All of lore.kernel.org
 help / color / mirror / Atom feed
* [ebiggers:inline-encryption-wip 3/17] include/linux/blk-crypto.h:44:15: warning: 'enum blk_crypto_mode_num' declared inside parameter list
@ 2019-10-21  9:01 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-10-21  9:01 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git inline-encryption-wip
head:   4e2ed92b65a08d009d8e5e1593f3a310a2567500
commit: a8c73a62c6bf17bdeaa44471731786f604dc5b96 [3/17] block: blk-crypto for Inline Encryption
config: x86_64-randconfig-a003-201942 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.2-10+deb8u1) 4.9.2
reproduce:
        git checkout a8c73a62c6bf17bdeaa44471731786f604dc5b96
        # 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 warnings (new ones prefixed by >>):

   In file included from <command-line>:0:0:
>> include/linux/blk-crypto.h:44:15: warning: 'enum blk_crypto_mode_num' declared inside parameter list
           struct request_queue *q)
                  ^
>> include/linux/blk-crypto.h:44:15: warning: its scope is only this definition or declaration, which is probably not what you want
   include/linux/blk-crypto.h:42:54: error: parameter 1 ('mode_num') has incomplete type
    blk_crypto_start_using_mode(enum blk_crypto_mode_num mode_num,
                                                         ^
   include/linux/blk-crypto.h:42:1: error: function declaration isn't a prototype [-Werror=strict-prototypes]
    blk_crypto_start_using_mode(enum blk_crypto_mode_num mode_num,
    ^
   cc1: some warnings being treated as errors

vim +44 include/linux/blk-crypto.h

    40	
    41	static inline int
    42	blk_crypto_start_using_mode(enum blk_crypto_mode_num mode_num,
    43				    unsigned int data_unit_size,
  > 44				    struct request_queue *q)
    45	{
    46		return -EOPNOTSUPP;
    47	}
    48	

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

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

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

only message in thread, other threads:[~2019-10-21  9:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-21  9:01 [ebiggers:inline-encryption-wip 3/17] include/linux/blk-crypto.h:44:15: warning: 'enum blk_crypto_mode_num' declared inside parameter list 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.