From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Ashish Kalra <ashish.kalra@amd.com>, Borislav Petkov <bp@suse.de>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Linux Next Mailing List <linux-next@vger.kernel.org>
Subject: linux-next: build warning after merge of the swiotlb tree
Date: Fri, 11 Dec 2020 13:02:08 +1100 [thread overview]
Message-ID: <20201211130208.2cf1e813@canb.auug.org.au> (raw)
[-- Attachment #1: Type: text/plain, Size: 3386 bytes --]
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
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next reply other threads:[~2020-12-11 2:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-11 2:02 Stephen Rothwell [this message]
2020-12-11 2:47 ` linux-next: build warning after merge of the swiotlb tree Ashish Kalra
-- strict thread matches above, loose matches on Subject: below --
2021-06-16 1:38 Stephen Rothwell
2021-06-16 2:43 ` Konrad Rzeszutek Wilk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201211130208.2cf1e813@canb.auug.org.au \
--to=sfr@canb.auug.org.au \
--cc=ashish.kalra@amd.com \
--cc=bp@suse.de \
--cc=konrad.wilk@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox