* linux-next: build warnings after merge of the tiny tree
@ 2014-11-11 6:43 Stephen Rothwell
2014-11-14 20:38 ` Josh Triplett
0 siblings, 1 reply; 2+ messages in thread
From: Stephen Rothwell @ 2014-11-11 6:43 UTC (permalink / raw)
To: Josh Triplett; +Cc: linux-next, linux-kernel, Catalina Mocanu
[-- Attachment #1: Type: text/plain, Size: 719 bytes --]
Hi Josh,
After merging the tiny tree, today's linux-next build (powerpc64
allnoconfig) produced these warnings:
kernel/compat.c:33:12: warning: 'compat_get_timex' defined but not used [-Wunused-function]
static int compat_get_timex(struct timex *txc, struct compat_timex __user *utp)
^
kernel/compat.c:63:12: warning: 'compat_put_timex' defined but not used [-Wunused-function]
static int compat_put_timex(struct compat_timex __user *utp, struct timex *txc)
^
Introduced by commit 7beb114f18e0 ("kernel: time: Compile out NTP
support"). Neither of these functions is needed if CONFIG_NTP is not
set.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: linux-next: build warnings after merge of the tiny tree
2014-11-11 6:43 linux-next: build warnings after merge of the tiny tree Stephen Rothwell
@ 2014-11-14 20:38 ` Josh Triplett
0 siblings, 0 replies; 2+ messages in thread
From: Josh Triplett @ 2014-11-14 20:38 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: linux-next, linux-kernel, Catalina Mocanu
On Tue, Nov 11, 2014 at 05:43:04PM +1100, Stephen Rothwell wrote:
> Hi Josh,
>
> After merging the tiny tree, today's linux-next build (powerpc64
> allnoconfig) produced these warnings:
>
> kernel/compat.c:33:12: warning: 'compat_get_timex' defined but not used [-Wunused-function]
> static int compat_get_timex(struct timex *txc, struct compat_timex __user *utp)
> ^
> kernel/compat.c:63:12: warning: 'compat_put_timex' defined but not used [-Wunused-function]
> static int compat_put_timex(struct compat_timex __user *utp, struct timex *txc)
> ^
>
> Introduced by commit 7beb114f18e0 ("kernel: time: Compile out NTP
> support"). Neither of these functions is needed if CONFIG_NTP is not
> set.
Fixed.
- Josh Triplett
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-11-14 20:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-11 6:43 linux-next: build warnings after merge of the tiny tree Stephen Rothwell
2014-11-14 20:38 ` Josh Triplett
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).