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

From: Johannes Berg
Date: Tue Nov 04 2014 - 05:15:04 EST


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

johannes

--
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/