linux-next: build warnings after merge of the tiny tree
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.
Signature · 2 lines
Cheers, Stephen Rothwell [email protected]
Quoted 7 lines · Stephen Rothwell
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 intcompat_get_timex(struct timex *txc, struct compat_timex __user *utp)
Quoted 8 lines
^ 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 ifCONFIG_NTPis not set.
Fixed.
- Josh Triplett