Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 2 messages Nov 11, 2014 – Nov 14, 2014 Linux-next tree

lore
Share & tools
lore
#0 lore raw

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]
#1 lore raw
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 int compat_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 if CONFIG_NTP is not set.

Fixed.

- Josh Triplett