diff options
author | Andy Shevchenko <andy.shevchenko@gmail.com> | 2015-11-26 19:22:50 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2015-11-30 18:12:19 +0100 |
commit | fa785f0a984d863a24d2f288b68757188a50261b (patch) | |
tree | f6ad2fb8a894e5a625a97e15b070db434f2b7ba6 /net | |
parent | scsi: rescan VPD attributes (diff) | |
download | linux-fa785f0a984d863a24d2f288b68757188a50261b.tar.xz linux-fa785f0a984d863a24d2f288b68757188a50261b.zip |
scsi_debug: check for bigger value first
Even for signed types we have to check for bigger positive value first.
Otherwise it will be never happened.
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Acked-by: Douglas Gilbert <dgilbert@interlog.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Ewan Milne <emilne@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions