Re: [PATCH v2] kobject: remove unused KOBJ_MAX action

From: Greg KH
Date: Wed Jul 15 2020 - 11:32:22 EST


On Wed, Jul 15, 2020 at 05:11:16PM +0200, Garrit Franke wrote:
> The loop in lib/kobject_uevent.c that checked for KOBJ_MAX is no longer present, we do
> a much more sane ARRAY_SIZE() check instead (see 5c5daf657cb5).

Odd line wrapping :(

When you specify a git commit, use the format as documented in the
submitting patches file:
5c5daf657cb5 ("Driver core: exclude kobject_uevent.c for !CONFIG_HOTPLUG")

> Therefore, the KOBJ_MAX is not used anymore.

That sentence does not make much sense :(

thanks,

greg k-h