diff options
-rw-r--r-- | drivers/edgetpu/edgetpu-mobile-platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edgetpu/edgetpu-mobile-platform.c b/drivers/edgetpu/edgetpu-mobile-platform.c index 194c741..3272d4c 100644 --- a/drivers/edgetpu/edgetpu-mobile-platform.c +++ b/drivers/edgetpu/edgetpu-mobile-platform.c @@ -330,7 +330,7 @@ edgetpu_mobile_platform_set_fw_ctx_memory(struct edgetpu_mobile_platform_dev *et static inline const char *get_driver_commit(void) { #if IS_ENABLED(CONFIG_MODULE_SCMVERSION) - return THIS_MODULE->scmversion; + return THIS_MODULE->scmversion ?: "scmversion missing"; #elif defined(GIT_REPO_TAG) return GIT_REPO_TAG; #else |