kernel-janitors.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH v3] eeprom: at24: fix memory corruption race condition
       [not found] <20240419191200.219548-1-dtokazaki@google.com>
@ 2024-04-20  9:11 ` Markus Elfring
  2024-04-20 10:04   ` Greg Kroah-Hartman
  0 siblings, 1 reply; 3+ messages in thread
From: Markus Elfring @ 2024-04-20  9:11 UTC (permalink / raw)
  To: Daniel Okazaki, kernel-team, linux-i2c, kernel-janitors,
	Arnd Bergmann, Bartosz Golaszewski, Greg Kroah-Hartman
  Cc: LKML

> If the eeprom is not accessible, an nvmem device will be registered, the
> read will fail, and the device will be torn down.
…

Can it be nicer to present the introduction for failure conditions as an enumeration?


> Move the failure point before registering the nvmem device.
…

I would interpret the diff data more in the way that a devm_nvmem_register() call
should be performed a bit later in the implementation of the function “at24_probe”.
How do you think about to mention the affected function also in the summary phrase?


> ---
…

Please add a version description for your change approach.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.9-rc4#n713

Regards,
Markus

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

* Re: [PATCH v3] eeprom: at24: fix memory corruption race condition
  2024-04-20  9:11 ` [PATCH v3] eeprom: at24: fix memory corruption race condition Markus Elfring
@ 2024-04-20 10:04   ` Greg Kroah-Hartman
  0 siblings, 0 replies; 3+ messages in thread
From: Greg Kroah-Hartman @ 2024-04-20 10:04 UTC (permalink / raw)
  To: Markus Elfring
  Cc: Daniel Okazaki, kernel-team, linux-i2c, kernel-janitors,
	Arnd Bergmann, Bartosz Golaszewski, LKML

On Sat, Apr 20, 2024 at 11:11:05AM +0200, Markus Elfring wrote:
> > If the eeprom is not accessible, an nvmem device will be registered, the
> > read will fail, and the device will be torn down.
> …
> 
> Can it be nicer to present the introduction for failure conditions as an enumeration?
> 
> 
> > Move the failure point before registering the nvmem device.
> …
> 
> I would interpret the diff data more in the way that a devm_nvmem_register() call
> should be performed a bit later in the implementation of the function “at24_probe”.
> How do you think about to mention the affected function also in the summary phrase?
> 

Hi,

This is the semi-friendly patch-bot of Greg Kroah-Hartman.

Markus, you seem to have sent a nonsensical or otherwise pointless
review comment to a patch submission on a Linux kernel developer mailing
list.  I strongly suggest that you not do this anymore.  Please do not
bother developers who are actively working to produce patches and
features with comments that, in the end, are a waste of time.

Patch submitter, please ignore Markus's suggestion; you do not need to
follow it at all.  The person/bot/AI that sent it is being ignored by
almost all Linux kernel maintainers for having a persistent pattern of
behavior of producing distracting and pointless commentary, and
inability to adapt to feedback.  Please feel free to also ignore emails
from them.

thanks,

greg k-h's patch email bot

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

* Re: [PATCH v3] eeprom: at24: fix memory corruption race condition
       [not found] <20240422174337.2487142-1-dtokazaki@google.com>
@ 2024-04-23  6:15 ` Markus Elfring
  0 siblings, 0 replies; 3+ messages in thread
From: Markus Elfring @ 2024-04-23  6:15 UTC (permalink / raw)
  To: Daniel Okazaki, kernel-team, linux-i2c, kernel-janitors,
	Arnd Bergmann, Bartosz Golaszewski, Greg Kroah-Hartman
  Cc: LKML

How do you think about to increase the version number for your attempt in the patch subject?

See also previous contribution:
https://lore.kernel.org/lkml/20240419191200.219548-1-dtokazaki@google.com/
https://lkml.org/lkml/2024/4/19/946


> If the eeprom is not accessible, an nvmem device will be registered, the
> read will fail, and the device will be torn down.
…

Please present the introduction for failure conditions as an enumeration.


> Move the failure point before registering the nvmem device.
…

I would interpret the diff data more in the way that a devm_nvmem_register() call
should be performed a bit later in the implementation of the function “at24_probe”.
How do you think about to mention the affected function also in the summary phrase?


> Changed sha length to 12 in description

A specification was adjusted for a tag.
Please add a version identifier here.
Will version descriptions be extended another bit?


> ---

I suggest to use blank line instead of a duplicate marker line.

Regards,
Markus

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

end of thread, other threads:[~2024-04-23  6:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20240419191200.219548-1-dtokazaki@google.com>
2024-04-20  9:11 ` [PATCH v3] eeprom: at24: fix memory corruption race condition Markus Elfring
2024-04-20 10:04   ` Greg Kroah-Hartman
     [not found] <20240422174337.2487142-1-dtokazaki@google.com>
2024-04-23  6:15 ` Markus Elfring

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