[dm-devel] [bug report] dm flakey: clone pages on write bio before corrupting them

2023-06-15 Thread Dan Carpenter
Hello Mikulas Patocka, The patch 90ed93c305a0: "dm flakey: clone pages on write bio before corrupting them" from May 1, 2023, leads to the following Smatch static checker warning: drivers/md/dm.c:1157 clone_endio() warn: passing freed memory 'ti' drivers/md/dm.c 1105 static v

Re: [dm-devel] [bug report] dm flakey: clone pages on write bio before corrupting them

2023-06-14 Thread Mikulas Patocka
Hi I don't get it what the problem is. This seems like a false positive. On Wed, 14 Jun 2023, Dan Carpenter wrote: > Hello Mikulas Patocka, > > The patch 90ed93c305a0: "dm flakey: clone pages on write bio before > corrupting them" from May 1, 2023, leads to the following Smatch > static check