Re: linux-next: build warnings after merge of the tiny tree

From: Josh Triplett
Date: Fri Nov 14 2014 - 15:38:44 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/