Content-Type: multipart/mixed; boundary="===============8182975434686113527==" MIME-Version: 1.0 From: Goldwyn Rodrigues To: kbuild-all@lists.01.org Subject: Re: [PATCH 03/15] iomap: Allow filesystem to call iomap_dio_complete without i_rwsem Date: Tue, 22 Sep 2020 09:16:49 -0500 Message-ID: <20200922141649.lgu46wzn2yjdcgcp@fiona> In-Reply-To: <20200922092437.GE4282@kadam> List-Id: --===============8182975434686113527== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Dan, On 12:24 22/09, Dan Carpenter wrote: > Hi Goldwyn, > = > url: https://github.com/0day-ci/linux/commits/Goldwyn-Rodrigues/BTRFS-= DIO-inode-locking-D_SYNC-fix/20200921-224649 > base: https://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git f= or-next > config: x86_64-randconfig-m001-20200920 (attached as .config) > compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 > = > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > Reported-by: Dan Carpenter > = > smatch warnings: > fs/iomap/direct-io.c:582 __iomap_dio_rw() warn: passing zero to 'ERR_PTR' This looks like a false warning. The code goes to the out_free_dio only if ret < 0. -- = Goldwyn --===============8182975434686113527==--