* [PATCH] fpga: Fix of_fpga_mgr_get() reference in fpga_mgr_lock() docs
@ 2026-09-12 10:09 Karl Mehltretter
2026-09-18 17:38 ` Xu Yilun
0 siblings, 1 reply; 2+ messages in thread
From: Karl Mehltretter @ 2026-09-12 10:09 UTC (permalink / raw)
To: Moritz Fischer, Xu Yilun
Cc: Karl Mehltretter, Alan Tull, Tom Rix, linux-fpga, linux-kernel
The fpga_mgr_lock() comment lists of_fpga_mgr_put() as a source of a
manager pointer. The helper which obtains that pointer is
of_fpga_mgr_get(). Correct the reference.
Fixes: ebf877a51ad7 ("fpga: mgr: separate getting/locking FPGA manager")
Assisted-by: LLM
Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>
---
drivers/fpga/fpga-mgr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/fpga/fpga-mgr.c b/drivers/fpga/fpga-mgr.c
index 2672070ced026b022454e730520ab147fb02431d..5a0b7780b335887f36f7f182c28c8514f75e1733 100644
--- a/drivers/fpga/fpga-mgr.c
+++ b/drivers/fpga/fpga-mgr.c
@@ -744,7 +744,7 @@ EXPORT_SYMBOL_GPL(fpga_mgr_put);
* @mgr: fpga manager
*
* Given a pointer to FPGA Manager (from fpga_mgr_get() or
- * of_fpga_mgr_put()) attempt to get the mutex. The user should call
+ * of_fpga_mgr_get()) attempt to get the mutex. The user should call
* fpga_mgr_lock() and verify that it returns 0 before attempting to
* program the FPGA. Likewise, the user should call fpga_mgr_unlock
* when done programming the FPGA.
--
2.39.5 (Apple Git-154)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] fpga: Fix of_fpga_mgr_get() reference in fpga_mgr_lock() docs
2026-09-12 10:09 [PATCH] fpga: Fix of_fpga_mgr_get() reference in fpga_mgr_lock() docs Karl Mehltretter
@ 2026-09-18 17:38 ` Xu Yilun
0 siblings, 0 replies; 2+ messages in thread
From: Xu Yilun @ 2026-09-18 17:38 UTC (permalink / raw)
To: Karl Mehltretter
Cc: Moritz Fischer, Xu Yilun, Alan Tull, Tom Rix, linux-fpga, linux-kernel
On Sat, Sep 12, 2026 at 12:09:37PM +0200, Karl Mehltretter wrote:
> The fpga_mgr_lock() comment lists of_fpga_mgr_put() as a source of a
> manager pointer. The helper which obtains that pointer is
> of_fpga_mgr_get(). Correct the reference.
>
> Fixes: ebf877a51ad7 ("fpga: mgr: separate getting/locking FPGA manager")
> Assisted-by: LLM
> Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>
Reviewed-by: Xu Yilun <yilun.xu@intel.com>
Applied to for-next
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-09-18 17:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-12 10:09 [PATCH] fpga: Fix of_fpga_mgr_get() reference in fpga_mgr_lock() docs Karl Mehltretter
2026-09-18 17:38 ` Xu Yilun
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®