All of lore.kernel.org
 help / color / mirror / Atom feed
* linux-next: build failure after merge of the v9fs tree
@ 2022-12-05  4:03 Stephen Rothwell
  2022-12-05  4:10 ` Dominique Martinet
  0 siblings, 1 reply; 20+ messages in thread
From: Stephen Rothwell @ 2022-12-05  4:03 UTC (permalink / raw)
  To: Dominique Martinet
  Cc: Christian Schoenebeck, Linux Kernel Mailing List,
	Linux Next Mailing List

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

Hi all,

After merging the v9fs tree, today's linux-next build (i386 defconfig)
failed like this:

In file included from include/linux/kernel.h:29,
                 from arch/x86/include/asm/percpu.h:27,
                 from arch/x86/include/asm/nospec-branch.h:14,
                 from arch/x86/include/asm/paravirt_types.h:27,
                 from arch/x86/include/asm/ptrace.h:97,
                 from arch/x86/include/asm/math_emu.h:5,
                 from arch/x86/include/asm/processor.h:13,
                 from arch/x86/include/asm/timex.h:5,
                 from include/linux/timex.h:67,
                 from include/linux/time32.h:13,
                 from include/linux/time.h:60,
                 from include/linux/stat.h:19,
                 from include/linux/module.h:13,
                 from net/9p/client.c:11:
net/9p/client.c: In function 'p9_check_errors':
include/linux/kern_levels.h:5:25: error: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Werror=format=]
    5 | #define KERN_SOH        "\001"          /* ASCII Start Of Header */
      |                         ^~~~~~
include/linux/printk.h:429:25: note: in definition of macro 'printk_index_wrap'
  429 |                 _p_func(_fmt, ##__VA_ARGS__);                           \
      |                         ^~~~
include/linux/printk.h:500:9: note: in expansion of macro 'printk'
  500 |         printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
      |         ^~~~~~
include/linux/kern_levels.h:11:25: note: in expansion of macro 'KERN_SOH'
   11 | #define KERN_ERR        KERN_SOH "3"    /* error conditions */
      |                         ^~~~~~~~
include/linux/printk.h:500:16: note: in expansion of macro 'KERN_ERR'
  500 |         printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
      |                ^~~~~~~~
net/9p/client.c:523:17: note: in expansion of macro 'pr_err'
  523 |                 pr_err(
      |                 ^~~~~~
cc1: all warnings being treated as errors

Caused by commit

  36cd2f80abf8 ("net/9p: fix response size check in p9_check_errors()")

I have applied the following patch for today:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 5 Dec 2022 14:55:10 +1100
Subject: [PATCH] net/9p: use %zu to print size_t

Fixes: 36cd2f80abf8 ("net/9p: fix response size check in p9_check_errors()")
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 net/9p/client.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/9p/client.c b/net/9p/client.c
index deb7baa178f3..6db5e0c55f9c 100644
--- a/net/9p/client.c
+++ b/net/9p/client.c
@@ -521,7 +521,7 @@ static int p9_check_errors(struct p9_client *c, struct p9_req_t *req)
 	err = p9_parse_header(&req->rc, NULL, &type, NULL, 0);
 	if (req->rc.size > req->rc.capacity && !req->rc.zc) {
 		pr_err(
-			 "requested packet size too big: %d does not fit %ld (type=%d)\n",
+			 "requested packet size too big: %d does not fit %zu (type=%d)\n",
 			 req->rc.size, req->rc.capacity, req->rc.id);
 		return -EIO;
 	}
-- 
2.35.1

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply related	[flat|nested] 20+ messages in thread
* linux-next: build failure after merge of the v9fs tree
@ 2022-07-13  1:02 Stephen Rothwell
  2022-07-13  1:06 ` Dominique Martinet
  0 siblings, 1 reply; 20+ messages in thread
From: Stephen Rothwell @ 2022-07-13  1:02 UTC (permalink / raw)
  To: Dominique Martinet; +Cc: Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

After merging the v9fs tree, today's linux-next build (x86_64
allmodconfig) failed like this:

net/9p/trans_fd.c:275:12: error: 'failme' defined but not used [-Werror=unused-variable]
  275 | static int failme;
      |            ^~~~~~
cc1: all warnings being treated as errors

Caused by commit

  c249fb4f9193 ("9p: roll p9_tag_remove into p9_req_put")

I have used the v9fs tree from next-20220712 for today.

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 20+ messages in thread
* linux-next: build failure after merge of the v9fs tree
@ 2011-12-01  1:02 Stephen Rothwell
  2011-12-01 16:57 ` Joe Perches
  0 siblings, 1 reply; 20+ messages in thread
From: Stephen Rothwell @ 2011-12-01  1:02 UTC (permalink / raw)
  To: Eric Van Hensbergen; +Cc: linux-next, linux-kernel, Joe Perches

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

Hi Eric,

After merging the v9fs tree, today's linux-next build (x86_64
allmodconfig) failed like this:

ERROR: "_p9_debug" [net/9p/9pnet_virtio.ko] undefined!
ERROR: "_p9_debug" [net/9p/9pnet_rdma.ko] undefined!
ERROR: "_p9_debug" [net/9p/9pnet.ko] undefined!

Caused by commit be9e4aa9e783 ("9p: Reduce object size with
CONFIG_NET_9P_DEBUG").

I have used the v9fs tree from next-20111130 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

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

^ permalink raw reply	[flat|nested] 20+ messages in thread
* linux-next: build failure after merge of the v9fs tree
@ 2011-02-22  0:53 Stephen Rothwell
  2011-02-22  5:20 ` Venkateswararao Jujjuri (JV)
  0 siblings, 1 reply; 20+ messages in thread
From: Stephen Rothwell @ 2011-02-22  0:53 UTC (permalink / raw)
  To: Eric Van Hensbergen
  Cc: linux-next, linux-kernel, Venkateswararao Jujjuri (JV)

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

Hi Eric,

After merging the v9fs tree, today's linux-next build (x86_64
allmodconfig) failed like this:

ERROR: "p9_payload_gup" [net/9p/9pnet_virtio.ko] undefined!
ERROR: "p9_nr_pages" [net/9p/9pnet_virtio.ko] undefined!
ERROR: "p9_release_req_pages" [net/9p/9pnet_virtio.ko] undefined!

Caused by commit ac8c81621fe5176f1bb18730e5db2e347af08255 ("[net/9p] Add
gup/zero_copy support to VirtIO transport layer").

I have used the v9fs tree from next-20110221 for today.
-- 
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] 20+ messages in thread

end of thread, other threads:[~2022-12-09 21:24 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-05  4:03 linux-next: build failure after merge of the v9fs tree Stephen Rothwell
2022-12-05  4:10 ` Dominique Martinet
2022-12-05  4:55   ` Stephen Rothwell
2022-12-05 14:31   ` Christian Schoenebeck
2022-12-05 20:40     ` Christian Schoenebeck
2022-12-05 22:41       ` Dominique Martinet
2022-12-08 15:55         ` Christian Schoenebeck
2022-12-08 23:53           ` Dominique Martinet
2022-12-09 14:40             ` Christian Schoenebeck
2022-12-09 21:24               ` Dominique Martinet
  -- strict thread matches above, loose matches on Subject: below --
2022-07-13  1:02 Stephen Rothwell
2022-07-13  1:06 ` Dominique Martinet
2011-12-01  1:02 Stephen Rothwell
2011-12-01 16:57 ` Joe Perches
2011-02-22  0:53 Stephen Rothwell
2011-02-22  5:20 ` Venkateswararao Jujjuri (JV)
2011-02-22  5:30   ` Stephen Rothwell
2011-02-22  6:22     ` Venkateswararao Jujjuri (JV)
2011-02-22 14:57       ` Eric Van Hensbergen
2011-02-22 16:48         ` Venkateswararao Jujjuri (JV)

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.