Re: Compiling error of backport-4.12.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Thu, 2017-10-26 at 10:06 +0200, Johannes Berg wrote:
> On Thu, 2017-10-26 at 09:29 +0200, Johannes Berg wrote:
> > On Thu, 2017-10-26 at 11:52 +0800, 吳重毅 wrote:
> > > Thankd for fixing, i am able compile now.
> > 
> > Ok, great.
> > 
> > > But when i load the modules and firmware.bin, it crash.
> > 
> > Crap, sorry about that. I'll see what I can do about it right now.
> Ok, I see the bug. Not sure yet how to fix, but yeah.

I thought I said I'd fixed it, but don't see that email.

Anyway, I did, but Luca found another bug ... where it compiles, this
fixes it, I think:

--- a/compat/backport-4.12.c
+++ b/compat/backport-4.12.c
@@ -225,6 +225,7 @@ int bp_extack_genl_register_family(struct genl_family *family)
 	/* copy this since the family might access it directly */
 	family->attrbuf = copy->family.attrbuf;
+	family->mcgrp_offset = copy->family.mcgrp_offset;
 	list_add_tail(&copy->list, &copies_list);

But on older kernels this doesn't compile, and needs more work.

To unsubscribe from this list: send the line "unsubscribe backports" in

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux