diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2020-09-02 19:31:05 +0200 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2020-09-10 15:41:31 +0200 |
commit | b51e627158cb0f67569aa46b5a08b568d20a81a4 (patch) | |
tree | d2e195a2f90c6f5b4629bbdd3330fc86cb1055f0 /arch/x86/pci | |
parent | swiotlb: Declare swiotlb_late_init_with_default_size() in header (diff) | |
download | linux-b51e627158cb0f67569aa46b5a08b568d20a81a4.tar.xz linux-b51e627158cb0f67569aa46b5a08b568d20a81a4.zip |
swiotlb: Mark max_segment with static keyword
Sparse is not happy about max_segment declaration:
CHECK kernel/dma/swiotlb.c
kernel/dma/swiotlb.c:96:14: warning: symbol 'max_segment' was not declared. Should it be static?
Mark it static as suggested.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'arch/x86/pci')
0 files changed, 0 insertions, 0 deletions