]> git.baikalelectronics.ru Git - kernel.git/commit
cciss: fix compile issue
authorJens Axboe <jaxboe@fusionio.com>
Fri, 6 May 2011 14:27:00 +0000 (08:27 -0600)
committerJens Axboe <jaxboe@fusionio.com>
Fri, 6 May 2011 14:27:00 +0000 (08:27 -0600)
commite53c5faf6962e4fb2f83a7972ceff6fbdb34c0df
tree07f6c65a492ca04c67967142a0eb176e20bbf77f
parent5f512a3c80f048ee3fb07f6407a5ac216aecc6fe
cciss: fix compile issue

drivers/block/cciss.c: In function ‘cciss_send_reset’:
drivers/block/cciss.c:2515:2: error: implicit declaration of function ‘fill_cmd’
drivers/block/cciss.c: At top level:
drivers/block/cciss.c:2531:12: error: conflicting types for ‘fill_cmd’
drivers/block/cciss.c:2534:1: note: an argument type that has a default promotion can’t match an empty parameter name list declaration
drivers/block/cciss.c:2515:18: note: previous implicit declaration of ‘fill_cmd’ was here
make[1]: *** [drivers/block/cciss.o] Error 1
make: *** [drivers/block/cciss.o] Error 2

Move fill_cmd() to above where it is first used.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
drivers/block/cciss.c