[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201211130208.2cf1e813@canb.auug.org.au>
Date: Fri, 11 Dec 2020 13:02:08 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>
Cc: Ashish Kalra <ashish.kalra@....com>, Borislav Petkov <bp@...e.de>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux Next Mailing List <linux-next@...r.kernel.org>
Subject: linux-next: build warning after merge of the swiotlb tree
Hi all,
After merging the swiotlb tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:
In file included from arch/arm/mm/init.c:24:
include/linux/swiotlb.h:108:13: warning: 'swiotlb_adjust_size' defined but not used [-Wunused-function]
108 | static void swiotlb_adjust_size(unsigned long new_size)
| ^~~~~~~~~~~~~~~~~~~
In file included from include/linux/dma-direct.h:13,
from arch/arm/mm/dma-mapping.c:17:
include/linux/swiotlb.h:108:13: warning: 'swiotlb_adjust_size' defined but not used [-Wunused-function]
108 | static void swiotlb_adjust_size(unsigned long new_size)
| ^~~~~~~~~~~~~~~~~~~
In file included from include/linux/dma-direct.h:13,
from kernel/dma/direct.h:10,
from kernel/dma/mapping.c:17:
include/linux/swiotlb.h:108:13: warning: 'swiotlb_adjust_size' defined but not used [-Wunused-function]
108 | static void swiotlb_adjust_size(unsigned long new_size)
| ^~~~~~~~~~~~~~~~~~~
In file included from include/linux/dma-direct.h:13,
from kernel/dma/coherent.c:10:
include/linux/swiotlb.h:108:13: warning: 'swiotlb_adjust_size' defined but not used [-Wunused-function]
108 | static void swiotlb_adjust_size(unsigned long new_size)
| ^~~~~~~~~~~~~~~~~~~
In file included from include/linux/dma-direct.h:13,
from kernel/dma/direct.h:10,
from kernel/dma/direct.c:16:
include/linux/swiotlb.h:108:13: warning: 'swiotlb_adjust_size' defined but not used [-Wunused-function]
108 | static void swiotlb_adjust_size(unsigned long new_size)
| ^~~~~~~~~~~~~~~~~~~
In file included from include/linux/dma-direct.h:13,
from drivers/of/device.c:8:
include/linux/swiotlb.h:108:13: warning: 'swiotlb_adjust_size' defined but not used [-Wunused-function]
108 | static void swiotlb_adjust_size(unsigned long new_size)
| ^~~~~~~~~~~~~~~~~~~
In file included from include/linux/dma-direct.h:13,
from drivers/remoteproc/remoteproc_core.c:27:
include/linux/swiotlb.h:108:13: warning: 'swiotlb_adjust_size' defined but not used [-Wunused-function]
108 | static void swiotlb_adjust_size(unsigned long new_size)
| ^~~~~~~~~~~~~~~~~~~
In file included from include/linux/dma-direct.h:13,
from drivers/of/address.c:16:
include/linux/swiotlb.h:108:13: warning: 'swiotlb_adjust_size' defined but not used [-Wunused-function]
108 | static void swiotlb_adjust_size(unsigned long new_size)
| ^~~~~~~~~~~~~~~~~~~
In file included from drivers/mmc/host/sdhci.c:23:
include/linux/swiotlb.h:108:13: warning: 'swiotlb_adjust_size' defined but not used [-Wunused-function]
108 | static void swiotlb_adjust_size(unsigned long new_size)
| ^~~~~~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/nouveau/nouveau_bo.c:31:
include/linux/swiotlb.h:108:13: warning: 'swiotlb_adjust_size' defined but not used [-Wunused-function]
108 | static void swiotlb_adjust_size(unsigned long new_size)
| ^~~~~~~~~~~~~~~~~~~
Introduced by commit
79f748d1bdb6 ("x86,swiotlb: Adjust SWIOTLB bounce buffer size for SEV guests")
Forgot the "inline" :-(
--
Cheers,
Stephen Rothwell
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists