Thread (94 messages) 94 messages, 7 authors, 2017-09-28

Re: [PATCH v2 04/22] fpga: mgr: add region_id to fpga_image_info

From: Alan Tull <hidden>
Date: 2017-07-26 18:34:37
Also in: linux-fpga, lkml

On Sun, Jun 25, 2017 at 8:52 PM, Wu Hao [off-list ref] wrote:

Hi Hao,
quoted hunk ↗ jump to hunk
This patch adds region_id to fpga_image_info data structure, it
allows driver to pass region id information to fpga-mgr via
fpga_image_info for fpga reconfiguration function.

Signed-off-by: Wu Hao <redacted>
---
 include/linux/fpga/fpga-mgr.h | 1 +
 1 file changed, 1 insertion(+)
diff --git a/include/linux/fpga/fpga-mgr.h b/include/linux/fpga/fpga-mgr.h
index 66d0e32..b222a57 100644
--- a/include/linux/fpga/fpga-mgr.h
+++ b/include/linux/fpga/fpga-mgr.h
@@ -95,6 +95,7 @@ struct fpga_image_info {
        struct sg_table *sgt;
        const char *buf;
        size_t count;
+       int region_id;
Please add a line to document this region_id above where all the other
struct members are documented.

Alan
 #ifdef CONFIG_OF
        struct device_node *overlay;
 #endif
--
1.8.3.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help