From: SangYoun Kwak Date: Fri, 28 Mar 2025 07:23:32 +0000 (+0900) Subject: device-led: Fix typo in hal module enum for getting stub proc name X-Git-Tag: accepted/tizen/unified/20250331.083314^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a0a8e9295affe21551a2c15a2fcbca9e4718ec33;p=platform%2Fhal%2Fapi%2Fdevice.git device-led: Fix typo in hal module enum for getting stub proc name In the function that connects to the stub of device-led module for IPC, it gets stub proc name before establishing connection. There were some typos: The enum of device-led is HAL_MODULE_DEVICE_LED but it was HAL_MODULE_DEVICE_DISPLAY. In the log message, it should be "device-led" but "device-display". Despite of this typo, the IPC had no error since the stub proc name of device-display and device-led was same. But this typo might cause serious error, it should be fixed. Change-Id: If58e6a8c35aa8f181d7104b36491bc7e99fad99c Signed-off-by: SangYoun Kwak --- diff --git a/src/hal-api-device-led-ipc.c b/src/hal-api-device-led-ipc.c index a1655c4..9098660 100644 --- a/src/hal-api-device-led-ipc.c +++ b/src/hal-api-device-led-ipc.c @@ -61,9 +61,9 @@ int hal_device_led_ipc_get_backend(void) if (g_hal_device_led_ipc_funcs_h) return 0; - ret = hal_common_get_stub_proc_name(HAL_MODULE_DEVICE_DISPLAY, &stub_proc_name); + ret = hal_common_get_stub_proc_name(HAL_MODULE_DEVICE_LED, &stub_proc_name); if (ret != 0) { - _E("Failed to get stub proc name for device-display: ret(%d)", ret); + _E("Failed to get stub proc name for device-led: ret(%d)", ret); return ret; }