Messages in this thread | | | Subject | Re: [PATCH][next] scsi: target: fix unsigned comparision with less than zero | From | "Martin K. Petersen" <> | Date | Wed, 20 Mar 2019 20:33:42 -0400 |
| |
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
| |