Received: from eggs.gnu.org ([2001:4830:134:3::10]:41091) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cQsqi-0000DS-6Q for qemu-devel@nongnu.org; Tue, 10 Jan 2017 04:36:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cQsqe-000319-DC for qemu-devel@nongnu.org; Tue, 10 Jan 2017 04:36:11 -0500 Received: from mx1.redhat.com ([209.132.183.28]:43892) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cQsqe-00030q-7H for qemu-devel@nongnu.org; Tue, 10 Jan 2017 04:36:08 -0500 References: <20161222152300.32395-1-pbonzini@redhat.com> <20161222152300.32395-22-pbonzini@redhat.com> From: Paolo Bonzini Message-ID: Date: Tue, 10 Jan 2017 10:36:05 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PULL 21/25] scsi-disk: fix VERIFY for scsi-block List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: QEMU Developers On 09/01/2017 20:42, Peter Maydell wrote: >> + case VERIFY_10: >> + case VERIFY_12: >> + case VERIFY_16: >> + /* We get here only for BYTCHK =3D=3D 0x01 and only for scsi-= block. >> + * As far as DMA is concerned, we can treat it the same as a = write; >> + * scsi_block_do_sgio will send VERIFY commands. >> + */ >> if (r->req.cmd.buf[1] & 0xe0) { >> goto illegal_request; >> } > Coverity now complains about the fallthrough into the case statements > added here. I assume from the patch that the fallthrough is deliberate, > in which case a /* fall through */ comment would assist future > readers... Indeed---I thought I had waived that already in the scan dashboard. Paolo