Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1674974

Re: [PATCH] scsi: qedi: Remove comparison of u16 idx with zero.

From "Martin K. Petersen" <martin.petersen@oracle.com>
Newsgroups linux.kernel
Subject Re: [PATCH] scsi: qedi: Remove comparison of u16 idx with zero.
Date 2017-06-26 19:50 +0200
Message-ID <tWGj8-5mb-7@gated-at.bofh.it> (permalink)
References <tVW6C-1BX-17@gated-at.bofh.it>
Organization Oracle Corporation

Show all headers | View raw


Christos,

> Variable idx is defined as u16 thus statement (idx < 0) is always
> false and should be removed.

Applied to 4.13/scsi-queue, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH] scsi: qedi: Remove comparison of u16 idx with zero. Christos Gkekas <chris.gekas@gmail.com> - 2017-06-24 18:30 +0200
  Re: [PATCH] scsi: qedi: Remove comparison of u16 idx with zero. "Rangankar, Manish" <Manish.Rangankar@cavium.com> - 2017-06-26 09:20 +0200
  Re: [PATCH] scsi: qedi: Remove comparison of u16 idx with zero. "Martin K. Petersen" <martin.petersen@oracle.com> - 2017-06-26 19:50 +0200

csiph-web