[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YIUI3TZf/sZ6Sd3K@kroah.com>
Date: Sun, 25 Apr 2021 08:14:53 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Shawn Guo <shawn.guo@...aro.org>
Cc: Luis Chamberlain <mcgrof@...nel.org>,
Vinod Koul <vkoul@...nel.org>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Lee Jones <lee.jones@...aro.org>,
Arnd Bergmann <arnd@...db.de>,
Kalle Valo <kvalo@...eaurora.org>,
Stuart Hayes <stuart.w.hayes@...il.com>,
Ohad Ben-Cohen <ohad@...ery.com>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Mathieu Poirier <mathieu.poirier@...aro.org>,
James Smart <james.smart@...adcom.com>,
Dick Kennedy <dick.kennedy@...adcom.com>,
Timur Tabi <timur@...nel.org>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>, dmaengine@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-media@...r.kernel.org,
linux-wireless@...r.kernel.org, linux-remoteproc@...r.kernel.org,
linux-scsi@...r.kernel.org, linux-serial@...r.kernel.org,
alsa-devel@...a-project.org
Subject: Re: [PATCH] firmware: replace HOTPLUG with UEVENT in FW_ACTION
defines
On Sun, Apr 25, 2021 at 10:00:24AM +0800, Shawn Guo wrote:
> With commit 312c004d36ce ("[PATCH] driver core: replace "hotplug" by
> "uevent"") already in the tree over a decade, update the name of
> FW_ACTION defines to follow semantics, and reflect what the defines are
> really meant for, i.e. whether or not generate user space event.
>
> Signed-off-by: Shawn Guo <shawn.guo@...aro.org>
> ---
> drivers/dma/imx-sdma.c | 2 +-
> drivers/media/platform/exynos4-is/fimc-is.c | 2 +-
> drivers/mfd/iqs62x.c | 2 +-
> drivers/misc/lattice-ecp3-config.c | 2 +-
> drivers/net/wireless/ti/wlcore/main.c | 2 +-
> drivers/platform/x86/dell/dell_rbu.c | 2 +-
> drivers/remoteproc/remoteproc_core.c | 2 +-
> drivers/scsi/lpfc/lpfc_init.c | 2 +-
> drivers/tty/serial/ucc_uart.c | 2 +-
> include/linux/firmware.h | 4 ++--
> lib/test_firmware.c | 10 +++++-----
> sound/soc/codecs/wm8958-dsp2.c | 6 +++---
> 12 files changed, 19 insertions(+), 19 deletions(-)
>
> diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c
> index d5590c08db51..e2b559945c11 100644
> --- a/drivers/dma/imx-sdma.c
> +++ b/drivers/dma/imx-sdma.c
> @@ -1829,7 +1829,7 @@ static int sdma_get_firmware(struct sdma_engine *sdma,
> int ret;
>
> ret = request_firmware_nowait(THIS_MODULE,
> - FW_ACTION_HOTPLUG, fw_name, sdma->dev,
> + FW_ACTION_UEVENT, fw_name, sdma->dev,
Naming is hard :)
I can take this after -rc1, but really, is it needed?
What problem does this renaming solve? Who is the current name
confusing?
thanks,
greg k-h
Powered by blists - more mailing lists