[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <yq17f3sr26n.fsf@oracle.com>
Date: Mon, 13 Mar 2017 23:02:08 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Tomas Winkler <tomas.winkler@...el.com>
Cc: James Bottomley <James.Bottomley@...senPartnership.com>,
"Martin K . Petersen" <martin.petersen@...cle.com>,
Vinayak Holikatti <vinholikatti@...il.com>,
Christoph Hellwig <hch@....de>,
Yaniv Gardi <ygardi@...eaurora.org>,
Subhash Jadavani <subhashj@...eaurora.org>,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [scsi] scsi: ufs: don't check unsigned type for a negative value
>>>>> "Tomas" == Tomas Winkler <tomas.winkler@...el.com> writes:
Tomas> Fix compilation warning drivers/scsi/ufs/ufshcd.c:7645:13:
Tomas> warning: comparison of unsigned expression < 0 is always false
Tomas> [-Wtype-limits] if ((value < UFS_PM_LVL_0) || (value >=
Tomas> UFS_PM_LVL_MAX))
Applied to 4.11/scsi-fixes, thanks!
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists