kernel-janitors.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH v2] i2c: busses: remove duplicate dev_err()
       [not found] <20200416152345.23077-1-zhengdejin5@gmail.com>
@ 2020-04-16 18:22 ` Markus Elfring
  2020-04-16 19:34   ` Joe Perches
  0 siblings, 1 reply; 4+ messages in thread
From: Markus Elfring @ 2020-04-16 18:22 UTC (permalink / raw)
  To: Dejin Zheng, linux-i2c
  Cc: kernel-janitors, linux-kernel, Wolfram Sang, Vignesh Raghavendra,
	Thor Thayer, Tang Bin, Stephen Boyd, Patrick Williams,
	Krzysztof Kozlowski, Krzysztof Adamski, Andy Shevchenko,
	Ard Biesheuvel, Bjorn Andersson, Barry Song, Bartosz Golaszewski,
	Dong Aisheng, George Cherian, Hans de Goede,
	Manivannan Sadhasivam, Neil Armstrong

> it will print an error message by itself when platform_get_irq()
> goes wrong. so don't need dev_err() in here again.

I suggest to improve the commit message considerably.

Would you like to integrate any information from a response
on the topic “drm/meson: Delete an error message in meson_dw_hdmi_bind()” by
a contributor like Neil Armstrong?
https://lore.kernel.org/dri-devel/54e0b6e4-4a39-c567-7355-2b2330a95294@baylibre.com/
https://lore.kernel.org/patchwork/comment/1418937/
https://lkml.org/lkml/2020/4/15/186


> v1 -> v2:

Will a version identification be sufficient without the arrow?


> 	- add 19 similar changes by Markus's suggestion.

* With which search tool did you find the presented update candidates?

* Will a link to the commit “driver core: platform: Add an error message
  to platform_get_irq*()” (by Stephen Boyd from 2019-07-29) become helpful
  as background information for such collateral evolution?
  https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/base/platform.c?id=7723f4c5ecdb8d832f049f8483beb0d1081cedf6

Regards,
Markus

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v2] i2c: busses: remove duplicate dev_err()
  2020-04-16 18:22 ` [PATCH v2] i2c: busses: remove duplicate dev_err() Markus Elfring
@ 2020-04-16 19:34   ` Joe Perches
  2020-04-16 20:30     ` [v2] " Markus Elfring
  2020-04-16 21:29     ` [PATCH v2] " Andy Shevchenko
  0 siblings, 2 replies; 4+ messages in thread
From: Joe Perches @ 2020-04-16 19:34 UTC (permalink / raw)
  To: Markus Elfring, Dejin Zheng, linux-i2c
  Cc: kernel-janitors, linux-kernel, Wolfram Sang, Vignesh Raghavendra,
	Thor Thayer, Tang Bin, Stephen Boyd, Patrick Williams,
	Krzysztof Kozlowski, Krzysztof Adamski, Andy Shevchenko,
	Ard Biesheuvel, Bjorn Andersson, Barry Song, Bartosz Golaszewski,
	Dong Aisheng, George Cherian, Hans de Goede,
	Manivannan Sadhasivam, Neil Armstrong

On Thu, 2020-04-16 at 20:22 +0200, Markus Elfring wrote:
> > it will print an error message by itself when platform_get_irq()
> > goes wrong. so don't need dev_err() in here again.
> 
> I suggest to improve the commit message considerably.

I suggest you ignore Markus' suggestion.

The commit message is OK.

The subject _could_ have included "platform_get_irq" something like

Subject: [PATCH v2] i2c: busses: Remove platform_get_irq()'s duplicated dev_err()

but I believe it's not important enough to redo.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [v2] i2c: busses: remove duplicate dev_err()
  2020-04-16 19:34   ` Joe Perches
@ 2020-04-16 20:30     ` Markus Elfring
  2020-04-16 21:29     ` [PATCH v2] " Andy Shevchenko
  1 sibling, 0 replies; 4+ messages in thread
From: Markus Elfring @ 2020-04-16 20:30 UTC (permalink / raw)
  To: Joe Perches, Dejin Zheng, linux-i2c
  Cc: kernel-janitors, linux-kernel, Wolfram Sang, Vignesh Raghavendra,
	Thor Thayer, Tang Bin, Stephen Boyd, Patrick Williams,
	Krzysztof Kozlowski, Krzysztof Adamski, Andy Shevchenko,
	Ard Biesheuvel, Bjorn Andersson, Barry Song, Bartosz Golaszewski,
	Dong Aisheng, George Cherian, Hans de Goede,
	Manivannan Sadhasivam, Neil Armstrong

>>> it will print an error message by itself when platform_get_irq()
>>> goes wrong. so don't need dev_err() in here again.
>>
>> I suggest to improve the commit message considerably.
>
> I suggest you ignore Markus' suggestion.
>
> The commit message is OK.

I would appreciate if such a view can be reconsidered.

I got used to looking at information which can be provided there.
Thus I occasionally notice further change possibilities
also at this place.

Examples:
* Should the first word in English sentences start with a capital letter?

* Which value do you give to an imperative wording in the change description?

* Will an other word order become helpful here?

* Can it be relevant to refer to questionable error messages
  instead of the mentioned function name?


> The subject _could_ have included "platform_get_irq" something like
>
> Subject: [PATCH v2] i2c: busses: Remove platform_get_irq()'s duplicated dev_err()

I find such a suggestion for a patch subject also a bit nicer.


> but I believe it's not important enough to redo.

Will your idea be picked up for the final commit title?

Regards,
Markus

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v2] i2c: busses: remove duplicate dev_err()
  2020-04-16 19:34   ` Joe Perches
  2020-04-16 20:30     ` [v2] " Markus Elfring
@ 2020-04-16 21:29     ` Andy Shevchenko
  1 sibling, 0 replies; 4+ messages in thread
From: Andy Shevchenko @ 2020-04-16 21:29 UTC (permalink / raw)
  To: Joe Perches
  Cc: Markus Elfring, Dejin Zheng, linux-i2c, kernel-janitors,
	Linux Kernel Mailing List, Wolfram Sang, Vignesh Raghavendra,
	Thor Thayer, Tang Bin, Stephen Boyd, Patrick Williams,
	Krzysztof Kozlowski, Krzysztof Adamski, Andy Shevchenko,
	Ard Biesheuvel, Bjorn Andersson, Barry Song, Bartosz Golaszewski,
	Dong Aisheng, George Cherian, Hans de Goede,
	Manivannan Sadhasivam, Neil Armstrong

On Fri, Apr 17, 2020 at 12:28 AM Joe Perches <joe@perches.com> wrote:
>
> On Thu, 2020-04-16 at 20:22 +0200, Markus Elfring wrote:
> > > it will print an error message by itself when platform_get_irq()
> > > goes wrong. so don't need dev_err() in here again.
> >
> > I suggest to improve the commit message considerably.
>
> I suggest you ignore Markus' suggestion.
>
> The commit message is OK.
>
> The subject _could_ have included "platform_get_irq" something like
>
> Subject: [PATCH v2] i2c: busses: Remove platform_get_irq()'s duplicated dev_err()
>
> but I believe it's not important enough to redo.

+1, I think it's good enough.

-- 
With Best Regards,
Andy Shevchenko

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-04-16 21:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20200416152345.23077-1-zhengdejin5@gmail.com>
2020-04-16 18:22 ` [PATCH v2] i2c: busses: remove duplicate dev_err() Markus Elfring
2020-04-16 19:34   ` Joe Perches
2020-04-16 20:30     ` [v2] " Markus Elfring
2020-04-16 21:29     ` [PATCH v2] " Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).