lkml.org 
[lkml]   [2017]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PCI: rcar: Use common error handling code in rcar_pcie_enable_msi()
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.

\
 
 \ /
  Last update: 2017-11-02 09:14    [W:0.058 / U:0.748 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site