The patch titled make timespec_equal() take const arguments has been added to the -mm tree. Its filename is make-timespec_equal-take-const-arguments.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: make timespec_equal() take const arguments From: Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx> Make arguments of timespec_equal() const struct timespec. Signed-off-by: Jan Engelhardt <jengelh@xxxxxx> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Cc: john stultz <johnstul@xxxxxxxxxx> Cc: Roman Zippel <zippel@xxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/time.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) diff -puN include/linux/time.h~make-timespec_equal-take-const-arguments include/linux/time.h --- a/include/linux/time.h~make-timespec_equal-take-const-arguments +++ a/include/linux/time.h @@ -37,7 +37,8 @@ struct timezone { #define NSEC_PER_SEC 1000000000L #define FSEC_PER_SEC 1000000000000000L -static inline int timespec_equal(struct timespec *a, struct timespec *b) +static inline int timespec_equal(const struct timespec *a, + const struct timespec *b) { return (a->tv_sec == b->tv_sec) && (a->tv_nsec == b->tv_nsec); } _ Patches currently in -mm which might be from jengelh@xxxxxxxxxxxxxxx are fix-gregkh-usb-usb-use-menuconfig-objects.patch make-timespec_equal-take-const-arguments.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html