summaryrefslogtreecommitdiffstats
path: root/lib/test-kstrtox.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andy.shevchenko@gmail.com>2015-11-26 20:22:50 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2015-11-30 12:12:19 -0500
commitfa785f0a984d863a24d2f288b68757188a50261b (patch)
treef6ad2fb8a894e5a625a97e15b070db434f2b7ba6 /lib/test-kstrtox.c
parent09e2b0b14690fb13ccfc04af49f156df3e25b152 (diff)
downloadop-kernel-dev-fa785f0a984d863a24d2f288b68757188a50261b.zip
op-kernel-dev-fa785f0a984d863a24d2f288b68757188a50261b.tar.gz
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 'lib/test-kstrtox.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud