diff options
author | Hoegeun Kwon <hoegeun.kwon@samsung.com> | 2018-10-10 13:52:59 +0900 |
---|---|---|
committer | Seung-Woo Kim <sw0312.kim@samsung.com> | 2019-04-25 17:59:27 +0900 |
commit | 93088e84c4967a7aaeef645d3687339f8726376c (patch) | |
tree | e80f09b7b49c339c2e9980aa03cdce907486a086 | |
parent | 9a36c58c4fc1528ec21f0e4455fefd98625ff5f5 (diff) | |
download | libdrm-accepted/tizen_5.5_unified.tar.gz libdrm-accepted/tizen_5.5_unified.tar.bz2 libdrm-accepted/tizen_5.5_unified.zip |
ipptest: Fix wunused-label build warningtizen_5.5.m2_releasesubmit/tizen_5.5_wearable_hotfix/20201026.184307submit/tizen_5.5_mobile_hotfix/20201026.185107submit/tizen_5.5/20191031.000007submit/tizen/20190425.090445accepted/tizen/unified/20190426.054123accepted/tizen/5.5/unified/wearable/hotfix/20201027.100659accepted/tizen/5.5/unified/mobile/hotfix/20201027.074347accepted/tizen/5.5/unified/20191031.012013tizen_5.5_wearable_hotfixtizen_5.5_tvtizen_5.5_mobile_hotfixtizen_5.5accepted/tizen_5.5_unified_wearable_hotfixaccepted/tizen_5.5_unified_mobile_hotfixaccepted/tizen_5.5_unified
fimc-ipp_v2.c:254:1: warning: label 'err_ipp_dst_buff_close' defined but not used [-Wunused-label]
err_ipp_dst_buff_close:
Change-Id: I6c5ca0f9a393cc68da948973ee2ec1430af853ce
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
-rw-r--r-- | tests/ipptest/fimc-ipp_v2.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/tests/ipptest/fimc-ipp_v2.c b/tests/ipptest/fimc-ipp_v2.c index a6875827..2ec28ed4 100644 --- a/tests/ipptest/fimc-ipp_v2.c +++ b/tests/ipptest/fimc-ipp_v2.c @@ -158,7 +158,7 @@ void fimc_v2_m2m_set_mode(struct device *dev, struct connector *c, int count, task.transform.rotation = DRM_MODE_ROTATE_270; else { fprintf(stderr, "invalid rotation value\n"); - goto err_ipp_close; + goto err_ipp_dst_buff_close; } /* prepare ioctl data */ @@ -181,7 +181,7 @@ void fimc_v2_m2m_set_mode(struct device *dev, struct connector *c, int count, ret = ioctl(dev->fd, DRM_IOCTL_EXYNOS_IPP_COMMIT, &arg); if (ret) { fprintf(stderr, "failed to process image\n"); - goto err_ipp_close; + goto err_ipp_dst_buff_close; } gettimeofday(&end, NULL); @@ -202,7 +202,7 @@ void fimc_v2_m2m_set_mode(struct device *dev, struct connector *c, int count, fprintf(stderr, "failed to add fb (%ux%u):%d\n", dev->mode.width, dev->mode.height, errno); - goto err_ipp_close; + goto err_ipp_dst_buff_close; } for (j = 0; j < 2; j++) { @@ -210,7 +210,7 @@ void fimc_v2_m2m_set_mode(struct device *dev, struct connector *c, int count, ret = ioctl(dev->fd, DRM_IOCTL_EXYNOS_IPP_COMMIT, &arg); if (ret) { fprintf(stderr, "failed to process image\n"); - goto err_ipp_close; + goto err_ipp_dst_buff_close; } gettimeofday(&end, NULL); usec[j] = (end.tv_sec - begin.tv_sec) * 1000000 + @@ -223,7 +223,7 @@ void fimc_v2_m2m_set_mode(struct device *dev, struct connector *c, int count, pipe.num_cons, pipe.mode); if (ret) { fprintf(stderr, "failed to set crtc: %d\n", errno); - goto err_ipp_close; + goto err_ipp_dst_buff_close; } /* reset rotation for the next frame */ task.transform.rotation = DRM_MODE_ROTATE_0; @@ -237,7 +237,7 @@ void fimc_v2_m2m_set_mode(struct device *dev, struct connector *c, int count, if (ret) { fprintf(stderr, "failed to page flip: %d\n", errno); - goto err_ipp_close; + goto err_ipp_dst_buff_close; } } } @@ -246,7 +246,6 @@ void fimc_v2_m2m_set_mode(struct device *dev, struct connector *c, int count, break; } -err_ipp_close: err_ipp_dst_buff_close: util_kms_gem_destroy_mmap(&bo_dst); err_ipp_src_buff_close: |