linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build failure after merge of the rr tree
@ 2011-01-19  4:42 Stephen Rothwell
  2011-01-19  9:59 ` Rusty Russell
  2011-01-19 10:04 ` Linus Walleij
  0 siblings, 2 replies; 15+ messages in thread
From: Stephen Rothwell @ 2011-01-19  4:42 UTC (permalink / raw)
  To: Rusty Russell; +Cc: linux-next, linux-kernel, Linus Walleij

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

Hi Rusty,

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

net/dsa/dsa.c:432: error: two or more data types in declaration specifiers

Lines 431-433 of that file are:

MODULE_AUTHOR("Lennert Buytenhek <buytenh@wantstofly.org>")
MODULE_DESCRIPTION("Driver for Distributed Switch Architecture switch chips");
MODULE_LICENSE("GPL");

Presumably caused by commit b64781e8e2b0f480affb170460cbfb3b11fa9e5d
("param: add null statement to compiled-in module params").  I wonder how
many more build errors this change may provoke.  Please try to find them
and fix them before adding this change, thanks.

I used the version of the rr tree from next-20110118 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

P.S. (some of these may just be in linux-next)
$ git grep '^[ 	]*MODULE_.*)[ 	]*$'
drivers/media/dvb/dvb-core/dvbdev.h:	MODULE_PARM_DESC(adapter_nr, "DVB adapter numbers")
drivers/net/arm/ks8695net.c:MODULE_AUTHOR("Simtec Electronics")
drivers/platform/x86/thinkpad_acpi.c:	MODULE_ALIAS("dmi:bvnIBM:bvr" __type "ET??WW*")
drivers/usb/atm/xusbatm.c:	MODULE_PARM_DESC(name, desc)
drivers/usb/gadget/f_mass_storage.c:	MODULE_PARM_DESC(prefix ## name, desc)
drivers/usb/gadget/f_mass_storage.c:	MODULE_PARM_DESC(prefix ## name, desc)
include/linux/blkdev.h:	MODULE_ALIAS("block-major-" __stringify(major) "-" __stringify(minor))
include/linux/blkdev.h:	MODULE_ALIAS("block-major-" __stringify(major) "-*")
include/linux/device.h:	MODULE_ALIAS("char-major-" __stringify(major) "-" __stringify(minor))
include/linux/device.h:	MODULE_ALIAS("char-major-" __stringify(major) "-*")
include/linux/isapnp.h:		MODULE_GENERIC_TABLE(isapnp_card, name)
include/linux/module.h:  MODULE_GENERIC_TABLE(type##_device,name)
include/linux/net.h:	MODULE_ALIAS("net-pf-" __stringify(proto))
include/linux/net.h:	MODULE_ALIAS("net-pf-" __stringify(pf) "-proto-" __stringify(proto))
include/linux/netfilter/nfnetlink.h:	MODULE_ALIAS("nfnetlink-subsys-" __stringify(subsys))
include/linux/tty_ldisc.h:	MODULE_ALIAS("tty-ldisc-" __stringify(ldisc))
include/net/netfilter/nf_conntrack.h:        MODULE_ALIAS("nfct-helper-" helper)
include/net/xfrm.h:	MODULE_ALIAS("xfrm-mode-" __stringify(family) "-" __stringify(encap))
include/net/xfrm.h:	MODULE_ALIAS("xfrm-type-" __stringify(family) "-" __stringify(proto))
include/scsi/scsi_device.h:	MODULE_ALIAS("scsi:t-" __stringify(type) "*")
include/sound/minors.h:	MODULE_ALIAS("sound-service-?-" __stringify(type))
net/dsa/dsa.c:MODULE_AUTHOR("Lennert Buytenhek <buytenh@wantstofly.org>")

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

^ permalink raw reply	[flat|nested] 15+ messages in thread
* linux-next: build failure after merge of the rr tree
@ 2011-12-20  2:39 Stephen Rothwell
  2011-12-20  3:54 ` Rusty Russell
  0 siblings, 1 reply; 15+ messages in thread
From: Stephen Rothwell @ 2011-12-20  2:39 UTC (permalink / raw)
  To: Rusty Russell; +Cc: linux-next, linux-kernel

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

Hi Rusty,

After merging the rr tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

drivers/infiniband/hw/ehca/ehca_main.c:68:6: error: conflicting types for 'ehca_use_hp_mr'
drivers/infiniband/hw/ehca/ehca_classes.h:382:12: note: previous declaration of 'ehca_use_hp_mr' was here
drivers/infiniband/hw/ehca/ehca_main.c:71:6: error: conflicting types for 'ehca_scaling_code'
drivers/infiniband/hw/ehca/ehca_classes.h:383:12: note: previous declaration of 'ehca_scaling_code' was here
drivers/pci/hotplug/rpaphp_core.c:40:6: error: conflicting types for 'rpaphp_debug'
drivers/pci/hotplug/rpaphp.h:49:12: note: previous declaration of 'rpaphp_debug' was here


Caused by commit 314332ce8f31 ("module_param: make bool parameters really
bool (drivers & misc)").

I have used the rr tree from next-20111219 for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

^ permalink raw reply	[flat|nested] 15+ messages in thread
* linux-next: build failure after merge of the rr tree
@ 2011-08-30  4:03 Stephen Rothwell
  2011-08-31  4:36 ` Rusty Russell
  0 siblings, 1 reply; 15+ messages in thread
From: Stephen Rothwell @ 2011-08-30  4:03 UTC (permalink / raw)
  To: Rusty Russell; +Cc: linux-next, linux-kernel, Wang Sheng-Hui

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

Hi Rusty,

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

In file included from include/linux/vhost.h:17:0,
                 from drivers/vhost/vhost.c:15:
include/linux/virtio_ring.h: In function 'vring_init':
include/linux/virtio_ring.h:138:69: error: '__16' undeclared (first use in this function)
In file included from include/linux/vhost.h:17:0,
                 from drivers/vhost/net.c:11:
include/linux/virtio_ring.h: In function 'vring_init':
include/linux/virtio_ring.h:138:69: error: '__16' undeclared (first use in this function)
In file included from drivers/virtio/virtio_ring.c:20:0:
include/linux/virtio_ring.h: In function 'vring_init':
include/linux/virtio_ring.h:138:69: error: '__16' undeclared (first use in this function)
In file included from drivers/virtio/virtio_pci.c:24:0:
include/linux/virtio_ring.h: In function 'vring_init':
include/linux/virtio_ring.h:138:69: error: '__16' undeclared (first use in this function)

Caused by commit 217391e3dedb ("virtio: modify vring_init and vring_size
to take account of the layout containing *_event_idx").

I have used the rr tree from next-20110829 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] 15+ messages in thread
* linux-next: build failure after merge of the rr tree
@ 2011-02-09  2:01 Stephen Rothwell
  2011-02-09  2:13 ` Rusty Russell
  0 siblings, 1 reply; 15+ messages in thread
From: Stephen Rothwell @ 2011-02-09  2:01 UTC (permalink / raw)
  To: Rusty Russell; +Cc: linux-next, linux-kernel, Dmitry Torokhov

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

Hi Rusty,

After merging the rr tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

drivers/net/myri10ge/myri10ge.c: In function 'myri10ge_select_firmware':
drivers/net/myri10ge/myri10ge.c:3341: error: request for member 'perm' in something not a structure or union
drivers/net/myri10ge/myri10ge.c:3341: error: request for member 'perm' in something not a structure or union
drivers/net/myri10ge/myri10ge.c:3341: error: request for member 'perm' in something not a structure or union
drivers/net/myri10ge/myri10ge.c:3349: error: request for member 'perm' in something not a structure or union
drivers/net/myri10ge/myri10ge.c:3349: error: request for member 'perm' in something not a structure or union
drivers/net/myri10ge/myri10ge.c:3349: error: request for member 'perm' in something not a structure or union

Caused by commit b3e402b450f954d0a8ec04e05433654d4a9df2a6 ("module: deal
with alignment issues in built-in module parameters") so I have used the
rr tree from next-20110208 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] 15+ messages in thread
* linux-next: build failure after merge of the rr tree
@ 2010-08-04  2:15 Stephen Rothwell
  0 siblings, 0 replies; 15+ messages in thread
From: Stephen Rothwell @ 2010-08-04  2:15 UTC (permalink / raw)
  To: Rusty Russell; +Cc: linux-next, linux-kernel, Trond Myklebust

Hi Rusty,

After merging the rr tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

net/sunrpc/auth.c:74: error: 'param_ops_hashtbl_sz' undeclared here (not in a function)

Caused by commit 0685652df0929cec7d78efa85127f6eb34962132
("param:param_ops") interacting with commit
f8f853ab19fcc415b6eadd273373edc424916212 ("SUNRPC: Make the credential
cache hashtable size configurable") from the nfs tree.

I added the following merge fix patch:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Wed, 4 Aug 2010 12:11:22 +1000
Subject: [PATCH] nfs: update for module_param_named API change

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 net/sunrpc/auth.c |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/net/sunrpc/auth.c b/net/sunrpc/auth.c
index 880d0de..36cb660 100644
--- a/net/sunrpc/auth.c
+++ b/net/sunrpc/auth.c
@@ -39,7 +39,7 @@ static LIST_HEAD(cred_unused);
 static unsigned long number_cred_unused;
 
 #define MAX_HASHTABLE_BITS (10) 
-static int param_set_hashtbl_sz(const char *val, struct kernel_param *kp)
+static int param_set_hashtbl_sz(const char *val, const struct kernel_param *kp)
 {
 	unsigned long num;
 	unsigned int nbits;
@@ -61,7 +61,7 @@ out_inval:
 	return -EINVAL;
 }
 
-static int param_get_hashtbl_sz(char *buffer, struct kernel_param *kp)
+static int param_get_hashtbl_sz(char *buffer, const struct kernel_param *kp)
 {
 	unsigned int nbits;
 
@@ -71,6 +71,11 @@ static int param_get_hashtbl_sz(char *buffer, struct kernel_param *kp)
 
 #define param_check_hashtbl_sz(name, p) __param_check(name, p, unsigned int);
 
+static struct kernel_param_ops param_ops_hashtbl_sz = {
+	.set = param_set_hashtbl_sz,
+	.get = param_get_hashtbl_sz,
+};
+
 module_param_named(auth_hashtable_size, auth_hashbits, hashtbl_sz, 0644);
 MODULE_PARM_DESC(auth_hashtable_size, "RPC credential cache hashtable size");
 
-- 
1.7.1

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

^ permalink raw reply related	[flat|nested] 15+ messages in thread
* linux-next: build failure after merge of the rr tree
@ 2010-06-02  2:03 Stephen Rothwell
  2010-06-02  4:45 ` Rusty Russell
  0 siblings, 1 reply; 15+ messages in thread
From: Stephen Rothwell @ 2010-06-02  2:03 UTC (permalink / raw)
  To: Rusty Russell; +Cc: linux-next, linux-kernel

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

Hi Rusty,

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

kernel/debug/kdb/kdb_main.c: In function 'kdb_lsmod':
kernel/debug/kdb/kdb_main.c:1897: error: 'struct module' has no member named 'modules_which_use_me'
kernel/debug/kdb/kdb_main.c:1897: error: 'struct module' has no member named 'modules_which_use_me'

I have used the rr tree from next-20100531 again for today.

-- 
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] 15+ messages in thread
* linux-next: build failure after merge of the rr tree
@ 2010-06-01  3:11 Stephen Rothwell
  0 siblings, 0 replies; 15+ messages in thread
From: Stephen Rothwell @ 2010-06-01  3:11 UTC (permalink / raw)
  To: Rusty Russell; +Cc: linux-next, linux-kernel

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

Hi Rusty,

After merging the rr tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

kernel/module.c: In function 'SYSC_delete_module':
kernel/module.c:787: error: label 'out_stop' used but not defined

Caused by commit b50e0d273194c53851fbf6d119047a9b742c49c6
("module:reduce-locking").

I have used the rr tree from next-20100531 for today.
-- 
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] 15+ messages in thread

end of thread, other threads:[~2011-12-20  4:20 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-19  4:42 linux-next: build failure after merge of the rr tree Stephen Rothwell
2011-01-19  9:59 ` Rusty Russell
2011-01-19 10:05   ` Linus Walleij
2011-01-19 10:04 ` Linus Walleij
  -- strict thread matches above, loose matches on Subject: below --
2011-12-20  2:39 Stephen Rothwell
2011-12-20  3:54 ` Rusty Russell
2011-08-30  4:03 Stephen Rothwell
2011-08-31  4:36 ` Rusty Russell
2011-02-09  2:01 Stephen Rothwell
2011-02-09  2:13 ` Rusty Russell
2011-02-09  8:36   ` Dmitry Torokhov
2010-08-04  2:15 Stephen Rothwell
2010-06-02  2:03 Stephen Rothwell
2010-06-02  4:45 ` Rusty Russell
2010-06-01  3:11 Stephen Rothwell

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).