From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from s3.sipsolutions.net ([144.76.63.242]:50584 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932083AbdJ3UEC (ORCPT ); Mon, 30 Oct 2017 16:04:02 -0400 Message-ID: <1509393839.2637.3.camel@sipsolutions.net> (sfid-20171030_210407_093652_0CA6129E) Subject: Re: Compiling error of backport-4.12.c From: Johannes Berg To: =?UTF-8?Q?=E5=90=B3=E9=87=8D=E6=AF=85?= Cc: backports@vger.kernel.org Date: Mon, 30 Oct 2017 21:03:59 +0100 In-Reply-To: <1509005208.2421.51.camel@sipsolutions.net> (sfid-20171026_100654_665631_5F5B08F1) References: <1508843560.2639.28.camel@sipsolutions.net> <1508854185.2639.32.camel@sipsolutions.net> (sfid-20171026_055256_037938_4070B188) <1509002960.2421.50.camel@sipsolutions.net> (sfid-20171026_092934_213999_8CEEC02D) <1509005208.2421.51.camel@sipsolutions.net> (sfid-20171026_100654_665631_5F5B08F1) Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Sender: backports-owner@vger.kernel.org List-ID: 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; mutex_lock(&copies_mutex); list_add_tail(©->list, &copies_list); But on older kernels this doesn't compile, and needs more work. johannes -- To unsubscribe from this list: send the line "unsubscribe backports" in