diff options
author | José Expósito <jose.exposito89@gmail.com> | 2025-08-11 12:15:17 +0200 |
---|---|---|
committer | Louis Chauvet <louis.chauvet@bootlin.com> | 2025-09-05 19:05:37 +0200 |
commit | 0d2902dfa31535c08d4976995d5b6890a8f43399 (patch) | |
tree | 7da37a00a9f856a0c965f064db02f67be2422a8e /rust/helpers/workqueue.c | |
parent | 9e05c8dc4e8bb14bdb86eccff1d07169cfd69df8 (diff) |
drm/vkms: Assert if vkms_config_create_*() fails
Check that the value returned by the vkms_config_create_*() functions is
valid. Otherwise, assert and finish the KUnit test.
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/dri-devel/aJTL6IFEBaI8gqtH@stanley.mountain/
Signed-off-by: José Expósito <jose.exposito89@gmail.com>
Reviewed-by: Louis Chauvet <louis.chauvet@bootlin.com>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/20250811101529.150716-1-jose.exposito89@gmail.com
Signed-off-by: Louis Chauvet <louis.chauvet@bootlin.com>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions