From f813fea555aefa2eb8c79aa703b6e95a073dad0a Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Mon, 3 Oct 2022 16:31:31 +0800 Subject: [PATCH] Fix chip/cxd56_gnss.c:2858:7: error: label 'err' used but not defined Signed-off-by: Xiang Xiao --- arch/arm/src/cxd56xx/cxd56_gnss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/src/cxd56xx/cxd56_gnss.c b/arch/arm/src/cxd56xx/cxd56_gnss.c index 2ec9926dad..bc4dcd2fb7 100644 --- a/arch/arm/src/cxd56xx/cxd56_gnss.c +++ b/arch/arm/src/cxd56xx/cxd56_gnss.c @@ -2746,7 +2746,7 @@ static ssize_t cxd56_gnss_read(struct file *filep, char *buffer, if (!buffer) { ret = -EINVAL; - goto err; + goto out; } if (len == 0)