]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: make use of GUP_TEST_FILE macro
authorJoel Savitz <jsavitz@redhat.com>
Thu, 9 Jun 2022 20:32:17 +0000 (16:32 -0400)
committerShuah Khan <skhan@linuxfoundation.org>
Thu, 16 Jun 2022 23:05:50 +0000 (17:05 -0600)
commit00f8e63f50a3727999f7a5ef0d0dba8e17410f9c
tree5dc3682e16a5c9f07598b9cba07aa6e5d8b5edab
parent322d8bc56c31e46e0027d88dfcafe406d7f1666e
selftests: make use of GUP_TEST_FILE macro

Commit ebf1a0507980 ("selftests: clarify common error when running
gup_test") had most of its hunks dropped due to a conflict with another
patch accepted into Linux around the same time that implemented the same
behavior as a subset of other changes.

However, the remaining hunk defines the GUP_TEST_FILE macro without
making use of it. This patch makes use of the macro in the two relevant
places.

Furthermore, the above mentioned commit's log message erroneously describes
the changes that were dropped from the patch.

This patch corrects the record.

Fixes: ebf1a0507980 ("selftests: clarify common error when running gup_test")
Signed-off-by: Joel Savitz <jsavitz@redhat.com>
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Acked-by: Nico Pache <npache@redhat.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/vm/gup_test.c