From: Ruiqiang Hao <ruiqiang....@windriver.com> Commit 208531a1d7e3(Merge branch 'v5.10/standard/base' into v5.10/standard/cn-sdkv5.4/octeon) remove return value in function etm4_remove_dev(), but did not change the definition and caller of this function. Change return value type to void to fix the error during compiling.
Signed-by-off: Ruiqiang Hao <ruiqiang....@windriver.com> --- drivers/hwtracing/coresight/coresight-etm4x-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/hwtracing/coresight/coresight-etm4x-core.c b/drivers/hwtracing/coresight/coresight-etm4x-core.c index 4e852f8f1687..7e5b54d259e6 100644 --- a/drivers/hwtracing/coresight/coresight-etm4x-core.c +++ b/drivers/hwtracing/coresight/coresight-etm4x-core.c @@ -2065,7 +2065,7 @@ static void clear_etmdrvdata(void *info) etmdrvdata[cpu] = NULL; } -static int __exit etm4_remove_dev(struct etmv4_drvdata *drvdata) +static void __exit etm4_remove_dev(struct etmv4_drvdata *drvdata) { etm_perf_symlink(drvdata->csdev, false); /* @@ -2101,7 +2101,7 @@ static int __exit etm4_remove_platform_dev(struct platform_device *pdev) struct etmv4_drvdata *drvdata = dev_get_drvdata(&pdev->dev); if (drvdata) - ret = etm4_remove_dev(drvdata); + etm4_remove_dev(drvdata); pm_runtime_disable(&pdev->dev); return ret; } -- 2.25.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11185): https://lists.yoctoproject.org/g/linux-yocto/message/11185 Mute This Topic: https://lists.yoctoproject.org/mt/90437988/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-