[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq1sgvh5amx.fsf@oracle.com>
Date: Wed, 20 Mar 2019 20:33:42 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Colin King <colin.king@...onical.com>
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
linux-scsi@...r.kernel.org, target-devel@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] scsi: target: fix unsigned comparision with less than zero
Colin,
> Currently an error return is being assigned to an unsigned size_t
> varianle and then checked if the result is less than zero which will
> always be false. Fix this by making ret ssize_t rather than a size_t.
Applied to 5.2/scsi-queue, thanks!
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists