Revision 3c7858268411dc6473e73965a23854d8f9825424 authored by Nathan Chancellor on 26 June 2020, 03:30:11 UTC, committed by Linus Torvalds on 26 June 2020, 07:27:37 UTC
After mm.h was removed from the asm-generic version of cacheflush.h,
s390 allyesconfig shows several warnings of the following nature:

  In file included from arch/s390/include/generated/asm/cacheflush.h:1,
                   from drivers/media/platform/omap3isp/isp.c:42:
  include/asm-generic/cacheflush.h:16:42: warning: 'struct mm_struct' declared inside parameter list will not be visible outside of this definition or declaration

As Geert and Laurent point out, this driver does not need this header in
the two files that include it.  Remove it so there are no warnings.

Link: http://lkml.kernel.org/r/20200622234740.72825-2-natechancellor@gmail.com
Fixes: e0cf615d725c ("asm-generic: don't include <linux/mm.h> in cacheflush.h")
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Suggested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Suggested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 8dbdd50
History
File Mode Size
kasan
Kconfig -rw-r--r-- 28.1 KB
Kconfig.debug -rw-r--r-- 6.2 KB
Makefile -rw-r--r-- 4.4 KB
backing-dev.c -rw-r--r-- 28.4 KB
balloon_compaction.c -rw-r--r-- 8.2 KB
cleancache.c -rw-r--r-- 9.8 KB
cma.c -rw-r--r-- 14.4 KB
cma.h -rw-r--r-- 573 bytes
cma_debug.c -rw-r--r-- 4.5 KB
compaction.c -rw-r--r-- 75.6 KB
debug.c -rw-r--r-- 8.5 KB
debug_page_ref.c -rw-r--r-- 1.4 KB
debug_vm_pgtable.c -rw-r--r-- 10.2 KB
dmapool.c -rw-r--r-- 13.8 KB
early_ioremap.c -rw-r--r-- 6.8 KB
fadvise.c -rw-r--r-- 5.3 KB
failslab.c -rw-r--r-- 1.4 KB
filemap.c -rw-r--r-- 96.6 KB
frame_vector.c -rw-r--r-- 6.4 KB
frontswap.c -rw-r--r-- 14.2 KB
gup.c -rw-r--r-- 87.2 KB
gup_benchmark.c -rw-r--r-- 4.3 KB
highmem.c -rw-r--r-- 11.7 KB
hmm.c -rw-r--r-- 16.3 KB
huge_memory.c -rw-r--r-- 81.7 KB
hugetlb.c -rw-r--r-- 156.2 KB
hugetlb_cgroup.c -rw-r--r-- 21.4 KB
hwpoison-inject.c -rw-r--r-- 2.8 KB
init-mm.c -rw-r--r-- 1.2 KB
internal.h -rw-r--r-- 18.9 KB
interval_tree.c -rw-r--r-- 3.1 KB
khugepaged.c -rw-r--r-- 57.8 KB
kmemleak-test.c -rw-r--r-- 2.6 KB
kmemleak.c -rw-r--r-- 56.2 KB
ksm.c -rw-r--r-- 89.2 KB
list_lru.c -rw-r--r-- 14.3 KB
maccess.c -rw-r--r-- 8.6 KB
madvise.c -rw-r--r-- 29.4 KB
mapping_dirty_helpers.c -rw-r--r-- 10.3 KB
memblock.c -rw-r--r-- 58.3 KB
memcontrol.c -rw-r--r-- 185.5 KB
memfd.c -rw-r--r-- 7.9 KB
memory-failure.c -rw-r--r-- 53.0 KB
memory.c -rw-r--r-- 135.2 KB
memory_hotplug.c -rw-r--r-- 48.4 KB
mempolicy.c -rw-r--r-- 76.6 KB
mempool.c -rw-r--r-- 15.8 KB
memremap.c -rw-r--r-- 13.2 KB
memtest.c -rw-r--r-- 2.8 KB
migrate.c -rw-r--r-- 77.9 KB
mincore.c -rw-r--r-- 7.6 KB
mlock.c -rw-r--r-- 22.7 KB
mm_init.c -rw-r--r-- 4.9 KB
mmap.c -rw-r--r-- 100.6 KB
mmu_gather.c -rw-r--r-- 8.4 KB
mmu_notifier.c -rw-r--r-- 34.5 KB
mmzone.c -rw-r--r-- 2.4 KB
mprotect.c -rw-r--r-- 17.0 KB
mremap.c -rw-r--r-- 21.4 KB
msync.c -rw-r--r-- 2.6 KB
nommu.c -rw-r--r-- 45.4 KB
oom_kill.c -rw-r--r-- 30.2 KB
page-writeback.c -rw-r--r-- 85.0 KB
page_alloc.c -rw-r--r-- 242.4 KB
page_counter.c -rw-r--r-- 6.6 KB
page_ext.c -rw-r--r-- 10.8 KB
page_idle.c -rw-r--r-- 5.5 KB
page_io.c -rw-r--r-- 10.8 KB
page_isolation.c -rw-r--r-- 8.8 KB
page_owner.c -rw-r--r-- 16.0 KB
page_poison.c -rw-r--r-- 3.0 KB
page_reporting.c -rw-r--r-- 9.9 KB
page_reporting.h -rw-r--r-- 1.6 KB
page_vma_mapped.c -rw-r--r-- 7.7 KB
pagewalk.c -rw-r--r-- 14.2 KB
percpu-internal.h -rw-r--r-- 6.3 KB
percpu-km.c -rw-r--r-- 3.0 KB
percpu-stats.c -rw-r--r-- 5.7 KB
percpu-vm.c -rw-r--r-- 10.3 KB
percpu.c -rw-r--r-- 91.4 KB
pgtable-generic.c -rw-r--r-- 5.6 KB
process_vm_access.c -rw-r--r-- 9.9 KB
ptdump.c -rw-r--r-- 3.8 KB
readahead.c -rw-r--r-- 18.4 KB
rmap.c -rw-r--r-- 55.5 KB
rodata_test.c -rw-r--r-- 1.3 KB
shmem.c -rw-r--r-- 106.8 KB
shuffle.c -rw-r--r-- 5.5 KB
shuffle.h -rw-r--r-- 1.6 KB
slab.c -rw-r--r-- 105.5 KB
slab.h -rw-r--r-- 19.3 KB
slab_common.c -rw-r--r-- 44.1 KB
slob.c -rw-r--r-- 18.1 KB
slub.c -rw-r--r-- 145.5 KB
sparse-vmemmap.c -rw-r--r-- 6.8 KB
sparse.c -rw-r--r-- 26.3 KB
swap.c -rw-r--r-- 32.4 KB
swap_cgroup.c -rw-r--r-- 5.1 KB
swap_slots.c -rw-r--r-- 9.4 KB
swap_state.c -rw-r--r-- 22.8 KB
swapfile.c -rw-r--r-- 96.5 KB
truncate.c -rw-r--r-- 26.7 KB
usercopy.c -rw-r--r-- 9.5 KB
userfaultfd.c -rw-r--r-- 17.6 KB
util.c -rw-r--r-- 22.5 KB
vmacache.c -rw-r--r-- 2.7 KB
vmalloc.c -rw-r--r-- 91.7 KB
vmpressure.c -rw-r--r-- 13.9 KB
vmscan.c -rw-r--r-- 123.1 KB
vmstat.c -rw-r--r-- 51.9 KB
workingset.c -rw-r--r-- 20.9 KB
z3fold.c -rw-r--r-- 46.7 KB
zbud.c -rw-r--r-- 18.2 KB
zpool.c -rw-r--r-- 11.2 KB
zsmalloc.c -rw-r--r-- 62.2 KB
zswap.c -rw-r--r-- 35.1 KB

back to top