The patch titled Subject: kexec-use-min_t-to-simplify-logic-fix has been removed from the -mm tree. Its filename was kexec-use-min_t-to-simplify-logic-fix.patch This patch was dropped because it was folded into kexec-use-min_t-to-simplify-logic.patch ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: kexec-use-min_t-to-simplify-logic-fix replace min_t with min, remove unneeded casts Cc: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx> Cc: Joe Perches <joe@xxxxxxxxxxx> Cc: Simon Horman <horms@xxxxxxxxxxxx> Cc: Zhang Yanfei <zhangyanfei@xxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/kexec.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff -puN kernel/kexec.c~kexec-use-min_t-to-simplify-logic-fix kernel/kexec.c --- a/kernel/kexec.c~kexec-use-min_t-to-simplify-logic-fix +++ a/kernel/kexec.c @@ -820,8 +820,8 @@ static int kimage_load_normal_segment(st clear_page(ptr); ptr += maddr & ~PAGE_MASK; mchunk = min_t(size_t, mbytes, - (size_t)(PAGE_SIZE - (maddr & ~PAGE_MASK))); - uchunk = min_t(size_t, ubytes, mchunk); + PAGE_SIZE - (maddr & ~PAGE_MASK)); + uchunk = min(ubytes, mchunk); result = copy_from_user(ptr, buf, uchunk); kunmap(page); @@ -868,8 +868,8 @@ static int kimage_load_crash_segment(str ptr = kmap(page); ptr += maddr & ~PAGE_MASK; mchunk = min_t(size_t, mbytes, - (size_t)(PAGE_SIZE - (maddr & ~PAGE_MASK))); - uchunk = min_t(size_t, ubytes, mchunk); + PAGE_SIZE - (maddr & ~PAGE_MASK)); + uchunk = min(ubytes, mchunk); if (mchunk > uchunk) { /* Zero the trailing part of the page */ memset(ptr + uchunk, 0, mchunk - uchunk); @@ -1539,7 +1539,7 @@ void vmcoreinfo_append_str(const char *f r = vsnprintf(buf, sizeof(buf), fmt, args); va_end(args); - r = min_t(size_t, r, vmcoreinfo_max_size - vmcoreinfo_size); + r = min(r, vmcoreinfo_max_size - vmcoreinfo_size); memcpy(&vmcoreinfo_data[vmcoreinfo_size], buf, r); _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are origin.patch drivers-usb-storage-realtek_crc-fix-build.patch inotify-invalid-mask-should-return-a-error-number-but-not-set-it.patch xen-tmem-enable-xen-tmem-shim-to-be-built-loaded-as-a-module.patch staging-zcache-enable-ramster-to-be-built-loaded-as-a-module.patch selftest-add-simple-test-for-soft-dirty-bit.patch kernel-smpc-cleanups.patch lib-string_helpers-introduce-generic-string_unescape.patch kernel-timerc-ove-some-non-timer-related-syscalls-to-kernel-sysc.patch epoll-trim-epitem-by-one-cache-line-on-x86_64.patch nilfs2-fix-issue-with-flush-kernel-thread-after-remount-in-ro-mode-because-of-drivers-internal-error-or-metadata-corruption.patch hfsplus-fix-warnings-in-fs-hfsplus-bfindc-in-function-hfs_find_1st_rec_by_cnid.patch usermodehelper-export-_exec-and-_setup-functions.patch kexec-use-min_t-to-simplify-logic.patch kernel-pidc-improve-flow-of-a-loop-inside-alloc_pidmap-fix.patch pid_namespacec-h-simplify-defines-fix.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