]> err.no Git - linux-2.6/commit
ide-cd: fix test unsigned var < 0
authorRoel Kluin <12o3l@tiscali.nl>
Mon, 28 Apr 2008 21:44:43 +0000 (23:44 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 28 Apr 2008 21:44:43 +0000 (23:44 +0200)
commita83ead23449759b14aa1f194576ac442e84d3efb
treef25a948c332bd108b7ce7412c71ca357b33c9059
parent3ced5c49bd2d1f2c7f769e3a54385883de63a652
ide-cd: fix test unsigned var < 0

valid is unsigned and cannot be below 0.

Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Cc: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-cd.c