summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorColin Ian King2019-03-20 17:37:09 +0100
committerMartin K. Petersen2019-03-21 01:33:06 +0100
commitee26724af6c71a9db786c5809395b4853edd4d54 (patch)
tree74b430776e0e9c61150fa98358e68f2b0a6a7eab /README
parentscsi: ufs-mediatek: Avoid using ret uninitialized in ufs_mtk_setup_clocks (diff)
downloadkernel-qcow2-linux-ee26724af6c71a9db786c5809395b4853edd4d54.tar.gz
kernel-qcow2-linux-ee26724af6c71a9db786c5809395b4853edd4d54.tar.xz
kernel-qcow2-linux-ee26724af6c71a9db786c5809395b4853edd4d54.zip
scsi: target: fix unsigned comparision with less than zero
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. Fixes: 0322913cab79 ("scsi: target: Add device product id and revision configfs attributes") Signed-off-by: Colin Ian King <colin.king@canonical.com> Reviewed-by: Mike Christie <mchristi@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions