Re: [PATCH v1 10/11] backports: prefix c-file / h-file auto backport with BPAUTO

From: Luis R. Rodriguez
Date: Tue Nov 04 2014 - 16:50:14 EST


On Tue, Nov 04, 2014 at 11:14:52AM +0100, Johannes Berg wrote:
> On Tue, 2014-11-04 at 00:43 -0800, Luis R. Rodriguez wrote:
>
> > - mf.write('compat-$(%s%s) += %s\n' % (bp_prefix, sym, ' '.join(o_files)))
> > + if bp_prefix not in sym:
> > + mf.write('compat-$(%s%s) += %s\n' % (bp_prefix, sym, ' '.join(o_files)))
> > + else:
> > + mf.write('compat-$(%s) += %s\n' % (sym, ' '.join(o_files)))
>
> I don't think these changes are correct, the bp_prefix is needed anyway,
> and there's no way it could already be. Looks like this comes from a
> previous attempt where you misunderstood and thought
> CONFIG_BACKPORT_BACKPORT_... was actually wrong, when in fact it is
> correct (and would now be CONFIG_BACKPORT_BPAUTO_...)

I did at one point have BACKPORT_BPAUTO_* stuff on the compat/Kconfig for
the auto stuff but figured that was superfluous. I'll respin with it.

Luis
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/