diff options
author | Dan Williams <[email protected]> | 2023-05-12 14:31:35 -0700 |
---|---|---|
committer | Dan Williams <[email protected]> | 2023-05-13 00:16:40 -0700 |
commit | 270205be711056534d1f86d275d4ec922fb62102 (patch) | |
tree | 92354977fc8824d9cd26e403dcb79edd7145efaa /drivers/fpga/fpga-bridge.c | |
parent | ac9a78681b921877518763ba0e89202254349d1b (diff) |
tools/testing/cxl: Use DEFINE_STATIC_SRCU()
Starting with commit:
95433f726301 ("srcu: Begin offloading srcu_struct fields to srcu_update")
...it is no longer possible to do:
static DEFINE_SRCU(x)
Switch to DEFINE_STATIC_SRCU(x) to fix:
tools/testing/cxl/test/mock.c:22:1: error: duplicate ‘static’
22 | static DEFINE_SRCU(cxl_mock_srcu);
| ^~~~~~
Reviewed-by: Dave Jiang <[email protected]>
Link: https://lore.kernel.org/r/168392709546.1135523.10424917245934547117.stgit@dwillia2-xfh.jf.intel.com
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions