On Thu, Mar 24, 2022 at 6:14 PM Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote: > > From: Muhammad Usama Anjum <usama.anjum@xxxxxxxxxxxxx> > Subject: selftests: vm: remove dependecy from internal kernel macros What what what? > --- a/tools/testing/selftests/vm/userfaultfd.c~selftests-vm-remove-dependecy-from-internal-kernel-macros > +++ a/tools/testing/selftests/vm/userfaultfd.c > @@ -122,6 +122,9 @@ struct uffd_stats { > #define swap(a, b) \ > do { typeof(a) __tmp = (a); (a) = (b); (b) = __tmp; } while (0) > > +#define swap(a, b) \ > + do { typeof(a) __tmp = (a); (a) = (b); (b) = __tmp; } while (0) > + > const char *examples = > "# Run anonymous memory test on 100MiB region with 99999 bounces:\n" > "./userfaultfd anon 100 99999\n\n" Read that patch one more time. This was already merged in commit 681696862bc1 ("selftests: vm: remove dependecy from internal kernel macros"), just how many of those 'swap()' macros do you think we need? Your patch managment logic seems to have failed the "was this already applied" thing. This smells like another "it applied with some context noise that I just ignored" thing. Please please PLEASE use "-F0" to apply patches, and if you have context that causes it to not apply cleanly, double-check what is up. (And if you are not git tool based, the *default* for git is to not ignore context. But if you have scripts that do "-C1" or something to ignore context lines, please make them warn very very loudly) Linus