[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20240925105725.1562327-1-jy7805.heo@samsung.com>
Date: Wed, 25 Sep 2024 19:57:25 +0900
From: Joonyoung Heo <jy7805.heo@...sung.com>
To: mdf@...nel.org, hao.wu@...el.com, yilun.xu@...el.com
Cc: trix@...hat.com, linux-fpga@...r.kernel.org,
linux-kernel@...r.kernel.org, Heo Joonyoung <jy7805.heo@...sung.com>
Subject: [PATCH] fpga: print return value in machxo2_cleanup()
From: Heo Joonyoung <jy7805.heo@...sung.com>
print return value to check where it failed.
Signed-off-by: Heo Joonyoung <jy7805.heo@...sung.com>
---
drivers/fpga/machxo2-spi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/fpga/machxo2-spi.c b/drivers/fpga/machxo2-spi.c
index 905607992a12..c9eaf313e9b8 100644
--- a/drivers/fpga/machxo2-spi.c
+++ b/drivers/fpga/machxo2-spi.c
@@ -166,7 +166,7 @@ static int machxo2_cleanup(struct fpga_manager *mgr)
return 0;
fail:
- dev_err(&mgr->dev, "Cleanup failed\n");
+ dev_err(&mgr->dev, "Cleanup failed, ret=%d\n", ret);
return ret;
}
--
2.25.1
Powered by blists - more mailing lists