Content-Type: multipart/mixed; boundary="===============1386402522281146648==" MIME-Version: 1.0 From: Jens Axboe To: kbuild-all@lists.01.org Subject: Re: [kbuild] [block:for-5.13/drivers 46/61] drivers/md/bcache/nvm-pages.c:156:34: warning: Unsigned variable 'i' can't be negative so it is unnecessary to test it. [unsignedPositive] Date: Tue, 20 Apr 2021 07:40:43 -0600 Message-ID: <1a770d8f-a51a-5b68-7931-24f6e95e07d3@kernel.dk> In-Reply-To: <20210420081019.GB1959@kadam> List-Id: --===============1386402522281146648== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On 4/20/21 2:10 AM, Dan Carpenter wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block= .git for-5.13/drivers > head: b09729cbbbf28ecdc61f00335684f7566eb740ec > commit: 97c62b647fcabd86fe703f9869be7dd91e685f50 [46/61] bcache: initiali= zation of the buddy > compiler: microblaze-linux-gcc (GCC) 9.3.0 > = > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > = > cppcheck possible warnings: (new ones prefixed by >>, may not real proble= ms) > = >>> drivers/md/bcache/nvm-pages.c:156:34: warning: Unsigned variable 'i' ca= n't be negative so it is unnecessary to test it. [unsignedPositive] > for (i =3D BCH_MAX_ORDER - 1; i >=3D 0 ; i--) { Coly, how could this ever have worked? I'm staring to get less and less impressed with this nvm changeset, it seems broken in various ways. Might not be a bad idea to pull it from the next queue and give it some more time to turn into something that is acceptable. -- = Jens Axboe --===============1386402522281146648==--