All of lore.kernel.org
 help / color / mirror / Atom feed
* [josef-btrfs:extent-io-rearranging 9/9] fs/btrfs/extent-buffer.c:40:6: error: function declaration isn't a prototype
@ 2019-09-17 21:05 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-09-17 21:05 UTC (permalink / raw)
  To: Josef Bacik; +Cc: kbuild-all, linux-btrfs

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

tree:   https://kernel.googlesource.com/pub/scm/linux/kernel/git/josef/btrfs-next.git extent-io-rearranging
head:   1bc667ac329c91f3825a8ab987333915cad26c4b
commit: 1bc667ac329c91f3825a8ab987333915cad26c4b [9/9] btrfs: move the extent-buffer code
config: x86_64-randconfig-f002-201937 (attached as .config)
compiler: gcc-7 (Debian 7.4.0-11) 7.4.0
reproduce:
        git checkout 1bc667ac329c91f3825a8ab987333915cad26c4b
        # 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 >>):

>> fs/btrfs/extent-buffer.c:40:6: error: function declaration isn't a prototype [-Werror=strict-prototypes]
    void btrfs_extent_buffer_leak_debug_check()
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   fs/btrfs/extent-buffer.c: In function 'btrfs_extent_buffer_leak_debug_check':
>> fs/btrfs/extent-buffer.c:43:3: error: 'eb' undeclared (first use in this function); did you mean 'mb'?
      eb = list_entry(buffers.next, struct extent_buffer, leak_list);
      ^~
      mb
   fs/btrfs/extent-buffer.c:43:3: note: each undeclared identifier is reported only once for each function it appears in
   cc1: some warnings being treated as errors

vim +40 fs/btrfs/extent-buffer.c

    38	
    39	static inline
  > 40	void btrfs_extent_buffer_leak_debug_check()
    41	{
    42		while (!list_empty(&buffers)) {
  > 43			eb = list_entry(buffers.next, struct extent_buffer, leak_list);
    44			pr_err("BTRFS: buffer leak start %llu len %lu refs %d bflags %lu\n",
    45			       eb->start, eb->len, atomic_read(&eb->refs), eb->bflags);
    46			list_del(&eb->leak_list);
    47			kmem_cache_free(extent_buffer_cache, eb);
    48		}
    49	}
    50	#else
    51	#define btrfs_leak_debug_add(new, head)	do {} while (0)
    52	#define btrfs_leak_debug_del(entry)	do {} while (0)
    53	#define btrfs_extent_buffer_leak_debug_check()	do {} while (0)
    54	#endif
    55	

---
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: 24067 bytes --]

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

only message in thread, other threads:[~2019-09-17 21:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-17 21:05 [josef-btrfs:extent-io-rearranging 9/9] fs/btrfs/extent-buffer.c:40:6: error: function declaration isn't a prototype 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.