linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warning after merge of the block tree
@ 2021-06-15  2:13 Stephen Rothwell
  2021-06-15 12:22 ` Pavel Begunkov
  0 siblings, 1 reply; 82+ messages in thread
From: Stephen Rothwell @ 2021-06-15  2:13 UTC (permalink / raw)
  To: Jens Axboe
  Cc: Pavel Begunkov, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the block tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:

In file included from include/linux/kernel.h:15,
                 from fs/io_uring.c:42:
fs/io_uring.c: In function 'io_alloc_page_table':
include/linux/minmax.h:20:28: warning: comparison of distinct pointer types lacks a cast
   20 |  (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1)))
      |                            ^~
include/linux/minmax.h:26:4: note: in expansion of macro '__typecheck'
   26 |   (__typecheck(x, y) && __no_side_effects(x, y))
      |    ^~~~~~~~~~~
include/linux/minmax.h:36:24: note: in expansion of macro '__safe_cmp'
   36 |  __builtin_choose_expr(__safe_cmp(x, y), \
      |                        ^~~~~~~~~~
include/linux/minmax.h:45:19: note: in expansion of macro '__careful_cmp'
   45 | #define min(x, y) __careful_cmp(x, y, <)
      |                   ^~~~~~~~~~~~~
fs/io_uring.c:7095:28: note: in expansion of macro 'min'
 7095 |   unsigned int this_size = min(size, PAGE_SIZE);
      |                            ^~~

Introduced by commit

  9123c8ffce16 ("io_uring: add helpers for 2 level table alloc")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 82+ messages in thread
* linux-next: build warning after merge of the block tree
@ 2021-08-13  9:41 Stephen Rothwell
  2021-08-13 13:54 ` Jens Axboe
  0 siblings, 1 reply; 82+ messages in thread
From: Stephen Rothwell @ 2021-08-13  9:41 UTC (permalink / raw)
  To: Jens Axboe; +Cc: Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the block tree, today's linux-next build (htmldocs)
produced this warning:

block/bio.c:1689: warning: Function parameter or member 'nr_vecs' not described in 'bio_alloc_kiocb'

Introduced by commit

  1cbbd31c4ada ("bio: add allocation cache abstraction")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 82+ messages in thread
* linux-next: build warning after merge of the block tree
@ 2021-06-09  3:52 Stephen Rothwell
  2021-06-09  4:28 ` Dan Williams
  0 siblings, 1 reply; 82+ messages in thread
From: Stephen Rothwell @ 2021-06-09  3:52 UTC (permalink / raw)
  To: Jens Axboe
  Cc: Dan Williams, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the block tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

drivers/nvdimm/pmem.c: In function 'pmem_pagemap_cleanup':
drivers/nvdimm/pmem.c:338:24: warning: unused variable 'q' [-Wunused-variable]
  338 |  struct request_queue *q =
      |                        ^

Introduced by commit

  80b58f4e9f4a ("libnvdimm/pmem: Fix blk_cleanup_disk() usage")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 82+ messages in thread
* linux-next: build warning after merge of the block tree
@ 2021-02-24  2:31 Stephen Rothwell
  2021-02-24  2:40 ` Chaitanya Kulkarni
  2021-02-24  5:25 ` Chaitanya Kulkarni
  0 siblings, 2 replies; 82+ messages in thread
From: Stephen Rothwell @ 2021-02-24  2:31 UTC (permalink / raw)
  To: Jens Axboe
  Cc: Chaitanya Kulkarni, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the block tree, today's linux-next build (htmldocs)
produced this warning:

kernel/trace/blktrace.c:1878: warning: Function parameter or member 'rwbs' not described in 'blk_fill_rwbs'`

Introduced by commit

  1f83bb4b4914 ("blktrace: add blk_fill_rwbs documentation comment")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 82+ messages in thread
* linux-next: build warning after merge of the block tree
@ 2020-12-22 23:47 Stephen Rothwell
  2020-12-23  0:13 ` Jens Axboe
  0 siblings, 1 reply; 82+ messages in thread
From: Stephen Rothwell @ 2020-12-22 23:47 UTC (permalink / raw)
  To: Jens Axboe
  Cc: Pavel Begunkov, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the block tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

fs/io_uring.c: In function 'io_uring_get_file':
fs/io_uring.c:9408:6: warning: unused variable 'ret' [-Wunused-variable]
 9408 |  int ret;
      |      ^~~

Introduced by commit

  efc2519f427b ("io_uring: fix double io_uring free")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 82+ messages in thread
* linux-next: build warning after merge of the block tree
@ 2020-12-07  7:48 Stephen Rothwell
  0 siblings, 0 replies; 82+ messages in thread
From: Stephen Rothwell @ 2020-12-07  7:48 UTC (permalink / raw)
  To: Jens Axboe
  Cc: Christoph Hellwig, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the block tree, today's linux-next build (htmldocs)
produced this warning:

kernel/trace/blktrace.c:1039: warning: Excess function parameter 'q' description in 'blk_add_trace_rq_remap'

Introduced by commit

  a54895fa057c ("block: remove the request_queue to argument request based tracepoints")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 82+ messages in thread
* linux-next: build warning after merge of the block tree
@ 2020-12-03  7:39 Stephen Rothwell
  2020-12-14 20:14 ` Stephen Rothwell
  0 siblings, 1 reply; 82+ messages in thread
From: Stephen Rothwell @ 2020-12-03  7:39 UTC (permalink / raw)
  To: Jens Axboe
  Cc: Christoph Hellwig, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the block tree, today's linux-next build (htmldocs)
produced this warning:

fs/block_dev.c:1838: warning: Function parameter or member 'dev' not described in 'lookup_bdev'

Introduced by commit

  4e7b5671c6a8 ("block: remove i_bdev")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 82+ messages in thread
* linux-next: build warning after merge of the block tree
@ 2020-12-03  7:37 Stephen Rothwell
  2020-12-14 20:13 ` Stephen Rothwell
  0 siblings, 1 reply; 82+ messages in thread
From: Stephen Rothwell @ 2020-12-03  7:37 UTC (permalink / raw)
  To: Jens Axboe
  Cc: Christoph Hellwig, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the block tree, today's linux-next build (htmldocs)
produced this warning:

fs/block_dev.c:1067: warning: Excess function parameter 'whole' description in 'bd_abort_claiming'

Introduced by commit

  37c3fc9abb25 ("block: simplify the block device claiming interface")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 82+ messages in thread
* linux-next: build warning after merge of the block tree
@ 2020-11-12  4:32 Stephen Rothwell
  0 siblings, 0 replies; 82+ messages in thread
From: Stephen Rothwell @ 2020-11-12  4:32 UTC (permalink / raw)
  To: Jens Axboe
  Cc: Christoph Hellwig, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the block tree, today's linux-next build (htmldocs)
produced this warning:

block/genhd.c:439: warning: Function parameter or member 'probe' not described in '__register_blkdev'

Introduced by commit

  3da1a61e7046 ("block: add an optional probe callback to major_names")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 82+ messages in thread
* linux-next: build warning after merge of the block tree
@ 2020-10-22 23:48 Stephen Rothwell
  2020-10-23  0:30 ` Jens Axboe
  0 siblings, 1 reply; 82+ messages in thread
From: Stephen Rothwell @ 2020-10-22 23:48 UTC (permalink / raw)
  To: Jens Axboe; +Cc: Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the block tree, today's linux-next build (KCONFIG_NAME)
produced this warning:

fs/io_uring.c: In function 'loop_rw_iter':
fs/io_uring.c:3141:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 3141 |    iovec.iov_base = (void __user *) req->rw.addr;
      |                     ^

Introduced by commit

  a5371db1e38d ("io_uring: make loop_rw_iter() use original user supplied pointers")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 82+ messages in thread
* linux-next: build warning after merge of the block tree
@ 2020-07-02  1:21 Stephen Rothwell
  2020-07-02  4:07 ` Jens Axboe
  0 siblings, 1 reply; 82+ messages in thread
From: Stephen Rothwell @ 2020-07-02  1:21 UTC (permalink / raw)
  To: Jens Axboe
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Christoph Hellwig

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

Hi all,

After merging the block tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

drivers/md/dm.c: In function '__map_bio':
drivers/md/dm.c:1296:24: warning: unused variable 'md' [-Wunused-variable]
 1296 |  struct mapped_device *md = io->md;
      |                        ^~

Introduced by commit

  5a6c35f9af41 ("block: remove direct_make_request")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 82+ messages in thread
* linux-next: build warning after merge of the block tree
@ 2020-03-04  2:17 Stephen Rothwell
  2020-03-04  3:01 ` Jens Axboe
  0 siblings, 1 reply; 82+ messages in thread
From: Stephen Rothwell @ 2020-03-04  2:17 UTC (permalink / raw)
  To: Jens Axboe
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Pavel Begunkov

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

Hi all,

After merging the block tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

fs/io_uring.c: In function 'io_close':
fs/io_uring.c:3415:3: warning: ignoring return value of 'refcount_inc_not_zero', declared with attribute warn_unused_result [-Wunused-result]
 3415 |   refcount_inc_not_zero(&req->refs);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Introduced by commit

  62e0c6b73a2c ("io_uring: make submission ref putting consistent")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 82+ messages in thread
* linux-next: build warning after merge of the block tree
@ 2020-01-31  0:16 Stephen Rothwell
  2020-01-31  0:25 ` Jens Axboe
  0 siblings, 1 reply; 82+ messages in thread
From: Stephen Rothwell @ 2020-01-31  0:16 UTC (permalink / raw)
  To: Jens Axboe; +Cc: Linux Next Mailing List, Linux Kernel Mailing List

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

Hi all,

After merging the block tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:

fs/io_uring.c: In function '__io_uring_show_fdinfo':
fs/io_uring.c:6558:32: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
 6558 |   seq_printf(m, "%5u: 0x%llx/%lu\n", i, buf->ubuf, buf->len);
      |                              ~~^                   ~~~~~~~~
      |                                |                      |
      |                                long unsigned int      size_t {aka unsigned int}
      |                              %u

Introduced by commit

  0380f1b6d0c6 ("io_uring: add ->show_fdinfo() for the io_uring file descriptor")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 82+ messages in thread
* linux-next: build warning after merge of the block tree
@ 2020-01-16  0:54 Stephen Rothwell
  2020-01-16  4:50 ` Jens Axboe
  0 siblings, 1 reply; 82+ messages in thread
From: Stephen Rothwell @ 2020-01-16  0:54 UTC (permalink / raw)
  To: Jens Axboe; +Cc: Linux Next Mailing List, Linux Kernel Mailing List

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

Hi all,

After merging the block tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:

fs/io_uring.c: In function '__io_sqe_files_update':
fs/io_uring.c:5567:8: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 5567 |  fds = (__s32 __user *) up->fds;
      |        ^

Introduced by commit

  813668c6099b ("io_uring: avoid ring quiesce for fixed file set unregister and update")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 82+ messages in thread
* linux-next: build warning after merge of the block tree
@ 2019-10-18  0:51 Stephen Rothwell
  2019-10-18  0:56 ` Jens Axboe
  0 siblings, 1 reply; 82+ messages in thread
From: Stephen Rothwell @ 2019-10-18  0:51 UTC (permalink / raw)
  To: Jens Axboe; +Cc: Linux Next Mailing List, Linux Kernel Mailing List

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

Hi all,

After merging the block tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:

fs/io_uring.c: In function 'io_accept':
fs/io_uring.c:1729:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1729 |  addr = (struct sockaddr __user *) READ_ONCE(sqe->addr);
      |         ^
fs/io_uring.c:1730:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1730 |  addr_len = (int __user *) READ_ONCE(sqe->addr2);
      |             ^

Introduced by commit

  d674c2b9335f ("io_uring: add support for IORING_OP_ACCEPT")

addr and addr2 are __u64 ...

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 82+ messages in thread
* linux-next: build warning after merge of the block tree
@ 2019-08-29  3:51 Stephen Rothwell
  2019-08-29  4:08 ` Stephen Rothwell
  0 siblings, 1 reply; 82+ messages in thread
From: Stephen Rothwell @ 2019-08-29  3:51 UTC (permalink / raw)
  To: Jens Axboe; +Cc: Linux Next Mailing List, Linux Kernel Mailing List, Tejun Heo

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

Hi all,

After merging the block tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

In file included from include/trace/events/iocost.h:8,
                 from <command-line>:
include/trace/events/iocost.h:12:57: warning: 'struct ioc_now' declared inside parameter list will not be visible outside of this definition or declaration
  TP_PROTO(struct ioc_gq *iocg, const char *path, struct ioc_now *now,
                                                         ^~~~~~~
include/linux/tracepoint.h:233:34: note: in definition of macro '__DECLARE_TRACE'
  static inline void trace_##name(proto)    \
                                  ^~~~~
include/linux/tracepoint.h:396:24: note: in expansion of macro 'PARAMS'
  __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args),  \
                        ^~~~~~
include/linux/tracepoint.h:532:2: note: in expansion of macro 'DECLARE_TRACE'
  DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  ^~~~~~~~~~~~~
include/linux/tracepoint.h:532:22: note: in expansion of macro 'PARAMS'
  DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
                      ^~~~~~
include/trace/events/iocost.h:10:1: note: in expansion of macro 'TRACE_EVENT'
 TRACE_EVENT(iocost_iocg_activate,
 ^~~~~~~~~~~
include/trace/events/iocost.h:12:2: note: in expansion of macro 'TP_PROTO'
  TP_PROTO(struct ioc_gq *iocg, const char *path, struct ioc_now *now,
  ^~~~~~~~
include/trace/events/iocost.h:12:18: warning: 'struct ioc_gq' declared inside parameter list will not be visible outside of this definition or declaration
  TP_PROTO(struct ioc_gq *iocg, const char *path, struct ioc_now *now,
                  ^~~~~~
include/linux/tracepoint.h:233:34: note: in definition of macro '__DECLARE_TRACE'
  static inline void trace_##name(proto)    \
                                  ^~~~~
include/linux/tracepoint.h:396:24: note: in expansion of macro 'PARAMS'
  __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args),  \
                        ^~~~~~
include/linux/tracepoint.h:532:2: note: in expansion of macro 'DECLARE_TRACE'
  DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  ^~~~~~~~~~~~~
include/linux/tracepoint.h:532:22: note: in expansion of macro 'PARAMS'
  DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
                      ^~~~~~
include/trace/events/iocost.h:10:1: note: in expansion of macro 'TRACE_EVENT'
 TRACE_EVENT(iocost_iocg_activate,
 ^~~~~~~~~~~
include/trace/events/iocost.h:12:2: note: in expansion of macro 'TP_PROTO'
  TP_PROTO(struct ioc_gq *iocg, const char *path, struct ioc_now *now,
  ^~~~~~~~

(and many more)

Introduced by commit

  7caa47151ab2 ("blkcg: implement blk-iocost")

To get these warnings you need to build with CONFIG_HEADER_TEST and
CONFIG_KERNEL_HEADER_TEST (and maybe CONFIG_UAPI_HEADER_TEST).
allmodconfig does that.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 82+ messages in thread
* linux-next: build warning after merge of the block tree
@ 2019-08-09  4:00 Stephen Rothwell
  2019-08-09  4:13 ` Jens Axboe
  2019-08-09  6:15 ` Yuehaibing
  0 siblings, 2 replies; 82+ messages in thread
From: Stephen Rothwell @ 2019-08-09  4:00 UTC (permalink / raw)
  To: Jens Axboe; +Cc: Linux Next Mailing List, Linux Kernel Mailing List, YueHaibing

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

Hi all,

After merging the block tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

drivers/lightnvm/pblk-read.c: In function 'pblk_submit_read_gc':
drivers/lightnvm/pblk-read.c:421:18: warning: unused variable 'geo' [-Wunused-variable]
  struct nvm_geo *geo = &dev->geo;
                  ^~~

Introduced by commit

  ba6f7da99aaf ("lightnvm: remove set but not used variables 'data_len' and 'rq_len'")

Removing the above line will also remove the last use of the variable
"dev" ...
-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 82+ messages in thread
* linux-next: build warning after merge of the block tree
@ 2019-04-17  2:31 Stephen Rothwell
  2019-04-17 10:05 ` Chao Yu
  0 siblings, 1 reply; 82+ messages in thread
From: Stephen Rothwell @ 2019-04-17  2:31 UTC (permalink / raw)
  To: Jens Axboe, Jaegeuk Kim
  Cc: Linux Next Mailing List, Linux Kernel Mailing List,
	Christoph Hellwig, Chao Yu

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

Hi all,

After merging the block tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

fs/f2fs/node.c: In function 'f2fs_remove_inode_page':
fs/f2fs/node.c:1193:47: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'blkcnt_t' {aka 'long long unsigned int'} [-Wformat=]
    "Inconsistent i_blocks, ino:%lu, iblocks:%zu",
                                             ~~^
                                             %llu
    inode->i_ino, inode->i_blocks);
                  ~~~~~~~~~~~~~~~               

Introduced by commit

  90ae238d9dac ("f2fs: fix to avoid panic in f2fs_remove_inode_page()")

from the f2fs tree interacting with commit

  72deb455b5ec ("block: remove CONFIG_LBDAF")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 82+ messages in thread
* linux-next: build warning after merge of the block tree
@ 2018-11-08  3:31 Stephen Rothwell
  2018-11-08  4:19 ` Jens Axboe
  0 siblings, 1 reply; 82+ messages in thread
From: Stephen Rothwell @ 2018-11-08  3:31 UTC (permalink / raw)
  To: Jens Axboe
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List,
	Hannes Reinecke, Ming Lei, Omar Sandoval, David Miller

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

Hi Jens,

After merging the block tree, today's linux-next build (sparc64 defconfig)
produced this warning:

/home/sfr/next/next/drivers/block/sunvdc.c: In function 'init_queue':
/home/sfr/next/next/drivers/block/sunvdc.c:788:6: warning: unused variable 'ret' [-Wunused-variable]
  int ret;
      ^~~

Introduced by commit

  fa182a1fa97d ("sunvdc: convert to blk-mq")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 82+ messages in thread
* linux-next: build warning after merge of the block tree
@ 2018-09-28  1:11 Stephen Rothwell
  2018-09-28  6:43 ` Omar Sandoval
  0 siblings, 1 reply; 82+ messages in thread
From: Stephen Rothwell @ 2018-09-28  1:11 UTC (permalink / raw)
  To: Jens Axboe
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Omar Sandoval

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

Hi Jens,

After merging the block tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:

block/kyber-iosched.c:84:22: warning: integer overflow in expression of type 'long int' results in '705032704' [-Woverflow]
  [KYBER_DISCARD] = 5 * NSEC_PER_SEC,
                      ^

Introduced by commit

  6e25cb01ea20 ("kyber: implement improved heuristics")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 82+ messages in thread
* linux-next: build warning after merge of the block tree
@ 2018-05-31  3:49 Stephen Rothwell
  0 siblings, 0 replies; 82+ messages in thread
From: Stephen Rothwell @ 2018-05-31  3:49 UTC (permalink / raw)
  To: Jens Axboe; +Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Kees Cook

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

Hi Jens,

After merging the block tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

drivers/md/md.c: In function 'mddev_put':
drivers/md/md.c:543:1: warning: the frame size of 2080 bytes is larger than 2048 bytes [-Wframe-larger-than=]
 }
 ^

This is caused because CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL is now
switched on.  Hopefully Kees (cc'd) can procide some guidance on how to
eliminate this warning.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 82+ messages in thread
* linux-next: build warning after merge of the block tree
@ 2018-05-14  2:51 Stephen Rothwell
  2018-05-14  8:29 ` Christoph Hellwig
  0 siblings, 1 reply; 82+ messages in thread
From: Stephen Rothwell @ 2018-05-14  2:51 UTC (permalink / raw)
  To: Jens Axboe
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Christoph Hellwig

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

Hi all,

After merging the block tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

drivers/memstick/core/mspro_block.c: In function 'mspro_block_init_disk':
drivers/memstick/core/mspro_block.c:1173:24: warning: unused variable 'host' [-Wunused-variable]
  struct memstick_host *host = card->host;
                        ^~~~
drivers/memstick/core/ms_block.c: In function 'msb_init_disk':
drivers/memstick/core/ms_block.c:2097:24: warning: unused variable 'host' [-Wunused-variable]
  struct memstick_host *host = card->host;
                        ^~~~

Introduced by commit

  7c2d748e8476 ("memstick: don't call blk_queue_bounce_limit")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 82+ messages in thread
* linux-next: build warning after merge of the block tree
@ 2017-05-10  1:24 Stephen Rothwell
  2017-05-10  2:20 ` Markus Trippelsdorf
  0 siblings, 1 reply; 82+ messages in thread
From: Stephen Rothwell @ 2017-05-10  1:24 UTC (permalink / raw)
  To: Jens Axboe
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List,
	Markus Trippelsdorf, Bart Van Assche

Hi Jens,

After merging the block tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:

block/elevator.c: In function 'elv_iosched_store':
block/elevator.c:1102:2: warning: ignoring return value of 'strstrip', declared with attribute warn_unused_result [-Wunused-result]
  strstrip(elevator_name);
  ^

Introduced by commit

  d0f6e2da5871 ("block: Remove leading whitespace and trailing newline in elevator switch error message")

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 82+ messages in thread
* linux-next: build warning after merge of the block tree
@ 2014-10-23  1:28 Stephen Rothwell
  2014-10-23  2:14 ` Jens Axboe
  0 siblings, 1 reply; 82+ messages in thread
From: Stephen Rothwell @ 2014-10-23  1:28 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-next, linux-kernel, Jan Kara

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

Hi Jens,

After merging the block tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

block/scsi_ioctl.c: In function 'sg_scsi_ioctl':
block/scsi_ioctl.c:520:1: warning: label 'out' defined but not used [-Wunused-label]
 out:
 ^

Introduced by commit 374f8fdea4aa ("scsi: Fix error handling in SCSI_IOCTL_SEND_COMMAND").
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 82+ messages in thread
* linux-next: build warning after merge of the block tree
@ 2013-09-23  4:29 Stephen Rothwell
  0 siblings, 0 replies; 82+ messages in thread
From: Stephen Rothwell @ 2013-09-23  4:29 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-next, linux-kernel, Andrew Morton

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

Hi Jens,

After merging the block tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

In file included from include/linux/kernel.h:13:0,
                 from drivers/block/skd_main.c:19:
drivers/block/skd_main.c: In function 'skd_cons_skmsg':
drivers/block/skd_main.c:4562:33: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=]
   (unsigned long) sizeof(struct skd_fitmsg_context) *
                                 ^
include/linux/printk.h:216:33: note: in definition of macro 'pr_err'
  printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
                                 ^
drivers/block/skd_main.c:4559:2: note: in expansion of macro 'VPRINTK'
  VPRINTK(skdev, "skmsg_table kzalloc, struct %u, count %u total %lu\n",
  ^

and several more.

Introduced by commit 0e2c4a3a6c0c ("drivers/block/skd_main.c: fix a few
things, disable on 32-bit"). sizeof() needs %zu to print, right?

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 82+ messages in thread
* linux-next: build warning after merge of the block tree
@ 2011-05-09  3:49 Stephen Rothwell
  2011-05-09  5:55 ` Tao Ma
  0 siblings, 1 reply; 82+ messages in thread
From: Stephen Rothwell @ 2011-05-09  3:49 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-next, linux-kernel, Tao Ma

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

Hi Jens,

After merging the block tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

fs/partitions/check.c: In function 'part_discard_alignment_show':
fs/partitions/check.c:263: warning: format '%u' expects type 'unsigned int', but argument 3 has type 'long long unsigned int'

Introduced by commit  ("block: Remove extra discard_alignment from
hd_struct")
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 82+ messages in thread
* linux-next: build warning after merge of the block tree
@ 2010-12-20  4:31 Stephen Rothwell
  2010-12-20  4:42 ` Stephen Rothwell
  0 siblings, 1 reply; 82+ messages in thread
From: Stephen Rothwell @ 2010-12-20  4:31 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-next, linux-kernel, "Michał Mirosław"

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

Hi Jens,

After merging the block tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

drivers/block/loop.c: In function 'lo_splice_actor':
drivers/block/loop.c:398: warning: unused variable 'ret'

Introduced by commit a8adbe378b56acd5945df70753c7e8f6fe223304
("fs/splice: Pull buf->ops->confirm() from splice_from_pipe actors").

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 82+ messages in thread
* linux-next: build warning after merge of the block tree
@ 2010-09-16  3:30 Stephen Rothwell
  0 siblings, 0 replies; 82+ messages in thread
From: Stephen Rothwell @ 2010-09-16  3:30 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-next, linux-kernel, Namhyung Kim

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

Hi Jens,

After merging the block tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

drivers/scsi/sg.c: In function 'sg_start_req':
drivers/scsi/sg.c:1660: warning: passing argument 2 of 'blk_rq_aligned' makes integer from pointer without a cast
include/linux/blkdev.h:1045: note: expected 'long unsigned int' but argument is of type 'void *'

Introduced by commit 144177991ca624841ddbd1e7edff958fc0f6d1fe ("block:
fix an address space warning in blk-map.c").

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 82+ messages in thread
* linux-next: build warning after merge of the block tree
@ 2010-04-29  6:14 Stephen Rothwell
  2010-04-29  7:28 ` Jens Axboe
  0 siblings, 1 reply; 82+ messages in thread
From: Stephen Rothwell @ 2010-04-29  6:14 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-next, linux-kernel, Dmitry Monakhov

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

Hi James,

After merging the block tree, today's linux-next build (powerpc
ppc44x_defconfig) produced this warning:

block/blk-lib.c: In function 'blkdev_issue_zeroout':
block/blk-lib.c:190: warning: comparison of distinct pointer types lacks a cast

Introduced by commit 3f14d792f9a8fede64ce918dbb517f934497a4f8 ("blkdev:
add blkdev_issue_zeroout helper function").

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 82+ messages in thread

end of thread, other threads:[~2021-09-03 13:41 UTC | newest]

Thread overview: 82+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-15  2:13 linux-next: build warning after merge of the block tree Stephen Rothwell
2021-06-15 12:22 ` Pavel Begunkov
  -- strict thread matches above, loose matches on Subject: below --
2021-08-13  9:41 Stephen Rothwell
2021-08-13 13:54 ` Jens Axboe
2021-09-03  6:49   ` Stephen Rothwell
2021-09-03 13:41     ` Jens Axboe
2021-06-09  3:52 Stephen Rothwell
2021-06-09  4:28 ` Dan Williams
2021-02-24  2:31 Stephen Rothwell
2021-02-24  2:40 ` Chaitanya Kulkarni
2021-02-24  5:25 ` Chaitanya Kulkarni
2021-02-24  5:33   ` Stephen Rothwell
2021-02-24  5:38     ` Chaitanya Kulkarni
2021-02-24 10:42       ` Stephen Rothwell
2021-02-24 21:41         ` Chaitanya Kulkarni
2021-02-24 21:45           ` Randy Dunlap
2021-02-24 21:51             ` Chaitanya Kulkarni
2021-02-24  7:16     ` Chaitanya Kulkarni
2020-12-22 23:47 Stephen Rothwell
2020-12-23  0:13 ` Jens Axboe
2020-12-07  7:48 Stephen Rothwell
2020-12-03  7:39 Stephen Rothwell
2020-12-14 20:14 ` Stephen Rothwell
2020-12-21  1:30   ` Stephen Rothwell
2020-12-03  7:37 Stephen Rothwell
2020-12-14 20:13 ` Stephen Rothwell
2020-12-21  1:29   ` Stephen Rothwell
2020-11-12  4:32 Stephen Rothwell
2020-10-22 23:48 Stephen Rothwell
2020-10-23  0:30 ` Jens Axboe
2020-07-02  1:21 Stephen Rothwell
2020-07-02  4:07 ` Jens Axboe
2020-03-04  2:17 Stephen Rothwell
2020-03-04  3:01 ` Jens Axboe
2020-03-04 12:50   ` Pavel Begunkov
2020-01-31  0:16 Stephen Rothwell
2020-01-31  0:25 ` Jens Axboe
2020-01-16  0:54 Stephen Rothwell
2020-01-16  4:50 ` Jens Axboe
2019-10-18  0:51 Stephen Rothwell
2019-10-18  0:56 ` Jens Axboe
2019-10-18  0:59   ` Jens Axboe
2019-10-18  3:58   ` Stephen Rothwell
2019-08-29  3:51 Stephen Rothwell
2019-08-29  4:08 ` Stephen Rothwell
2019-08-29 15:41   ` Tejun Heo
2019-08-29 15:44     ` Jens Axboe
2019-08-09  4:00 Stephen Rothwell
2019-08-09  4:13 ` Jens Axboe
2019-08-09  6:15 ` Yuehaibing
2019-04-17  2:31 Stephen Rothwell
2019-04-17 10:05 ` Chao Yu
2019-04-17 14:03   ` Jaegeuk Kim
2019-04-18  0:57     ` Chao Yu
2019-04-18 14:01       ` Jaegeuk Kim
2019-04-19  1:14         ` Chao Yu
2018-11-08  3:31 Stephen Rothwell
2018-11-08  4:19 ` Jens Axboe
2018-09-28  1:11 Stephen Rothwell
2018-09-28  6:43 ` Omar Sandoval
2018-09-28 14:26   ` Jens Axboe
2018-05-31  3:49 Stephen Rothwell
2018-05-14  2:51 Stephen Rothwell
2018-05-14  8:29 ` Christoph Hellwig
2018-05-14 14:31   ` Jens Axboe
2017-05-10  1:24 Stephen Rothwell
2017-05-10  2:20 ` Markus Trippelsdorf
2017-05-10  3:00   ` Jens Axboe
2017-05-10  6:19     ` Markus Trippelsdorf
2017-05-10  3:26   ` Stephen Rothwell
2014-10-23  1:28 Stephen Rothwell
2014-10-23  2:14 ` Jens Axboe
2013-09-23  4:29 Stephen Rothwell
2011-05-09  3:49 Stephen Rothwell
2011-05-09  5:55 ` Tao Ma
2011-05-09  6:34   ` Jens Axboe
2010-12-20  4:31 Stephen Rothwell
2010-12-20  4:42 ` Stephen Rothwell
2010-12-20  8:12   ` Jens Axboe
2010-09-16  3:30 Stephen Rothwell
2010-04-29  6:14 Stephen Rothwell
2010-04-29  7:28 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).