aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorMaor Gottlieb <[email protected]>2020-11-15 14:06:23 +0200
committerJason Gunthorpe <[email protected]>2020-11-17 20:02:20 -0400
commitee415d73dcc24caef7f6bbf292dcc365613d2188 (patch)
tree5b4e911c9db9ab7dc194733ad31f82988aa57c78 /scripts/gcc-plugins/cyc_complexity_plugin.c
parentdabbd6abcdbeb1358a53ec28a244429320eb0e3a (diff)
tools/testing/scatterlist: Fix test to compile and run
Add missing define of ALIGN_DOWN to make the test build and run. In addition, __sg_alloc_table_from_pages now support unaligned maximum segment, so adapt the test result accordingly. Fixes: 07da1223ec93 ("lib/scatterlist: Add support in dynamic allocation of SG table from pages") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Maor Gottlieb <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions