[PATCH V8 03/10] powerpc, perf: Re organize BHRB processing
Daniel Axtens
dja at axtens.net
Thu Jun 11 13:32:22 AEST 2015
> >> +
> >> /* Processing BHRB entries */
> >> static void power_pmu_bhrb_read(struct cpu_hw_events *cpuhw)
> >> {
> >> - u64 val;
> >> - u64 addr;
> >> + u64 val, addr, tmp;
> > Please don't use 'tmp' here. As far as I can tell, you use this variable
> > to compute the 'to' address. The name should reflect that.
>
> Agreed but then it will be a new preparatory patch at the beginning
> of this patch series.
>
I don't think I understand what you're saying here. Why do you need a
new patch? As I understand it, you've introduced 'tmp' in this patch;
couldn't you just rename it to, for example, to_addr, instead of tmp in
this patch?
--
Regards,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 860 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20150611/565d7ed6/attachment-0001.sig>
More information about the Linuxppc-dev
mailing list