Michael Kelley
96e052d147
Drivers: hv: util: Don't force error code to ENODEV in util_probe()
...
If the util_init function call in util_probe() returns an error code,
util_probe() always return ENODEV, and the error code from the util_init
function is lost. The error message output in the caller, vmbus_probe(),
doesn't show the real error code.
Fix this by just returning the error code from the util_init function.
There doesn't seem to be a reason to force ENODEV, as other errors
such as ENOMEM can already be returned from util_probe(). And the
code in call_driver_probe() implies that ENODEV should mean that a
matching driver wasn't found, which is not the case here.
Suggested-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: Michael Kelley <mhklinux@outlook.com>
Acked-by: Wei Liu <wei.liu@kernel.org>
Link: https://lore.kernel.org/r/20241106154247.2271-2-mhklinux@outlook.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <20241106154247.2271-2-mhklinux@outlook.com>
2024-12-09 18:44:14 +00:00
..
2024-12-02 11:34:44 -08:00
2024-12-06 13:47:55 -08:00
2024-11-29 11:58:27 -08:00
2024-11-26 18:05:44 -08:00
2024-12-01 15:12:43 -08:00
2024-12-02 11:34:44 -08:00
2024-12-08 11:38:56 -08:00
2024-12-01 15:12:43 -08:00
2024-12-05 10:00:20 -07:00
2024-12-01 15:12:43 -08:00
2024-11-29 11:58:27 -08:00
2024-12-01 15:12:43 -08:00
2024-12-03 08:22:25 -08:00
2024-12-01 15:12:43 -08:00
2024-12-02 11:34:44 -08:00
2024-12-09 18:42:42 +00:00
2024-12-02 11:34:44 -08:00
2024-11-23 10:44:31 -08:00
2024-12-01 15:12:43 -08:00
2024-12-03 08:22:25 -08:00
2024-12-02 11:34:44 -08:00
2024-12-02 11:34:44 -08:00
2024-12-01 15:12:43 -08:00
2024-12-03 08:22:25 -08:00
2024-12-06 11:52:15 -08:00
2024-12-01 15:12:43 -08:00
2024-12-01 15:12:43 -08:00
2024-11-25 17:12:54 -08:00
2024-12-02 11:34:44 -08:00
2024-12-02 11:34:44 -08:00
2024-12-01 15:12:43 -08:00
2024-12-03 08:22:25 -08:00
2024-12-06 13:16:41 -08:00
2024-12-05 10:06:47 -08:00
2024-12-01 15:12:43 -08:00
2024-12-01 15:12:43 -08:00
2024-12-09 18:44:14 +00:00
2024-12-03 08:22:25 -08:00
2024-12-01 15:12:43 -08:00
2024-12-01 15:12:43 -08:00
2024-12-03 08:22:25 -08:00
2024-12-01 15:12:43 -08:00
2024-12-08 11:26:13 -08:00
2024-12-02 11:34:44 -08:00
2024-11-25 10:31:39 -08:00
2024-12-05 15:02:20 -08:00
2024-12-08 11:54:04 -08:00
2024-12-02 11:34:44 -08:00
2024-12-01 15:12:43 -08:00
2024-11-30 09:03:16 -08:00
2024-12-02 11:34:44 -08:00
2024-12-03 15:06:27 -07:00
2024-12-02 11:34:44 -08:00
2024-12-01 15:12:43 -08:00
2024-12-01 15:12:43 -08:00
2024-11-20 21:38:24 -05:00
2024-12-02 11:34:44 -08:00
2024-12-02 11:34:44 -08:00
2024-12-02 15:37:16 +01:00
2024-11-30 10:32:47 -08:00
2024-12-05 10:25:06 -08:00
2024-12-02 11:34:44 -08:00
2024-12-05 10:14:36 -07:00
2024-12-01 15:12:43 -08:00
2024-12-01 15:12:43 -08:00
2024-11-27 14:40:33 -08:00
2024-12-01 15:12:43 -08:00
2024-12-01 15:12:43 -08:00
2024-12-02 11:34:44 -08:00
2024-12-01 15:12:43 -08:00
2024-12-02 11:34:44 -08:00
2024-12-02 11:34:44 -08:00
2024-11-29 11:43:29 -08:00
2024-12-02 11:34:44 -08:00
2024-12-04 10:28:30 -08:00
2024-12-06 11:24:00 -08:00
2024-11-28 09:28:09 -08:00
2024-12-02 11:34:44 -08:00
2024-12-01 15:12:43 -08:00
2024-12-05 10:25:06 -08:00
2024-12-03 08:22:25 -08:00
2024-11-28 09:40:53 -08:00
2024-12-02 11:34:44 -08:00
2024-12-01 15:12:43 -08:00
2024-12-02 11:34:44 -08:00
2024-11-29 11:43:29 -08:00
2024-12-01 15:12:43 -08:00
2024-12-04 13:22:59 -05:00
2024-11-30 14:45:29 -08:00
2024-12-01 15:12:43 -08:00
2024-11-21 08:28:08 -08:00
2024-12-02 11:34:44 -08:00
2024-12-06 11:36:48 -08:00
2024-12-01 15:12:43 -08:00
2024-12-02 11:34:44 -08:00
2024-12-02 12:36:18 -05:00
2024-12-01 15:12:43 -08:00
2024-12-02 11:34:44 -08:00
2024-11-29 11:19:31 -08:00
2024-12-03 08:22:25 -08:00
2024-12-04 13:22:59 -05:00
2024-12-01 15:12:43 -08:00
2024-12-03 08:22:25 -08:00
2024-12-02 11:34:44 -08:00
2024-12-02 11:34:44 -08:00
2024-12-06 13:47:55 -08:00
2024-12-02 11:34:44 -08:00
2024-12-01 15:12:43 -08:00
2024-12-05 10:03:43 -08:00
2024-12-02 11:34:44 -08:00