On Tue, Mar 08, 2022 at 02:28:57PM +0800, Tian Tao wrote: > kernel/dma/map_benchmark.c and selftests/dma/dma_map_benchmark.c > have duplicate map_benchmark definitions, which tends to lead to > inconsistent changes to map_benchmark on both sides, extract a > common header file to avoid this problem. > > Signed-off-by: Tian Tao <[email protected]> > Acked-by: Barry Song <[email protected]> > Reviewed-by: Shuah Khan <[email protected]> > --- > kernel/dma/map_benchmark.c | 24 +------------- > kernel/dma/map_benchmark.h | 31 +++++++++++++++++++ > .../testing/selftests/dma/dma_map_benchmark.c | 25 +--------------
This needs to go into include/uapi/ instead of using unmaintainable local includes that poke into other directories. _______________________________________________ iommu mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/iommu
