selftests-mm-fix-warning-comparing-pointer-to-0.patch removed from -mm tree
The quilt patch titled
Subject: selftests/mm: fix WARNING comparing pointer to 0
has been removed from the -mm tree. Its filename was
selftests-mm-fix-warning-comparing-pointer-to-0.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Anh Tuan Phan <[email protected]>
Subject: selftests/mm: fix WARNING comparing pointer to 0
Date: Thu, 17 Aug 2023 23:00:33 +0700
Remove comparing pointer to 0 to avoid this warning from coccinelle:
./tools/testing/selftests/mm/map_populate.c:80:16-17: WARNING comparing pointer to 0, suggest !E ./tools/testing/selftests/mm/map_populate.c:80:16-17: WARNING comparing pointer to 0
---
tools/testing/selftests/mm/map_populate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/mm/map_populate.c renamed from tools/testing/selftests/mm/map_populate.c~selftests-mm-fix-warning-comparing-pointer-to-0 +1 -1
@@ -77,7 +77,7 @@ int main(int argc, char **argv)unsigned long *smap; ftmp =tmpfile (); -BUG_ON (ftmp ==0 ,"tmpfile()" ); +BUG_ON (!ftmp,"tmpfile()" ); ret =ftruncate (fileno (ftmp),MMAP_SZ );BUG_ON (ret,"ftruncate()" );
_
Patches currently in -mm which might be from [email protected] are