Connor Hansen 3307d0d83b ide-cd: signedness warning fix again
One of the legit warnings 'make W=3 drivers/ide/ide-cd.c'
generates is:
drivers/ide/ide-cd.c: In function ide_cd_do_request
drivers/ide/ide-cd.c:828:2: warning: conversion to int from \
unsigned int may change the sign of the result
drivers/ide/ide-cd.c:833:2: warning: conversion to int from \
unsigned int may change the sign of the result

nsectors is declared int, should be unsigned int.

blk_rq_sectors() returns unsigned int, and ide_complete_rq
expects unsigned int as well.  Fixes both warnings.

Signed-off-by: Connor Hansen <cmdkhh@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-06-11 15:06:48 -07:00
..
2011-03-31 11:26:23 -03:00
2010-10-26 10:17:29 -07:00
2010-11-22 11:37:21 -08:00
2011-03-10 08:52:07 +01:00
2011-06-11 15:06:48 -07:00
2011-03-09 19:54:27 +01:00
2009-09-01 17:52:57 -07:00
2011-03-10 08:52:07 +01:00
2011-03-31 11:26:23 -03:00
2010-01-19 11:30:09 -08:00
2011-03-17 14:05:34 +01:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00