diff options
author | Bean Huo <[email protected]> | 2023-01-08 23:40:56 +0100 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2023-01-11 22:16:59 -0500 |
commit | f3e57da528127febae7eb03d9c87408d572b0fd8 (patch) | |
tree | 8b3790b2505c5c1858dfc626e90447fb660e32f7 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 5e87c51f186ef70b17201f97db11044e3e7ffa46 (diff) |
scsi: core: Fix invisible definition compilation warning
In 'include/ufs/ufshcd.h' file, 'enum dma_data_direction' will be used,
which is defined in linux/dma-direction.h, however, this header file is not
included in ufshcd.h, thus causing the following compilation warning:
"warning: ‘enum dma_data_direction’ declared inside parameter list will not
be visible outside of this definition or declaration"
Fix this warning by including 'linux/dma-direction.h'.
Fixes: 6ff265fc5ef6 ("scsi: ufs: core: bsg: Add advanced RPMB support in ufs_bsg")
Reported-by: Xiaosen He <[email protected]>
Reported-by: Bart Van Assche <[email protected]>
Signed-off-by: Bean Huo <[email protected]>
Reviewed-by: Bart Van Assche <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions