Re: PCI: rcar: Use common error handling code in rcar_pcie_enable_msi()

From: Simon Horman
Date: Thu Nov 02 2017 - 04:13:08 EST


On Wed, Nov 01, 2017 at 09:57:00AM +0100, SF Markus Elfring wrote:
> > This is fine by me
>
> Thanks for another bit of change acceptance.
>
>
> > except that the change in the name of the goto label seems spurious.
>
> I am curious if the popularity of a jump label like âerrâ will decrease
> (in the Linux source files) over time.

If your current patch bombing is successful then it will, at least in the
short term. But my comments relate to the current best practice,
not the one you seem to be trying to introduce.

> > But if you really want to change it then as it is an error path
> > I should suggest it describe that its an error and what unwinding
> > is done, f.e. err_remove_domain.
>
> * Do you get such a kind of information only when the prefix âerr_â
> is added to this identifier?

Yes, err indicates its an error path.

>
> * Do you prefer to stress the âdomain removalâ
> (or the shown error message) in the label?

I prefer to stress the unwind path as that is the most important
aspect of the error path.


I have no interest in a prelonged debate about the naming of labels.
As I pointed out its a spurious aspect of your change. If you wish me to
Ack your change then please either drop that change or update it - as I
already suggested. Else lets discontinue this sub-thread.