[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <940b49da-cbca-42d4-9a80-501465bc8cbe@web.de>
Date: Tue, 19 Nov 2024 15:55:08 +0100
From: Markus Elfring <Markus.Elfring@....de>
To: Kurt Borja <kuurtb@...il.com>, platform-driver-x86@...r.kernel.org,
Dell.Client.Kernel@...l.com
Cc: LKML <linux-kernel@...r.kernel.org>, Armin Wolf <W_Armin@....de>,
Hans de Goede <hdegoede@...hat.com>,
Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>,
Mario Limonciello <mario.limonciello@....com>
Subject: Re: [PATCH 4/5] alienware-wmi: Fix module init error handling
> Propagate led_classdev_register return value in case of error.
> Call led_classdev_unregister in case sysfs_create_group fails.
>
> If alienware_zone_init fails, alienware_zone_exit should not be called
> because the latter unregisters/removes the led class and the sysfs
> group, which may not be registered/created if the former failed
> prematurely.
How do you think about to add any tags (like “Fixes” and “Cc”) accordingly?
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.12#n145
Regards,
Markus
Powered by blists - more mailing lists